Skip to content
Snippets Groups Projects
Commit 89a8d5e5 authored by Andy Yates's avatar Andy Yates
Browse files

Fixing after comments from Simon about sed

parent 770b1872
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ for var in "$dirs"; do
for file in $(grep -R --files-with-matches "$search" .); do
echo "Replacing date in $file"
sed -i '' -e "s/$search/$replacement/g" $file
sed -i '' "s/$search/$replacement/g" $file
done
cd $original_wd
......
......@@ -21,7 +21,7 @@ scan_and_replace() {
for file in $(grep -R --files-with-matches "$search" .); do
echo "Replacing email in $file"
sed -i "" -e "s/$search/$replacement/g" $file
sed -i -e "s/$search/$replacement/g" $file
done
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment