Search (and Replace) on multiple files [message #76643] |
Mon, 21 July 2008 17:38  |
Eclipse User |
|
|
|
Hi,
I inherited a website (~ 40 files) that used registered globals ...
according to PHP, registered globals should be avoided because they are
a security risk.
I looked for a way to search and replace across multiple files in this
project... and did not find one. Eventually, I went out to the OS
(Ubuntu linux) and got it done with grep and sed. Is there a way to do
this from within eclipse?
Thanks
R
|
|
|
Re: Search (and Replace) on multiple files [message #76707 is a reply to message #76643] |
Mon, 21 July 2008 21:05   |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
Select the project or projects you want to massage and hit CTRL-H to do
global multi-file find & replace.
Richard Geddes wrote:
> Hi,
>
> I inherited a website (~ 40 files) that used registered globals ...
> according to PHP, registered globals should be avoided because they are
> a security risk.
>
> I looked for a way to search and replace across multiple files in this
> project... and did not find one. Eventually, I went out to the OS
> (Ubuntu linux) and got it done with grep and sed. Is there a way to do
> this from within eclipse?
>
> Thanks
> R
--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
|
|
|
Re: Search (and Replace) on multiple files [message #76770 is a reply to message #76707] |
Wed, 23 July 2008 02:45  |
Eclipse User |
|
|
|
Thanks... that's a handy tip.
Nick Boldt wrote:
> Select the project or projects you want to massage and hit CTRL-H to do
> global multi-file find & replace.
>
> Richard Geddes wrote:
>> Hi,
>>
>> I inherited a website (~ 40 files) that used registered globals ...
>> according to PHP, registered globals should be avoided because they
>> are a security risk.
>>
>> I looked for a way to search and replace across multiple files in this
>> project... and did not find one. Eventually, I went out to the OS
>> (Ubuntu linux) and got it done with grep and sed. Is there a way to
>> do this from within eclipse?
>>
>> Thanks
>> R
>
|
|
|
Powered by
FUDForum. Page generated in 0.02902 seconds