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

Re^4: looking for speed!! large file search and extract

by kutsu (Priest)
on Jan 12, 2005 at 17:08 UTC ( [id://421665]=note: print w/replies, xml ) Need Help??


in reply to Re^3: looking for speed!! large file search and extract
in thread looking for speed!! large file search and extract

then change holli's command line statement from perl -n -e "print if /^abcde/ && /PARTNAME$/" c:\somefile.txt>k:\1\somefile.txt to perl -n -e "print if /^xyzdf/ && /xyzdf$/" c:\somefile.txt>k:\1\somefile.txt

If you don't understand this I really recommend you read perlre

Update: Somehow missed reading "line directly above", so ignore the rest...except for reading perlre that's always a good idea if you haven't

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found