^M 's in uploaded text files.

Ken Leonard kleonard at gvlv2.GVL.Unisys.COM
Fri Feb 2 04:37:02 AEST 1990


In article <5622 at udccvax1.acs.udel.EDU> william at 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



More information about the Comp.unix.questions mailing list