pluscarden
Programmer
Hi...
Can anyone help me with the following please...
I have a UNIX script that does something along the following lines...
#!/usr/bin/ksh
...
...
...
...
for i in client_file
do
awk -f myfile.awk -v client=$i report
done
...
...
...
-----------------------------------------------
My problem is that the 'for...done' command works fine when I run it on the command line (I get the expected results from the awk script) but it doesn't work properly when I run the UNIX script itself.
Any ideas?
Thanks in advance
Can anyone help me with the following please...
I have a UNIX script that does something along the following lines...
#!/usr/bin/ksh
...
...
...
...
for i in client_file
do
awk -f myfile.awk -v client=$i report
done
...
...
...
-----------------------------------------------
My problem is that the 'for...done' command works fine when I run it on the command line (I get the expected results from the awk script) but it doesn't work properly when I run the UNIX script itself.
Any ideas?
Thanks in advance