On Wed, 10 Dec 2003, Sharukh K. R. spake thusly:

> I have a text file in the format 
> 
> Full name     [EMAIL PROTECTED]
> 
> It's a pretty long list of names and I want to remove all the email
> addresses from the file. I basically want to be left with a file
> with only the names of the persons, one on each line.

cat filename.txt | cut -d ' ' -f 1,2 > newfile.txt

:)


-- 
quasi

Utopia Unlimited!



-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to