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 PROTECTED]
>
> 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/
--
Warm Regards
~~~~~~~~~~~~~~~~~~~~~~~
Vinayakam Murugan
Viruses getting you down?
Get your virus protected mailbox at http://www.tassm.com
It's not just about natural talent â it's about perseverance, about putting
building blocks in place, about focusing on the processes not the results.
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers