Hi i am a newbie in awk,
this is the first script that i try to run but i have made a mistake because i haven't output on my screen.
Please this is my little awk program :
#! /bin/ksh
ls -l | awk '$5 == "Aug" { sum = sum+$4 } END { print SUM}'
i run this script with this command
> ./pippo.ksh
Anyone can help me to find the error ?????
Walter
this is the first script that i try to run but i have made a mistake because i haven't output on my screen.
Please this is my little awk program :
#! /bin/ksh
ls -l | awk '$5 == "Aug" { sum = sum+$4 } END { print SUM}'
i run this script with this command
> ./pippo.ksh
Anyone can help me to find the error ?????
Walter