Hi,
I’m not sure what was wrong with the assignment. I was trying:
$ sed ‘s/\bsoftware\b//gI’ BSD.txt > BSD_DELETE.txt
I added the \b option (whole word) because the note.
After the checking, i tried without the \b option (attached image)
Hi,
I’m not sure what was wrong with the assignment. I was trying:
$ sed ‘s/\bsoftware\b//gI’ BSD.txt > BSD_DELETE.txt
I added the \b option (whole word) because the note.
After the checking, i tried without the \b option (attached image)
hey guys, follow this
sudo sed -i ‘s/String/Software/g’ /home/BSD.txt
(old text/new text)
Hi,
so this is where we’re going wrong:
in the task one it says delete “all lines” containing the word software, but we’re trying to delete just the word, so try this:
sed ‘/software/d’ BSD.txt > BSD_DELETE.txt