Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site uwmacc.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!mit-eddie!think!harvard!seismo!uwvax!uwmacc!jwp
From: jwp@uwmacc.UUCP (Jeffrey W Percival)
Newsgroups: net.unix
Subject: sed question
Message-ID: <1492@uwmacc.UUCP>
Date: Wed, 25-Sep-85 18:23:59 EDT
Article-I.D.: uwmacc.1492
Posted: Wed Sep 25 18:23:59 1985
Date-Received: Sun, 29-Sep-85 06:28:07 EDT
Distribution: net
Organization: UWisconsin-Madison Academic Comp Center
Lines: 10

sed(1) allows you to give the script on the command line like this:

	sed -e 'script' file1 > file2

Some of the sed commands, like a\ and i\ seem to need additional
lines of input.  I know that if I use the "-f sedfile" option I
can stash the commands in a file, but is there a way I can use
"append" and "insert" with the -e option?
-- 
	Jeff Percival ...!uwvax!uwmacc!jwp