read cvs file in bash

a small but useful snippet to read a csv file from in a bash script

#!/bin/bash
while IFS=, read -r column1 column2 column3 # delimiter is ,
do
echo "$column1|$column2|$column3"
done < file.csv

Cheatsheet bash
Cheatsheet Python