/bin/ksh while read line do var1=`echo $line | cut -f1 -d" ... while IFS="|" read var1 var2 var3 REST do ...
www.unix.com