Re: Command line Syntax

2003-12-01 Thread drieux
On Dec 1, 2003, at 3:41 AM, Manish Uskaikar wrote: I want to do a simple search replace on a unix command prompt. What i require is a syntax to do is? echo "I am Manish"| output I am Jeff. jeff, I am drieux. What I would recommend is something old school, in which you go with something like c

Re: Command line Syntax

2003-12-01 Thread James Edward Gray II
On Dec 1, 2003, at 8:06 AM, Ramprasad A Padmanabhan wrote: There must be a better way but what comes to my mind is echo "I am Manish" | perl -e 'while(<>){ s/Manish/Jeff/g ; print "$_"}' echo "I am Manish" | perl -pe 's/Manish/Jeff/g' James -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Command line Syntax

2003-12-01 Thread Ramprasad A Padmanabhan
Manish Uskaikar wrote: Hi, I want to do a simple search replace on a unix command prompt. What i require is a syntax to do is? echo "I am Manish"| output I am Jeff. Please help. Regards Manish U -- The information contained in this message is confidential and prop

Command line Syntax

2003-12-01 Thread Manish Uskaikar
Hi, I want to do a simple search replace on a unix command prompt. What i require is a syntax to do is? echo "I am Manish"| output I am Jeff. Please help. Regards Manish U -- The information contained in this message is confidential and proprietary to KnowledgeW