> I would like too delete the 2nd, 3rd, 4, and 5 lines of a file.
> how can i do ?

Try this at a shell prompt:

    perl -ni.bak -e '$. =~ /[2-5]/ or print' FILENAME



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

Reply via email to