Search Results

Search: Posts Made By: spfc_dmt
14,497
Posted By spfc_dmt
Hi, the AWK version is: GNU Awk 3.1.5 ...
Hi, the AWK version is:

GNU Awk 3.1.5

But here's the thing, i tested with these same 3 PHP codes you were testing, and it worked. So the problem is probably with the PHP block im trying to...
Forum: What is on Your Mind? 03-07-2012
5,371
Posted By spfc_dmt
M68kfFSzms4
M68kfFSzms4
Forum: What is on Your Mind? 03-07-2012
24,023
Posted By spfc_dmt
Third option, doesnt really matter for me
Third option, doesnt really matter for me
Forum: What is on Your Mind? 03-07-2012
27,932
Posted By spfc_dmt
Mouse i guess :p
Mouse i guess :p
14,497
Posted By spfc_dmt
Wait, this last script you sent is the full thing...
Wait, this last script you sent is the full thing ? Or do i need to replace that part ( from "awk" till ' ) in the original script im using ?

I'll be trying it now tho, but please let me know.
...
14,497
Posted By spfc_dmt
I wrote "username" just to hide the real...
I wrote "username" just to hide the real username, im using the real username instead of it, dont worry.

Ok, heres the script i used:

#!/usr/bin/env ksh
cd /home/username/public_html/tests/...
14,497
Posted By spfc_dmt
Here it is: #!/usr/bin/env ksh cd...
Here it is:

#!/usr/bin/env ksh

cd /home/username/public_html/tests/
find . -name "*.php" | while read file
do
echo "munging: $file" # nice to see progress as it works
mv...
14,497
Posted By spfc_dmt
Hi. When i execute the script it keeps saying: ...
Hi. When i execute the script it keeps saying:

No such file or directory cd: /directory/path/where/you/want/to/start (i did replaced this with the full path of the directory i wanted it to start)...
14,497
Posted By spfc_dmt
Hi, first thanks a lot for the help agama,...
Hi, first thanks a lot for the help agama, appreciate it!

The php code i want to remove is a sequence of lines, it is not spread accross random lines. Its a piece of code that have around 25...
14,497
Posted By spfc_dmt
Script to find & replace a multiple lines string across multiple php files and subdirectories
Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ?

The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 02:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy