You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
210 B

#!/usr/env/bin bash
cp ../05-search_text/*txt .
for TEXT in *txt
do
sed -i"" "s/Virgilio/PLACEHOLDER/g" $TEXT
sed -i"" "s/Beatrice/Virgilio/g" $TEXT
sed -i"" "s/PLACEHOLDER/Beatrice/g" $TEXT
done