On Tue, 16 Dec 2003, Devdas Bhagat wrote:
> On 15/12/03 22:59 +0530, Dr. Sharukh K. R. Pavri. wrote:
> > 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.
> The whole command is a single line. I tested it before posting.
>
> Devdas Bhagat
I did use it as a single line. Sorry, still does not work :(
Sharukh
>
> --
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
--
Dr. Sharukh K. R. Pavri Homeopath and Linuxer.
Mumbai, India. http://www.pavri.net/
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers