Stephen Redding wrote:
> 
> Hi

Hello,

> I have a text file that i want to insert two lines to the top of.
> how do i do this?

perl -i~ -pe'$.==1 and s/^/new line one\nnew line two\n/' text_file


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to