Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2016-12-06 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.