This command runs fine:$ sed  -e '/foo/{g; d}' myfile   But this one has an error:$ sed  -e '/foo/{g; a bar}' myfilesed: -e expression #1, char 0: unmatched `{'What's wrong with it?
What's wrong with this sed command?
sed