while(<MYINPUTFILE>) { cat /mnt/scripts/lagtime/tmp/input.txt |awk '{printf "%1.5 +0s\t%0.60s\t%0.45s\t %0.45s\n", $1, $2, $3, $4}' | sh /mnt/scripts/la +gtime/calculate_lag.sh > /tmp/snapvault_status.out.out; }
You're calling the awk command (or trying to... you forgot system) for every line in the input file (input.txt) without using that line anywhere in the command ... What was the idea?
In reply to Re: Script to manipulate data is not giving me any output
by almut
in thread Script to manipulate data is not giving me any output
by ebi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |