Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 18:09:50 +0000
From:      Dave <dah@hauan.org>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        Jonathan Chen <jonc@chen.org.nz>, FBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Dos -> Unix end-of-line conversion
Message-ID:  <3C28C0EE.BC8EDFE4@hauan.org>
References:  <LPBBIGIAAKKEOEJOLEGOCEGDCKAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C28C0EE.BC8EDFE4>