Your message dated Thu, 25 Aug 2005 19:54:47 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#325001: findutils xargs -i does not work
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Aug 2005 14:34:25 +0000
>From [EMAIL PROTECTED] Thu Aug 25 07:34:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from netcom1.netc.net [205.236.235.4] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E8IoD-0006j1-00; Thu, 25 Aug 2005 07:34:25 -0700
Received: from [192.168.0.102] ([::ffff:205.233.198.33])
  (AUTH: CRAM-MD5 [EMAIL PROTECTED])
  by netcom1.netc.net with esmtp; Thu, 25 Aug 2005 10:34:24 -0400
  id 00000A32.430DD6F0.00005F64
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 25 Aug 2005 10:34:23 -0400
From: Daniel Higgins <[EMAIL PROTECTED]>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050602)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: findutils xargs -i does not work
X-Enigmail-Version: 0.91.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enig29BF0728B684677AEFB6C205"
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig29BF0728B684677AEFB6C205
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Package: findutils
Version: 4.1.20-6

when trying to use the -i option to xargs (in sarge), nothing gets
replaced. example: echo 1 2 3 | xargs -iX -n1 echo X
returns:
X 1
X 2
X 3

whereas it SHOULD return
1
2
3


--------------enig29BF0728B684677AEFB6C205
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFDDdbvV67k90ess2sRAofvAJ9VRldp51paPWyDy+I0SyvTd+1YdQCgi9QJ
ehPTlC17ZbbV2n7OM9fSXYo=
=+ZS+
-----END PGP SIGNATURE-----

--------------enig29BF0728B684677AEFB6C205--

---------------------------------------
Received: (at 325001-done) by bugs.debian.org; 25 Aug 2005 17:54:52 +0000
>From [EMAIL PROTECTED] Thu Aug 25 10:54:52 2005
Return-path: <[EMAIL PROTECTED]>
Received: from m26s25.vlinux.de [83.151.30.59] 
([o8vs8pNFEwcs9Rwb43VjJWacf2EpXk7Q])
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E8LwC-00006h-00; Thu, 25 Aug 2005 10:54:52 -0700
Received: from adsl-040.204.166.194.arpa.as1901.net
        ([194.166.204.40] helo=argenau.downhill.at.eu.org 
ident=[Log6sERGYxi6Rl9RMixTzCALvN22Iqcl])
        by m26s25.vlinux.de with esmtpa (Exim 4.52)
        id 1E8LwF-0008Vl-Cs
        for [EMAIL PROTECTED]; Thu, 25 Aug 2005 17:54:56 +0000
Received: from ametzler by argenau.downhill.at.eu.org with local (Exim 4.52)
        id 1E8Lw7-0000xD-MI
        for [EMAIL PROTECTED]; Thu, 25 Aug 2005 19:54:47 +0200
Date: Thu, 25 Aug 2005 19:54:47 +0200
From: Andreas Metzler <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#325001: findutils xargs -i does not work
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57  EE09 1D33 9C65 8B8D 7663
User-Agent: Mutt/1.5.9i
X-Spam-Score: -2.6 (--)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: findutils
Version: 4.2.20-2

On 2005-08-25 Daniel Higgins <[EMAIL PROTECTED]> wrote:
> Package: findutils
> Version: 4.1.20-6

> when trying to use the -i option to xargs (in sarge), nothing gets
> replaced. example: echo 1 2 3 | xargs -iX -n1 echo X
> returns:
> X 1
> X 2
> X 3

> whereas it SHOULD return
> 1
> 2
> 3

Hello,

No, it should return 
1 2 3
which the version in unstable and testing does. The respective change
happened in 4.2.20-2 with this changelog entry:

      'xargs -n 1 -i' works. (Closes: #31858). Please note that it is
      no bug that -i changes xargs to pass a whole line of input as a
      single argument instead of splitting on any blank characters as
      without -i. - Other implementations behave the same and the -I
      XSI extension documented in SUSv3/POSIX works like this, too.

[EMAIL PROTECTED]:~$ printf '1\n2 3\n' | xargs -iX -n1 echo X
1
2 3

Please consult http://bugs.debian.org/325001 for more information.
                   cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to