^M Character gets appended to every Line in jsp page

Luc MAIGNAN luc.maignan at winxpert.com
Tue Apr 18 12:48:55 UTC 2006


It represents windows end-of-line format (ie \r + \n) instead of unix
format (just \n).
You should suppress it perhaps like this :

cat file | sed 's/\r//'

regards
--
Luc MAIGNAN
/*WinXpert*/
Directeur technique

Tél : +33-1 69 51 39 50
e-mail : luc.maignan at winxpert.com


Kaushal Shriyan a écrit :
> Hi All
>
> I have a unusual issue is that I transfer the file from one server to
> another server
> through FTP Client, and when I open the downloaded file I see that at
> the end of every Line of the file I see ^M
>
> I do not understand at ALL
>
> I have choosen a Binary option while downloading
>
> Any Clue
>
> Regards
>
> Kaushal
>
>   




More information about the fedora-list mailing list