On Thu, 11 Dec 2003, Devdas Bhagat wrote:
> On 10/12/03 18:00 +0530, Dr. Sharukh K. R. Pavri. wrote:
> > I have a text file in the format
> >
> > Full name [EMAIL PROTECTED]
> perl -e 'while(<>) { @names = split /\s+/; foreach (@names) { print "$_ " if !
> /\@/)}; print "\n" } ' < file.
>
> Devdas Bhagat
That gives
----------------
syntax error at -e line 1, near "/\@/)"
Execution of -e aborted due to compilation errors.
------------------
Sharukh.
--
Dr. Sharukh K. R. Pavri Homeopath and Linuxer.
Mumbai, India. http://www.pavri.net/
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers