Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Simultaneous one by one splitting and processing of an uneven file based on a pattern

by zing (Beadle)
on Sep 10, 2012 at 21:55 UTC ( #992862=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    awk -vRS="Processing" '{ print $0 > "file"t++".out" }'  file.txt
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992862]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-08-18 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (298 votes). Check out past polls.

    Notices?