Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
[LanX]: They should teach Scottish in continental schools after Brexit !!!
[marto]: I'm all for that
[choroba]: Trainspotting without OV is just a half of the movie!
LanX just single handedly stopped Brexit!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2018-02-19 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (262 votes). Check out past polls.

    Notices?