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

Re^3: grep flip flop (range operator)

by frozenwithjoy (Priest)
on Sep 13, 2012 at 07:34 UTC ( #993395=note: print w/replies, xml ) Need Help??

in reply to Re^2: grep flip flop (range operator)
in thread grep flip flop (range operator)

To make things a bit more readable, you could use the match-once operator like this:
perl -le " print for grep ?? .. /Q/, @ARGV " a b c Q r s ___ a b c Q

Replies are listed 'Best First'.
Re^4: grep flip flop (range operator)
by Anonymous Monk on Sep 13, 2012 at 07:37 UTC


    $ perldoc -f ?? No documentation for perl function '??' found

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-10-22 09:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.