Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Extracting text from a line

by suhailck (Friar)
on Jul 12, 2010 at 05:09 UTC ( [id://848923]=note: print w/replies, xml ) Need Help??


in reply to Extracting text from a line

In Unix/Linux,

perl -ne 'print $1 if /^UID:\s*(\w+)/' fileRead > fileWrite


~suhail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found