Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 05-21-2005, 07:25 AM   #1
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
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.
Old 05-21-2005, 07:49 AM   #2
LQ Newbie
Registered: May 2005
Distribution: Redhat 9.0
Posts: 24

Rep: Reputation: 15

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..

Old 05-21-2005, 08:26 AM   #3
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
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.
Old 05-21-2005, 11:11 AM   #4
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,775

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
the commands you are looking for are dos2unix and unix2dos


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux file extension vs Dos file Extension? manaa Linux - Newbie 6 02-12-2009 04:19 PM
Problem in translation file PO aboakai Linux - Software 0 11-01-2004 07:20 AM
c++ writing to a .txt file xemous Programming 8 09-01-2004 10:57 PM
How to convert a txt file to be a db file in Redhat linux 9? winnie Linux - Newbie 3 06-27-2003 08:33 AM
how to edit a txt file through console safrout Linux - Newbie 5 01-31-2003 07:39 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration