Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 scrutinizing the Monastery: (11)
As of 2016-09-26 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (483 votes). Check out past polls.