Jon Baer wrote:
Nice even a MacPort for it ...
[MacBookPro:~]$ port search rpl
rpltextproc/rpl 1.4.0Rpl is a
Unix replacement utility
Handy stuff ... thanks.
- Jon
Rpl is nice...
I went ahead and got carried away with a php5 solution... I know it
co
Nice even a MacPort for it ...
[MacBookPro:~]$ port search rpl
rpltextproc/rpl 1.4.0Rpl is a
Unix replacement utility
Handy stuff ... thanks.
- Jon
On Jul 26, 2007, at 2:58 PM, csnyder wrote:
On 7/26/07, Jon Baer <[EMAIL PROTECTED]> wrote:
Very handy
I'm using a text editor, BBEdit on Mac OS X. It has a nice find
feature but as far as I can tell it's only applicable for local
searches on my hard drive. It doesn't look like you can use the find
feature on a remote ftp/sftp site.
-Aaron
On Jul 26, 2007, at 1:48 PM, Darryle steplight wr
On 7/26/07, Jon Baer <[EMAIL PROTECTED]> wrote:
Very handy might need to $1 it + save that command. Thanks Mark.
Combine that with a little sed and you would be able to do your full
find + replace in a single line.
I recommend rpl if you're a unix person...
http://www.laffeycomputer.com/rpl.
Very handy might need to $1 it + save that command. Thanks Mark.
Combine that with a little sed and you would be able to do your full
find + replace in a single line.
- Jon
On Jul 26, 2007, at 2:08 PM, Mark Armendariz wrote:
Jon Baer wrote:
Just fgrep for the filename ...
fgrep -Rn "fil
Hi Aaron,
Are you using any IDEs? This can be done using Eclipse's search feature. It
can execute a text search on your entire project directory and return the
file path in a tree branch format of all files containing your text search.
-Darryle
On 7/26/07, Aaron Fischer <[EMAIL PROTECTED]> wrote
Jon Baer wrote:
Just fgrep for the filename ...
fgrep -Rn "file.php" /path/to/docroot
- Jon
Jon's would return more references (including comment references and such)
Could also do this - specific to php includes
find -name '*.php' | xargs grep -E "(include|require)(_once)? 'file.php'"
Mar
Just fgrep for the filename ...
fgrep -Rn "file.php" /path/to/docroot
- Jon
On Jul 26, 2007, at 1:41 PM, Aaron Fischer wrote:
I have an include file that I do not want to use anymore. I want
to go through all the files on my site and find every instance of
the code that calls that include
Aaron Fischer wrote:
I have an include file that I do not want to use anymore. I want to go
through all the files on my site and find every instance of the code
that calls that include file.
Any suggestions on how to do that?
Thanks,
-Aaron
Any multi-file find and replace tool will do the
The simple, straight-forward way would be to just do a search of all the
files that make up your site for the filename. You might hit some false
positives, but it shouldn't be anything unruly.
The alternative, coding, indirect way would be to have the include file
output something to the browser
10 matches
Mail list logo