oh yes, I'm sorry. You would have to do '{print $2}'. Anyways as proved later, this wouldn't work if the names contain spaces in them.
On Monday 15 December 2003 22:56, Dr. Sharukh K. R. Pavri. wrote:
On Thu, 11 Dec 2003, Vinayakam Murugan wrote:
how about
cat <textfile> | awk -F" " '{print $1}'
On Wednesday 10 December 2003 18:00, Dr. Sharukh K. R. Pavri. wrote:
I have a text file in the format
Full name email@ddress
That worked the other way around. I was left with the email addresses, which is the opposite of what I want.
Sharukh.
Dr. Sharukh K. R. Pavri Homeopath and Linuxer. Mumbai, India. http://www.pavri.net/