[CentOS] help!

John Doe jdmls at yahoo.com
Wed Mar 24 11:15:44 UTC 2010


From: John Doe <jdmls at yahoo.com>
> cat *.csv | while read 

Oops, add LINE after the read

IFS=,
cat *.csv | while read LINE
  do
    set $LINE
    USER=$1
    TIME=$2
    WEEK=`date +"%V"`
    ...
  done

JD


      



More information about the CentOS mailing list