vi(m) problem

Jerry Feldman gerald.feldman at hp.com
Mon Nov 8 16:41:59 EST 2004


On Monday 08 November 2004 4:24 pm, Matthew Valites wrote:
> Dan,
>
> >in dumping plain text files from .doc files using open
> >office, i find that certain punctuation marks show up
> >as hard to find sequences when i attempt to edit the
> >file using vi (actually vim).
>
> Try running the file through a utility called dos2unix.  Depending on
> your distro you should have it available already.  If not, I'm sure
> google will give you a link or two from which to get it.
All dos2unix does is to convert the crlf line endings to lf. It should be 
available on most distros. 

Dan,
First, please send plain text only. 
Second, please send an example in-line. I just converted a .doc file that 
has indexes and tables, and vim has no trouble with it. 

-- 
Jerry Feldman <gerald.feldman at hp.com>
Partner Technology Access Center (contractor) (PTAC-MA)
Hewlett-Packard Co.
550 King Street LKG2a-X2
Littleton, Ma. 01460
(978)506-5243



More information about the Discuss mailing list