Re: help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: John Doe <jdmls@xxxxxxxxx>
> 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


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux