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  [EMAIL PROTECTED]
Philip S Tellis         [EMAIL PROTECTED]
Parul Mathur    [EMAIL PROTECTED]
Dr. Shahrukh K. R. Pavri        [EMAIL PROTECTED]

Devdas Bhagat

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

Reply via email to