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