Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 romping around the Monastery: (8)
As of 2017-11-22 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (315 votes). Check out past polls.

    Notices?