My system generates a flat file with 7 arguments :Field1,Field2,Field3,Field4,Field5,Field6,Field7Field1,Field2,Field3,Field4,Field5,Field6,Field7Field1,Field2,Field3,Field4,Field5,Field6,Field7Field1,Field2,Field3,Field4,Field5,Field6,Field7Field1,Field2,Field3,Field4,Field5,Field6,Field7Each of these fields is an argument to a script.I wish to run the script iteratively (for each line of my file).This is what I am doing, but it skips the first line of my file.e.g.name of my file = v_jaylocation = /vjay/projectlocation of script = /script/vjayscript.kshcat /vjay/project/v_jay | while read in; do  while IFS=, read aa bb cc dd ee ff gg ; do    /script/vjayscript.ksh $aa $bb $cc $dd $ee $$ff $gg;  donedone
Parsing a delimited in ksh as command argument
shell script;scripting;ksh;csv;arguments
Try this (i.e. get rid of the seemingly pointless while read in):cat /vjay/project/v_jay |  while IFS=, read aa bb cc dd ee ff gg ; do      /script/vjayscript.ksh $aa $bb $cc $dd $ee $ff $gg  done