Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
dpb
Posts:
6,677
Registered:
6/7/07
|
|
Re: how to remove specific lines from .dat file
Posted:
Dec 6, 2012 3:01 PM
|
|
On 12/6/2012 1:05 PM, dpb wrote: > On 12/6/2012 10:33 AM, ABCD wrote: >> Hi. I have a .dat file which is similar to the following: >> abcdef 123 11aa13 >> jwleieo 930 39kw02 >> abchyt 153 83je29 >> >> and I want to give an instruction in order to remove all the lines >> containing the 'abc' string, which in this particular case, corresponds >> to the first and the third line. >> How can I do this? Thank you for your help > > Two basic ways... > ...
> Caution--air code...salt to suit.
And, of course, the code for the two ways is reversed from where I mentioned the way... :)
--
|
|
|
Date
|
Subject
|
Author
|
|
12/6/12
|
|
ABCD
|
|
12/6/12
|
|
dpb
|
|
12/6/12
|
|
dpb
|
|
|