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

Re: Unix(LF) files to MSDOS(CRLF) and vice versa



On Mon, Apr 08, 2002 at 11:42:15PM -0300, Daniel Toffetti wrote:
> Hi !
> 
> How can I use rpl (or any other suitable command) to transform the "\n" 
> character between Unix and Msdos formats ?? rpl seems to be the right 
> tool, but I can't figure out how to specify that strings.

In the sysutils package, there are utilities to do this. Look at the 
manpages for dos2unix and unix2dos.

FYI: If you send text files through FTP using ascii mode, it will also
translate carriage returns.

--
Nick


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: