Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!psueea!parsely!bucket!leonard From: leonard@bucket.UUCP (Leonard Erickson) Newsgroups: comp.sys.ibm.pc Subject: Re: append " >> " is not working, why? Message-ID: <1675@bucket.UUCP> Date: 16 Sep 89 06:51:54 GMT References: <4734@shlump.nac.dec.com> <2553@pur-phy> Organization: Rick's Home-Grown UNIX; Portland, OR. Lines: 20 Text files have a ^Z at the end as an end-of-file marker. This is a hangover from CP/M. Most editors assume that a ^Z is the end of the file. Thus your problem with the editor not seeing the second file *and* also truncating the file. Type file2 >>file1 will *not do what you want. the *proper command is: copy file1+file2 file3 /a this will copy file 1 *and* file 2 to a new file (file3). The /a indicates that these are ascii (as opposed to binary) files. So the ^z will get stripped of of the end of the first file. -- Leonard Erickson ...!tektronix!reed!percival!bucket!leonard CIS: [70465,203] "I'm all in favor of keeping dangerous weapons out of the hands of fools. Let's start with typewriters." -- Solomon Short