Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Save all but line 32!

by jmcnamara (Monsignor)
on Sep 18, 2002 at 17:00 UTC ( #198914=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        perl -i -pe '$_=$}if$.==32' file
  2. or download this
        perl -i -pe '$_=$}if$.==32;$.=$[if+eof' file1 file2 ...
  3. or download this
        awk 'FNR != 32' file1 file2 ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://198914]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-11-26 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?