From owner-freebsd-questions Tue Dec 25 18: 4:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hauan.org (dah.sharedcomm.net [205.235.129.203]) by hub.freebsd.org (Postfix) with ESMTP id D039137B416 for ; Tue, 25 Dec 2001 18:04:26 -0800 (PST) Received: from hauan.org (localhost.hauan.org [127.0.0.1]) by hauan.org (8.11.6/8.11.6) with ESMTP id fBPI9pZ12446; Tue, 25 Dec 2001 18:09:52 GMT (envelope-from dah@hauan.org) Message-ID: <3C28C0EE.BC8EDFE4@hauan.org> Date: Tue, 25 Dec 2001 18:09:50 +0000 From: Dave X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Joe & Fhe Barbish Cc: Jonathan Chen , FBSD Questions Subject: Re: Dos -> Unix end-of-line conversion References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe & Fhe Barbish wrote: > > How can I get this command to roll through a directory tree processing all > the files to feed this $ tr -d '\r' < oldfile > newfile command converting > dos2unix or unix2dos? There is a dos2unix / unix2dos port but it only does > one file at a time. > unix2dos *.txt will do all textfiles. If you can't see it with less or more vi will show you. dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message