From: utzoo!decvax!harpo!ihnp4!ihldt!ll1!otuxa!lsk
Newsgroups: net.unix-wizard
Title: answer to sed and appending
Article-I.D.: otuxa.201
Posted: Mon Feb 14 15:35:28 1983
Received: Wed Feb 16 07:47:41 1983

Seems sed is a bit picky.
For one thing, you must use single quotes not double quotes;
secondly, it seems to ignore
sed '0a\
text'

but loves,

sed '1i\
text'

Such is UNIX.

Larry S. Kaufman
 Western Electric
 Network Software Center
 Lisle
 Illinois