Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: One liner

by manav_gupta (Acolyte)
on Jun 02, 2009 at 15:24 UTC ( [id://767636]=note: print w/replies, xml ) Need Help??


in reply to Re: One liner
in thread One liner

Hmm... I did try that... but at least that particular version didn't work for me... Time to look at the paragraph mode.

Replies are listed 'Best First'.
Re^3: One liner
by ikegami (Patriarch) on Jun 02, 2009 at 15:28 UTC
    It's cause your blank lines aren't actually blank!
    $ perl -ple's/^\s+//' * | perl -ne'BEGIN { $/ = "" } print /^Total SE + ON.*?(\d+)/s' 39035

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found