Created
October 1, 2012 11:50
-
-
Save finnjohnsen/3811162 to your computer and use it in GitHub Desktop.
read csv file in shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LINES=0 | |
while read line | |
do | |
$(echo $line | cut -d\; -f3 >> '/tmp/bash.txt') | |
let LINES=LINES+1 | |
done < "prior_notifications.csv" | |
echo LINES $LINES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment