Date: Wed, 12 Mar 1997 21:38:49 +1100 (EST) From: Richard Lyon <rlyon@oznet07.ozemail.com.au> To: Juan Savioli <jcs@dhi.dk> Cc: FreeBSD questions <questions@FreeBSD.org> Subject: Re: dos2ux Message-ID: <Pine.BSF.3.91.970312213508.206A-100000@rlyon.mynet.au> In-Reply-To: <97Mar12.101039gmt.27781-1@gateway.dhi.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Mar 1997, Juan Savioli wrote:
> Hi everybody,
>
> could anybody tell how to get rid of all the strange characters
> which appear when I get a file from DOS. I work also in
> a HP machine and there we have a command called dos2ux,
> but we do not have it in FreeBSD.
>
I assume you are talking about text files and the problem is CR/LF
translation.
The command
mcopy -t source destination
will copy a file and perform the appropriate translation.
mcopy is part of mtools which is available as a package or port.
Regards Richard ....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970312213508.206A-100000>
