I have a file,
abc.txt, like this on a Linux machine:
abc|yes|50c|1|pending bcd|no|100c|2|pending cde|yes|45c|3|pending def|no|44c|3|pending
I have to call a
script1.ksh with the 3rd field as a parameter, run all scripts in parallel and if any script failed it should update the last field from pending to FAILED/SUCCESS.
I have used while read line to extract the 3rd field into variable 'var1' from file and run the script and update 5TH FIELD FROM PENDING TO SUCCESS/FAILED. but all scripts are running serially not parallely
ksh script1.ksh 50c ksh script1.ksh 100c ksh script1.ksh 45c ksh script1.ksh 44c