From owner-freebsd-questions Wed Mar 12 03:40:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA05051 for questions-outgoing; Wed, 12 Mar 1997 03:40:27 -0800 (PST) Received: from server3.syd.mail.ozemail.net (server3.syd.mail.ozemail.net [203.108.7.41]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA05046 for ; Wed, 12 Mar 1997 03:40:23 -0800 (PST) Received: from oznet02.ozemail.com.au (oznet02.ozemail.com.au [203.2.192.124]) by server3.syd.mail.ozemail.net (8.8.4/8.6.12) with ESMTP id WAA25266; Wed, 12 Mar 1997 22:40:22 +1100 (EST) Received: from rlyon.mynet.au (slmel9p26.ozemail.com.au [203.7.187.42]) by oznet02.ozemail.com.au (8.8.4/8.6.12) with SMTP id WAA06580; Wed, 12 Mar 1997 22:40:18 +1100 (EST) Date: Wed, 12 Mar 1997 21:38:49 +1100 (EST) From: Richard Lyon X-Sender: rlyon@rlyon.mynet.au To: Juan Savioli cc: FreeBSD questions Subject: Re: dos2ux In-Reply-To: <97Mar12.101039gmt.27781-1@gateway.dhi.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 ....