Replacing Awk with One-liner Perl

view full story

http://www.unix.com – can someone help me translate the following command, from: Code: /usr/bin/awk "/^$TOFDAYM  $TOFDAYD /,0" $LOGFILE to something like Code: perl -e ..... basically, i want to use perl to do awk functions within a shell script. i want to do the above awk, using perl. any suggestions? (HowTos)