the above is a (bash)shell script program.....the above code executes $run on the shell only once.....i want $run to be executed after every 2 sec.....how do i set this timer........and i want this loop to be infinite...but then how can i exit out of it on the prompt. you guys have been very kind to me so far....just one last favor.. vineetperl -e 'while (my $var= <STDIN>) { $run ="awk -f work_5messages.awk /home/gprs/newvanu/Hull-r54283_Run/l +ogs/$var >logfile.log" ;`$run`; }'
In reply to looping prob by vineet2004
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |