Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utcsri!utcs!romwa From: romwa@utcs.uucp Newsgroups: comp.unix.questions Subject: Re: Append file commands for Unix & ex/vi Message-ID: <1987Jan12.235127.12802@utcs.uucp> Date: Mon, 12-Jan-87 23:51:27 EST Article-I.D.: utcs.1987Jan12.235127.12802 Posted: Mon Jan 12 23:51:27 1987 Date-Received: Tue, 13-Jan-87 01:33:58 EST References: <2333@dalcs.UUCP> Organization: University of Toronto Computing Services, general purpose UNIX Lines: 15 Keywords: append command unix ex vi Checksum: 04463 The simplest way I know of to write a range of text out to the end of another file is: 1) Bring up last line mode (the colon). 2) Type "n,nw !cat >> filename" where "n,n" is the line range of text to be written. I believe this is a not-to-obvious feature of vi. Mark T. Dornfeld Royal Ontario Museum Toronto, Ontario utcs!rom!mark