[net.unix-wizard] answer to sed and appending

lsk (02/14/83)

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