lkml.org 
[lkml]   [1999]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: RH6.0 C compiler doesn't recognize "\"y
Date
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.030 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site