![]() |
Linux format and MS format question
Dear Sir/Madam
I am sorry to ask anyone know how to copy Linux bug report format to MS format due to my purpose is want to report the Linux question while building the Linux system. Jeremy |
Re: Linux format and MS format question
In short the issue is that on Unix lines end with a 'linefeed'-character while on windows they end with both a 'carriage return' and a 'linefeed'. Most distributions ship with a tool called dos2unix / unix2dos which can do the conversion in other cases you can do it using a 'good' text editor. If you can't find one which can do it you can for instance open the text file using lets say openoffice and save it as a rtf or doc file and then the lines are correct for sure.
|
Re: Linux format and MS format question
Thank you tell me about the unix2dos & dos2unix.However I got the question
due to I have been try to typing the Commands in the Linux.Why doesn't respose the and action. My Linux version is Debian. Kernel 2.4.27 Jeremy |
Re: Linux format and MS format question
In case you just want to add/remove carriage return, you can use the following instead of dos2unix...
Add carriage return (from UNIX to DOS): Code:
sed -ie "s/$/\r/" fileCode:
sed -ie "s/\r//" file |
| All times are GMT -5. The time now is 06:01 PM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.