From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 8 Mar 2010 15:02:53 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20100308120251.GA11901@wo.int.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <201003081452.48343.lav@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <201003081452.48343.lav@altlinux.ru> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] =?koi8-r?b?7sXULCDc1M8gzsUg0dfM0cXU09EgwsHHz80g1yB4YXJn?= =?koi8-r?b?cyE=?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 12:03:25 -0000 Archived-At: List-Archive: List-Post: --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 08, 2010 at 02:52:48PM +0300, Vitaly Lipatov wrote: > $ echo 1 2 3 | xargs -iQQ -n1 -- echo QQ-QQ > 1 2 3-1 2 3 >=20 > =EF=D6=C9=C4=C1=CC =D1 =D0=CF=CC=D5=DE=C9=D4=D8 =D4=C1=CB=CF=CA =D7=D9=D7= =CF=C4: > $ echo 1 2 3 | xargs -n1 echo | xargs -iQQ -- echo QQ-QQ > 1-1 > 2-2 > 3-3 $ info xargs =2E.. `-I REPLACE-STR' `--replace[=3DREPLACE-STR]' `-i[REPLACE-STR]' Replace occurrences of REPLACE-STR in the initial arguments with names read from standard input. Also, unquoted blanks do not terminate arguments; instead, the input is split at newlines only. If REPLACE-STR is omitted (omitting it is allowed only for `-i'), it defaults to `{}' (like for `find -exec'). Implies `-x' and `-l 1'. =EF=C2=D2=C1=D4=C9=D4=C5, =D0=CF=D6=C1=CC=D5=CA=D3=D4=C1, =CF=D3=CF=C2=CF= =C5 =D7=CE=C9=CD=C1=CE=C9=C5 =CE=C1 "the input is split at newlines only". --=20 ldv --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkuU52gACgkQfKvmrJ41Nh66pwCaAzI8jsoQyegNu+cNpWDi7YRT Iu4An0pcvqGtVb7P21zCOKcc7MwVib+X =p+sL -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--