Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site teddy.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!talcott!panda!teddy!jpn From: jpn@teddy.UUCP Newsgroups: net.unix Subject: Re: sed question Message-ID: <1372@teddy.UUCP> Date: Tue, 1-Oct-85 15:26:47 EDT Article-I.D.: teddy.1372 Posted: Tue Oct 1 15:26:47 1985 Date-Received: Sat, 5-Oct-85 07:23:32 EDT References: <1492@uwmacc.UUCP> <308@bdaemon.UUCP> Reply-To: jpn@teddy.UUCP (John P. Nelson) Distribution: net Organization: GenRad, Inc., Concord, Mass. Lines: 20 >> 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. > >Enter your commands like > > $ sed -e ' > > one or more lines > > of script including > > appends and inserts' file1 > file2 > Or, if you are a csh user: % sed -e '\ one or more lines of script each terminated by a backslash \ note: no further prompts will be issued \ until a line without a backslash' file1 > file2 Brought to you by Super Global Mega Corp .com