Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!haven!udel!burdvax!gvlv2!kleonard From: kleonard@gvlv2.GVL.Unisys.COM (Ken Leonard) Newsgroups: comp.unix.questions Subject: Re: ^M 's in uploaded text files. Keywords: Help! Message-ID: <533@gvlv2.GVL.Unisys.COM> Date: 1 Feb 90 17:37:02 GMT References: <5622@udccvax1.acs.udel.EDU> Distribution: usa Organization: Unisys Defense Systems, NISD, Great Valley Laboratory Lines: 15 In article <5622@udccvax1.acs.udel.EDU> william@vax1.acs.udel.EDU (William H. York) writes: * I use my PC to write text files in word perfect then I save in dos format * to upload to our vax. When the file is cat'ed, the ^M's don't show, but * when vi'ing they become real annoying! Is there a file I can pipe it * through to remove the ^M's or perhaps a way vi can be used to remove them? you have (at least) two alternatives: --use the mode of your file-transfer program that understands that you ..are sending a "text" file: the *DOS and *NIX ends should take care of ..end-of-line sequences (_most_ XMODEM, YMODEM and KERMIT implementations ..do this) --use WP to save "without line breaks" or whatever the incantation is ..actually called ---------------- regardz, Ken