Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Data extraction from text file

by Anonymous Monk
on Aug 09, 2011 at 20:55 UTC ( #919551=note: print w/ replies, xml ) Need Help??


in reply to Data extraction from text file

You can do this with Perl or simply with "awk." There are two parts to this problem. The first is recognizing each type of input-line and grabbing the piece that you want from each, storing it in memory. The second is recognizing when the line that you now have (don't forget end-of-file) means that you now have enough information to generate an output-line. "Awk" was built expressly for this, and "perl," long long ago, derived from "awk."


Comment on Re: Data extraction from text file

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2015-01-31 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (257 votes), past polls