I've been playing with sed and have something I need some help understanding.
I have some text that looks like this:
I would like to put a ; after the ].Code:[ ] Turn on rice cooker @ 16:30
At first I thought I could use:
But I ended up with:Code:sed -e 's/[ ]/[ ];/'
I tried:Code:[[ ];] Turn on rice cooker @ 16:30
and got an error message thatCode:sed -e 's//;/'
What is the best way to add the semi colon?Code:sed: -e expression #1, char 9: unterminated `s' command