I’ve tried several times the sed task and always returns failed. Look through community existence messages and I think my commands are correct. The error state the “following” was not deleted in BSD_DELETE.txt
cd /home
sudo -s
cp BSD.txt BSD_DELETE.txt
cp BSD.txt BSD_REPLACE.txt
sed -i 's/\bfollowing\b//gI' BSD_DELETE.txt
sed -i 's/\bor\b/for/gI' BSD_REPLACE.txt