ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Ruslan N. Balkin" <baron@dartel.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: find - зависит от места?
Date: Tue, 19 Nov 2002 17:46:14 +0300
Message-ID: <20021119174614.5f1f310a.baron@dartel.ru> (raw)
In-Reply-To: <3DDA3062.4080301@mtu-net.ru>

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

On Tue, 19 Nov 2002 15:36:50 +0300
Oleg wrote:

>      Взял. Для начала / для эксперимента  - в обычные, двой ные - "
> И всё прошло.
> Но ничего не понял - ведь то, что в двойных кавычках шелл (bash) тоже 
> раскрывает?
> Впрочем и с прямыми одинарными тоже сработало (что ИМХО уже не
> удивительно).
Если вот такая структура каталогов:
.
  [dir1] file file2
  [dir2] file1 file2
  [dir3] file3
  file
То по find . -name file* будет выдан результат file, dir1/file, т.к. реально выполняется команда find . -name file (bash ее немного модифицирует)
По find . name "file*" уже будут найдены все указанные файлы.

Только я вот с этим я согласен лишь частично:
> ONK> Но ничего не понял - ведь то, что в двойных кавычках шелл (bash) 
> ONK> тоже раскрывает?
> да.
Имена файлов не раскрываются, значения переменных подстанавливаются. Так что и двойные кавычки можно использовать.

-- 
С уважением,
Балькин Руслан.

[-- Attachment #2: For security, this message has been digitally signed. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2002-11-19 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18  5:08 [Comm] " Oleg N. Kayunov
2002-11-18 12:08 ` Dmitry E. Oboukhov
2002-11-19 12:36   ` [Comm] " Oleg N. Kayunov
2002-11-19 12:54     ` [Comm] " ASA
2002-11-19 14:46     ` Ruslan N. Balkin [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=20021119174614.5f1f310a.baron@dartel.ru \
    --to=baron@dartel.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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