From: ASA <llb@udm.ru> To: "Oleg N. Kayunov" <community@altlinux.ru> Subject: [Comm] Re: [Comm] Re: find - зависит от места? Date: Tue, 19 Nov 2002 16:54:35 +0400 Message-ID: <1923297331.20021119165435@udm.ru> (raw) In-Reply-To: <3DDA3062.4080301@mtu-net.ru> Hello Oleg, Tuesday, November 19, 2002, 4:36:50 PM, you wrote: >>> Отдаю команду find, например вида: >>> find . -name T* >>> При отдавании её в одном оглавлении - срабатывает без возражений. >>> И результаты выдаёт правильные Значит в этом каталоге нет файлов начинающихся на T >>> Отдаю в другом (просто повторно вызывая ранее отданную, не >>> набивая вновь) - возмущается неверным синтаксисом: Значит есть файлы и bash подставляет вместо 'T*' имена всех найденных им (bash'ем) файлов >>> Контекстно зависимый синтаксис? для bash'а - да. Зависит от имеющихмся файлов. ONK> Взял. Для начала / для эксперимента - в обычные, двой ные - " ONK> И всё прошло. в корне явно нет файлов начинающихся на заглавную T ONK> Но ничего не понял - ведь то, что в двойных кавычках шелл (bash) тоже ONK> раскрывает? да. ONK> Впрочем и с прямыми одинарными тоже сработало (что ИМХО уже не удивительно). все такие параметры надо передавать именно в одинарных. -- Best regards, ASA mailto:llb@udm.ru
next prev parent reply other threads:[~2002-11-19 12:54 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 ` ASA [this message] 2002-11-19 14:46 ` Ruslan N. Balkin
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=1923297331.20021119165435@udm.ru \ --to=llb@udm.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