🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.unix-wizard
1 messages
1 total messages Started by utzoodecvaxharpoihnp4ihldtll1otu... Mon, 14 Feb 1983 15:35
answer to sed and appending
#5
Author: utzoodecvaxharpoihnp4ihldtll1otu...
Date: Mon, 14 Feb 1983 15:35
18 lines
592 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads