Date: Wed, 23 May 2001 21:04:15 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: JT Williams Message-Id: <2427-Wed23May2001210414+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <20010523074723.A26576@kendall.sfbr.org> (message from JT Williams on Wed, 23 May 2001 07:47:23 -0500) Subject: Re: redirection in bash References: <20010522084113 DOT H24649 AT kendall DOT sfbr DOT org> <3405-Tue22May2001175207+0300-eliz AT is DOT elta DOT co DOT il> <20010522100743 DOT A24993 AT kendall DOT sfbr DOT org> <3B0B8041 DOT 25DE7FAD AT falconsoft DOT be> <20010523074723 DOT A26576 AT kendall DOT sfbr DOT org> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Wed, 23 May 2001 07:47:23 -0500 > From: JT Williams > > -: I used to agree (heck I even patched bash 1.14.7 way back when, just to > -: get Unixy temp files/redirection). > > If you can be sure only text is redirected, is there > any reason to use `dtou' rather than `tr -d '\r''? There are several reasons, actually: - dtou is faster - dtou can process many files in one swell whoop (dtou .../*.c) - dtou preserves the files' time stamps (There are probably more, I'm sure.)