Thanks so much, folks for the help!
@Don Cragun:
Quote:
sed '/^Something: Object[[:space:]]*$/,/^[[:space:]]*$/d' file
is conceptually what I had in mind; but didn't have a way of cobbling it all together. I'll take it out for a spin in just a shake
Yes, there will always be a blank line following the block to remove; so the end marker is valid. I just checked the EOF, and there are a couple of empty lines there, too; so all should be OK...
Apart from enormous skill, what does one look to for this type of syntax? It would be immensely helpful if there was an applet on a site somewhere to pop out the commands; but I guess the world isn't finished yet...
Thanks again, everyone, for the help!
---------- Post updated at 04:16 PM ---------- Previous update was at 03:45 PM ----------
Yep, worked like a charm.
The only modification I added was the -i after sed --
Cheers!