Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: multiple regex logical AND

by bigswifty00000 (Novice)
on Dec 12, 2006 at 20:22 UTC ( #589399=note: print w/ replies, xml ) Need Help??


in reply to Re: multiple regex logical AND
in thread multiple regex logical AND

corrected the missing " and tried this (this file has the 2 params set to what I'm searching for) perl -nle 'print $ARGV if !$seen{$ARGV}++ ;print if /^JRECOV="yes"/&&/^TEOJ="-w"/' ss1lab02 AND perl -n00 -le 'print $ARGV if !$seen{$ARGV}++ ;print if /^JRECOV="yes"/ms &&/^TEOJ="-w"/ms' ss1lab02 Neither is returning the lines (filename is returned)


Comment on Re^2: multiple regex logical AND
Replies are listed 'Best First'.
Re^3: multiple regex logical AND
by Joost (Canon) on Dec 12, 2006 at 20:24 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589399]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2015-07-29 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls