On Wed, 17 Dec 2003, Devdas Bhagat wrote:
> On 16/12/03 23:33 +0530, Dr. Sharukh K. R. Pavri. wrote:
> <snip>
> <reformatted code>
> perl -e 'while(<>) {
> @names = split /\s+/;
> foreach (@names) {
> print "$_ " if ! (/\@/);
> }
> print "\n";
> } ' < file.
>
> <snip>
> > I did use it as a single line. Sorry, still does not work :(
> Sorry, I missed the opening brace after the if.
Thanks, that worked.
Sharukh.
--
Dr. Sharukh K. R. Pavri Homeopath and Linuxer.
Mumbai, India. http://www.pavri.net/
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers