Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: how to redirect output in different files

by jwkrahn (Monsignor)
on Jun 14, 2013 at 06:46 UTC ( #1038904=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for %f in (*.txt) do @yourscript.pl %f 
    
  2. or download this
    perl -i -pe's/\s+/\n/g' *.txt
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-01-27 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (197 votes), past polls