www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <43110526.1060304@byu.net> |
Date: | Sat, 27 Aug 2005 18:28:22 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
CC: | Herb Martin <HerbM AT learnquick DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: Xargs positioning the arguments in a command -- is this a bug or a feature? |
References: | <082820050008 DOT 6266 DOT 4311005F000E99680000187A22069984990A050E040D0C079D0A AT comcast DOT net> |
In-Reply-To: | <082820050008.6266.4311005F000E99680000187A22069984990A050E040D0C079D0A@comcast.net> |
X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 8/27/2005 6:08 PM: > > The upcoming findutils-4.2.25-1 (whenever upstream releases 4.2.25) > better documents this. -i is being deprecated in favor of POSIX -I, which > requires an argument, whereas the non-standard -i treated its > argument as optional. So what may be happening (although you'd > actually have to debug to see for sure) is that -i -n treats -n as the > string to replace, instead of the default {}. But that sounds odd, and > it may be an upstream bug; I'll investigate further. Known upstream issue, still no behavior change in the upcoming 4.2.25: http://savannah.gnu.org/bugs/?func=detailitem&item_id=13041 Also, a POSIX interpretations request was recently raised: http://www.opengroup.org/austin/mailarchives/ag/msg08430.html - -i implies -l (or in terms of their POSIX replacements, -I implies -L), while -L and -n are mutually exclusive. Whichever you specify first will be cancelled by what you specify second. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDEQUm84KuGfSFAYARAhNCAKCZCsrM/ivwKT5FMacSmXz2stAOoACfTFkW LhjM9iwvdD5AkpSdVYZhMvI= =QhWQ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |