Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!mrsvr.UUCP!kohli@gemed.ge.com From: kohli@gemed (Mr. Bad Judgment) Newsgroups: comp.unix.questions Subject: Gadzookers! (was Re: ^M 's in uploaded text files.) Keywords: danger will robinson! Message-ID: <1986@mrsvr.UUCP> Date: 1 Feb 90 22:15:20 GMT References: <5622@udccvax1.acs.udel.EDU> <1990Feb1.164704.23581@athena.mit.edu> <1990Feb1.193031.11699@iwarp.intel.com> Sender: news@mrsvr.UUCP Reply-To: kohli@gemed.ge.com (Mr. Bad Judgment) Organization: Geo-Duckside Exploration Unit # 1 Lines: 25 In article <5622@udccvax1.acs.udel.EDU>, william@vax1.acs.udel.EDU (William H. York) wrote: >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? > In article <1990Feb1.193031.11699@iwarp.intel.com> merlyn@iwarp.intel.com (Randal Schwartz) writes: , jik@athena (Jonathan I. Kamens) writes: <| tr -d "\012" < filename > filename.new <