This should take care of the spaces as well
cat <textfile> | rev | awk -F" " '{print $1}' | rev
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/