RE: help in find and replacing a string in a number of files

2004-04-02 Thread senthil prabu
Hi, I want to open all (.txt,.html,.js files) files in a particular directory and replace a text in all that files. What I done so far was a script to replace text in all files in the current directory. What I want was, When I run the script,it should ask for the path of a particular

RE: help in find and replacing a string in a number of files

2004-04-02 Thread Charles K. Clarkson
senthil prabu [EMAIL PROTECTED] wrote: [Please post replies to the list and do not top post] : : Charles K. Clarkson [EMAIL PROTECTED] wrote: : : : : Read the file 'perlrun' included in your perl : : distribution. The section under the -i option gives : : examples of how to do this. : :

RE: help in find and replacing a string in a number of files

2004-04-02 Thread Jayakumar Rajagopal
-Original Message- From: senthil prabu [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 12:55 AM To: Charles K. Clarkson; [EMAIL PROTECTED] Subject: RE: help in find and replacing a string in a number of files Hi, I want to open all (.txt,.html,.js files) files in a particular

RE: help in find and replacing a string in a number of files

2004-04-01 Thread Charles K. Clarkson
prabu [EMAIL PROTECTED] wrote: : : i am new to perl.I am in a problem,So please help me to : get a solution : I want to change texts in 172 files available at a directory : /pages(there are files also in a sub-directory),they all are : text files. : There are also some text