App...
-
... Anybody know of a free [and good] app for doing multiple find/replace's on multiple files? I can't seem to find any decent one but I'm probably not looking in teh right places. Regards, Brian Dela :-)
Using an "application" to do find and replace on multiple files sound like overkill to me. Lets say you're running Windows... 1.) Create a batch file along the lines of: [foreach.bat] @echo off for %%v in (%1) do %2 %%v [/foreach.bat] 2.) Install PERL. Create another batch file along the lines of: [replace.bat] perl -i.bk -pe"s/I want to replace this/with this/" %1 [/replace.bat] Assuming above files are in your PATH you can just do: C:\>foreach *.jsp replace.bat from anywhere. You can always just edit "replace.bat" to suit your needs at any particular point in time and you have access to PERL powerful regex-functionality. Rgds, Soren
-
Using an "application" to do find and replace on multiple files sound like overkill to me. Lets say you're running Windows... 1.) Create a batch file along the lines of: [foreach.bat] @echo off for %%v in (%1) do %2 %%v [/foreach.bat] 2.) Install PERL. Create another batch file along the lines of: [replace.bat] perl -i.bk -pe"s/I want to replace this/with this/" %1 [/replace.bat] Assuming above files are in your PATH you can just do: C:\>foreach *.jsp replace.bat from anywhere. You can always just edit "replace.bat" to suit your needs at any particular point in time and you have access to PERL powerful regex-functionality. Rgds, Soren
Ok... an app to do it is overkill but installing perl isn't??? :wtf: :confused: Regards, Brian Dela :-)
-
UltraEdit, VS.NET... ORACLE One Real A$#h%le Called Lary Ellison
You need to open the files with both of these though. Regards, Brian Dela :-)
-
Using an "application" to do find and replace on multiple files sound like overkill to me. Lets say you're running Windows... 1.) Create a batch file along the lines of: [foreach.bat] @echo off for %%v in (%1) do %2 %%v [/foreach.bat] 2.) Install PERL. Create another batch file along the lines of: [replace.bat] perl -i.bk -pe"s/I want to replace this/with this/" %1 [/replace.bat] Assuming above files are in your PATH you can just do: C:\>foreach *.jsp replace.bat from anywhere. You can always just edit "replace.bat" to suit your needs at any particular point in time and you have access to PERL powerful regex-functionality. Rgds, Soren
sorenb wrote: Using an "application" to do find and replace on multiple files sound like overkill to me. Installing perl just to do it sounds like overkill to me. - Anders Money talks, but all mine ever says is "Goodbye!"
-
You need to open the files with both of these though. Regards, Brian Dela :-)
-
You need to open the files with both of these though. Regards, Brian Dela :-)
Not with VS.NET :P - Anders Money talks, but all mine ever says is "Goodbye!"
-
sorenb wrote: Using an "application" to do find and replace on multiple files sound like overkill to me. Installing perl just to do it sounds like overkill to me. - Anders Money talks, but all mine ever says is "Goodbye!"
-
Not with VS.NET :P - Anders Money talks, but all mine ever says is "Goodbye!"
Yes.. Duh Brian. Thanks :-D Regards, Brian Dela :-)
-
??? UltraEdit has a Find/Replace-in-files option that doesn't require the files to be open...
When I am king, you will be first against the wall.
I haven't used UltraEdit in a while so I didn't know that. I never saw that feature when I was using it. Thanks for the info though. Regards, Brian Dela :-)
-
... Anybody know of a free [and good] app for doing multiple find/replace's on multiple files? I can't seem to find any decent one but I'm probably not looking in teh right places. Regards, Brian Dela :-)
-
... Anybody know of a free [and good] app for doing multiple find/replace's on multiple files? I can't seem to find any decent one but I'm probably not looking in teh right places. Regards, Brian Dela :-)
A friend swears by ReplaceEm.
-
Search and Replace 98[^]. :)
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma GandhiThanks. Exactly what I was looking for :-D Regards, Brian Dela :-)