Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Prepend Evey Line in a File

by Enlil (Parson)
on Feb 03, 2006 at 10:03 UTC ( #527580=note: print w/replies, xml ) Need Help??


in reply to Prepend Evey Line in a File

one more way:
perl -pi.bak -e 's/^/PREFIX/' filename.csv

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-09-26 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (476 votes). Check out past polls.