Hi, 

do

perl -pi -e 's/Old_value/new_value/g' Our_File

Bye

-----Original Message-----
From: William Black [mailto:[EMAIL PROTECTED]
Sent: sexta-feira, 7 de Janeiro de 2005 14:42
To: beginners@perl.org
Subject: re: Search And Replace


Hello All

I'm tryiing to search and replace in both perl and korn shell.

For Example:

X=G1234V00

I want to replace all occurences of 'V' with 'v' in both perl and korn shell

William Black



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to