Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH eutils] Support recursive operation in edos2unix.
Date: Wed, 17 Apr 2013 18:27:23
Message-Id: 201304171429.25741.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH eutils] Support recursive operation in edos2unix. by Peter Stuge
1 On Sunday 14 April 2013 07:26:26 Peter Stuge wrote:
2 > Michał Górny wrote:
3 > > > > Any thoughts?
4 > > >
5 > > > If doing this at all I think it should take an -r option to enable
6 > > > the new recursion, for symmetry with the do* functions and for
7 > > > backwards compatibility.
8 > >
9 > > Backwards compatibility with what?
10 >
11 > With the old non-recursive behavior of edos2unix that could only
12 > operate on a single file.
13 >
14 > Arguably, all old users *should* have refered to single files, but I
15 > would still prefer adding a -r just to be sure to avoid collateral
16 > damage.
17
18 if you run the current edos2unix on a dir, it'll fail. so i don't think
19 backwards compat is a big worry here.
20 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature