[Nottingham] Stripping lines out of a text file

Camilo Mesias camilo at mesias.co.uk
Thu Mar 13 16:16:21 GMT 2008


egrep '^Size|^EDM|^Material|^Date|^Client' file.dat > new.dat

(not sure if your quotes are in the source file, if so put them into
the egrep expression.)

-Cam



More information about the Nottingham mailing list