home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10243 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.4 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!uwm.edu!ogicse!usenet.coe.montana.edu!giac1.oscs.montana.edu!osycs
  2. From: osycs@giac1.oscs.montana.edu (Craig Spannring)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: problem with vi..
  5. Keywords: n
  6. Message-ID: <1992Aug17.191133.11116@coe.montana.edu>
  7. Date: 17 Aug 92 19:11:33 GMT
  8. Article-I.D.: coe.1992Aug17.191133.11116
  9. References: <1992Aug17.155121.21926@njitgw.njit.edu>
  10. Sender: usenet@coe.montana.edu (USENET News System)
  11. Organization: Geographic Information & Analysis Center Montana State University
  12. Lines: 17
  13.  
  14. In article <1992Aug17.155121.21926@njitgw.njit.edu> cxk6819@hertz.njit.edu (K. Chandrakanth) writes:
  15. >Dear netters,
  16. >     I have a sparc workstation 2.
  17. >I mounted the floppy drive and copied few files from the floppy. But
  18. >when I viewed through vi I happened to see ^M at the end of each line.
  19.  
  20. I would assume that at some point the file was edited in the evil
  21. operating system MS-DOS.  MS-DOS seperates all lines in a text file
  22. with a <CR><LF>.  Unix on the other had uses only a <LF>.  To remove
  23. the <CR>'s from the end of each line run the files through a program
  24. called dos2unix.
  25.  
  26. -- 
  27. ====================================================================
  28.  Six of one, 110 (base 2) of       | Craig Spannring
  29.  another.                          | osycs@giac1.oscs.montana.edu
  30.  ----------------------------------+--------------------------------
  31.