ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: Странный xargs
Date: Thu, 3 Feb 2005 00:28:23 +0300
Message-ID: <200502030028.24578.lav@altlinux.ru> (raw)
In-Reply-To: <20050202111832.GB16007@basalt.office.altlinux.org>

On Wednesday 02 February 2005 14:18, Dmitry V. Levin wrote:
> Hi,
>
> On Wed, Feb 02, 2005 at 01:48:01PM +0300, Sergey Pinaev wrote:
> > On Wed, 02 Feb 2005 13:38:25 +0300, Anton Farygin wrote:
> > >> Вот смотрите:
> > >> [rider@rider rider]$ echo TEST | xargs -i{} echo '{}'
> > >> TEST
> > >> [rider@rider rider]$ echo TEST | xargs echo '{}'
> > >> {} TEST
> > >>
> > >> Есть разница ?
> > >>
> > >> Хотя в теории поведение должно быть одинаковое.
Вот мне тоже так по началу и казалось, наверное после общения с 
find.

> Сергей прав, понятие шаблона имеет смысл только в операции
> подстановки. Внимательно читайте документацию до полного
> прояснения.
Всё, теперь понял, что это операция "замена", которую надо явно 
указать.
Спасибо.

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


      reply	other threads:[~2005-02-02 21:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 23:22 [devel] " Vitaly Lipatov
2005-02-02  6:44 ` [devel] " Michael Shigorin
2005-02-02 10:00   ` Vitaly Lipatov
2005-02-02 10:33     ` Anton Farygin
2005-02-02 10:38       ` Anton Farygin
2005-02-02 10:48         ` Sergey Pinaev
2005-02-02 11:18           ` Dmitry V. Levin
2005-02-02 21:28             ` Vitaly Lipatov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502030028.24578.lav@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git