RE: Creating text files for windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikevl Sent: Wednesday, November 12, 2003 02:42
> I am trying to create a text file that has several lines which 
> can be viewed
> in Windows notepad.
> 
> at the moment if I use echo or printf "hi there\nnext line"
> the poutut in notepad looks like "hi there[]next line" but I 
> cannot produce
> a new line. Wordpad gets it right but that is not the issue as a piece of
> Windows software must read the text file and fails so far.
> 

Hi Mike:

Use unix2dos to convert the file to a DOS text file.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux