On 11/12/03 09:25 +0530, Parul.Mathur wrote:
Hi,
If the names and addresses in your text file are separated by one or more tabs, you can try this on the *nix command line:
cat <text-file-name> | expand | tr -s " " | cut -d ' ' -f1 > <another-text-file-name>
tr -s works fine for any whitespace other than IFS.
Try this input: Devdas Bhagat devdas@dvb.homelinux.org Philip S Tellis philip@ncst.ernet.in Parul Mathur parul.mathur@india.rsystems.com Dr. Shahrukh K. R. Pavri sparvi@vsnl.com
Devdas Bhagat