Re: PERL one-liner not working within a shell script

2001-11-14 Thread Peter Scott
At 04:58 PM 11/14/01 -0500, Thomas Lewis wrote: >Hello all. I have a weird problem. When I run this PERL one-liner by >hand it prints everything within the appropriate range... > >perl -ne 'print if /NTHOST\) Total/ .. /ANR0403I/' >/tmp/TIVOLI.OUT-activity-report > >This prints up the summary

PERL one-liner not working within a shell script

2001-11-14 Thread Thomas Lewis
Hello all. I have a weird problem. When I run this PERL one-liner by hand it prints everything within the appropriate range... perl -ne 'print if /NTHOST\) Total/ .. /ANR0403I/' /tmp/TIVOLI.OUT-activity-report This prints up the summary of a Tivoli backup for a Windows client pruned from the