Search Results

Search: Posts Made By: anthonyjstewart
20,758
Posted By ctsgnb
In your script, change grep -rl $1 * | xargs...
In your script, change
grep -rl $1 * | xargs sed -i 's/$1/$2/g'
with
grep -rl "$1" * | xargs sed -i "s/$1/$2/g"
and try to rerun the script

If you already have replaced all POP by MOM, you...
Showing results 1 to 1 of 1

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