LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Txt extension file translation (https://www.linuxquestions.org/questions/solaris-opensolaris-20/txt-extension-file-translation-325642/)

UltraSoul 05-21-2005 07:25 AM

Txt extension file translation
 
I copy a .txt file from solaris into Winxp by samba. However, the end of each line is diplayed
by a upper arrow in winxp not like as unix. I wonder some methods to translate the upper arrow in the end of each line into the intented paragaph.

vijfita 05-21-2005 07:49 AM

Hi,

These problems usually occur when winxp is not able to translate some characters...from what I understand, this character that you are talking about should be a '\n' character ...

Why dont you try opening the same file with some microsoft word or wordpad ? I guess that it should be working well..


Regards.

UltraSoul 05-21-2005 08:26 AM

According to your advice of using wordpad or word for opening, I found that the "\n" will be not displayed. however, I also want to know some text translate command
for editing the "\n" character to be substitued with space.

jlliagre 05-21-2005 11:11 AM

the commands you are looking for are dos2unix and unix2dos


All times are GMT -5. The time now is 11:30 AM.