Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Delete specific lines from txt file.

by MidLifeXis (Monsignor)
on Aug 07, 2012 at 12:38 UTC ( #985963=note: print w/ replies, xml ) Need Help??


in reply to Re: Delete specific lines from txt file.
in thread Delete specific lines from txt file.

This can be directed to a file.
Just don't redirect it to the original file name. The first thing the OS would do is to truncate the original file, leaving no data for your text file to work with.

--MidLifeXis

Comment on Re^2: Delete specific lines from txt file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-05-29 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?