in reply to Writing to files
All the above good advice applies, but one liners are cool:
perl -i -p -e "BEGIN{print 'A new line!\n';}" your files here
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: Writing to files
by chromatic (Archbishop) on Apr 10, 2000 at 21:01 UTC | |
RE: Re: Writing to files
by btrott (Parson) on Apr 10, 2000 at 20:42 UTC |
In Section
Seekers of Perl Wisdom