Messages in this thread | | | From | Orin Eman <> | Subject | Re: RH6.0 C compiler doesn't recognize "\"y | Date | Sat, 11 Sep 1999 02:00:26 -0700 (PDT) |
| |
> On Tue, 7 Sep 1999, WANG,YIDING (HP-SanJose,ex1) wrote: > > > I do feel the problem is dos file format xfer issue. Under Soalris or > > Unixware enviornment, if the ^M is at the end of line, it will shows up. I > > have been dealing those under Unixware and Solaris a lot. However, all my > > problem lines under Linux does not show anything after "\". Even I replaced > > the rest of line after last character with a "\", it still causing problem. > > It depends on the editor...i believe pico does not show the embedded \r's, > whereas joe and others do show them.
The vi is probably 'vim' and it doesn't show the \r's. My version does however report [dos format] when it reads the file.
The file can be written without the \r's with the following commands:
:set fileformat=unix :w
HTH,
Orin.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |