...
Code Block | ||
---|---|---|
| ||
sed -i.bak 's/coy/reindeer/' hey.txt cmp -s hey.txt hey.pristinetxt.txtbak && echo "sed did not work, your files are identical." sed did not work, your files are identical. |
...
Code Block | ||
---|---|---|
| ||
sed -i.bak 's/coycow/reindeer/' hey.txt cmp -s hey.txt hey.pristinetxt.txtbak && echo "sed did not work, your files are identical." |
...