|
It's working fine now. your output is what I expected. I got mistake when check output by echo command.
details expected output file I want is
tappman -c '#'mps.1 -l 1 stop
tappman -c '#'mps.1 -l 4 stop
so I used below command
awk '/SOFTBLOCK/ { print "tappman -c '#'mps.1 -l", NR, "stop" }' cicStatus > runApps
But it didn't work since command didn't accept ' ' covered #. Tried to use \ and "" to cover ', but it still not work.
Thanks for ur kind help.
Last edited by milo; 02-04-2007 at 11:49 PM..
|