Search Results

Search: Posts Made By: slothario
7,982
Posted By slothario
Actually, I just noticed that myself, but I still...
Actually, I just noticed that myself, but I still seem to be having problems. For some reason when I try to search recursively through the directory, it won't work for *.htm*, but it will for just *....
7,982
Posted By slothario
Vidyadhar85, your code didn't seem to work for...
Vidyadhar85, your code didn't seem to work for me. For one, it didn't look in any deeper directories (fixed with grep -lr) and also, the temp file is always blank, so it basically erases the contents...
7,982
Posted By slothario
Okay, this works great on my local machine...
Okay, this works great on my local machine (running linux). But after logging into the web server, I find the sed on that machine doesn't have the -i switch. What should I do?
7,982
Posted By slothario
I'm sorry, I still don't understand how you use...
I'm sorry, I still don't understand how you use that to replace "<title>" in all *.htm* files within a directory and its subdirectories.
7,982
Posted By slothario
I do have -i. What do you mean by "use only sed...
I do have -i. What do you mean by "use only sed command?"
7,982
Posted By slothario
Find and replace in all files using shell scripting
Hi all,

I'm looking to find and replace a string in all HTML files within a certain directory, including subdirectories. Normally, I would play with this a little to get it to work, but I can't...
Showing results 1 to 6 of 6

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