View Single Post
Old 09-16-2006, 05:19 PM  
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
Quote:
Originally Posted by boldy
I'm in a good mood today so i wrote this little perl script for you :
uploaded it and call it test.pl

then run it from the command shell:
(make sure you're into the public_html dir)


perl test.pl

Hey boldy, I gave it a shot, and it didn't seem to work. It listed every file on my server, but nothing was changed. I followed up a second time with a test - I created your test.pl, with the replacement text as follows:

Code:
my $lReplace = "testtesttest";
Then I ran the command: grep -Ri testtesttest * and the only file I found was the test.pl file.

Any ideas?
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote