home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!news.cs.indiana.edu!noose.ecn.purdue.edu!mentor.cc.purdue.edu!sage.cc.purdue.edu!davisre
- From: davisre@sage.cc.purdue.edu (Robert Davis)
- Subject: Re: multiple sub's with 'sed'
- Message-ID: <C1C7vK.7y6@mentor.cc.purdue.edu>
- Sender: news@mentor.cc.purdue.edu (USENET News)
- Organization: Purdue University Computing Center
- References: <1jrva6INNd3g@shelley.u.washington.edu> <C1BsCD.1sr@mentor.cc.purdue.edu> <1jsl5oINN4da@shelley.u.washington.edu>
- Date: Sun, 24 Jan 1993 02:50:08 GMT
- Lines: 23
-
- In article <1jsl5oINN4da@shelley.u.washington.edu> adrian@stein.u.washington.edu (Adrian Mariano) writes:
- >
- >I think Ultrix is just like everyone else. To clear things up, here's
- >the sed man page section on 'w'. This is from the Ultrix 4.2 manual,
- >but the Dynix manual is very similar:
- >
- > (2)w wfile
- > Write. Append the pattern space to wfile.
- >
- >The use of "append" is somewhat misleading. The actual behavior is to
- >overwrite the file that existed before the sed invocation, and then
- >append thereafter within the same sed program.
-
- Exactly. I thought you were saying that w always appended,
- even to a file that existed before sed was invoked. I guess I was
- vague as well.
-
-
- Rob
- --
- | Robert Davis davis@sonata.cc.purdue.edu
- | "Look up, Hannah. Look up." NeXT Mail accepted
- --
-