1

[Solved] Using awk withing a shell script

view story
linux-howto

http://www.unix.com – I am trying to use an awk command within a ksh script but it is not working - I am able to run from command line with no problem. It does not err out - it just does not produce a file with final count. Code: awk "{s+=$0} END {print s}" es.out > es.cnt Any help would be greatly appreciated. Thanks (HowTos)