In DOS:
> perl -n0 -e "push @b, $ARGV unless /<%(?:perl|init)>/; END{print \"@b\"}"
file1.html file2.html file3.html
In *nix (untested):
> perl -n0 -e 'push @b, $ARGV unless /<%(?:perl|init)>/; END{print "@b"}'
*.html
"Andrew Gaffney" <[EMAIL PROTECTED]> wrote in message That still
doesn't appear to do what I want. I believe it is showing me all
> files where *all* lines don't contain '<%perl>' or '<%init>'. Since not
*all*
> lines contain either one of those, all files still show in the list.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>