From: Alexey Rusakov <ktirf@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [spec-lynch] vim.spec
Date: Sun, 11 Oct 2009 23:36:26 +0400
Message-ID: <1255289786.3689.21.camel@latitude.arlan> (raw)
In-Reply-To: <20091011163630.GB8446@atlas.home>
[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]
В Вск, 11/10/2009 в 20:36 +0400, Sergey Vlasov пишет:
> On Sun, Oct 11, 2009 at 07:55:12PM +0400, Alexey I. Froloff wrote:
> > On Sun, Oct 11, 2009 at 06:55:03PM +0400, Sergey Vlasov wrote:
> > > Можно ещё cat <<'EOF' - тогда от sh ничего экранировать не нужно.
> > Уж не башизм ли это?
>
> Нет:
> http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_07_04
>
> | If any character in word is quoted, the delimiter shall be formed by
> | performing quote removal on word, and the here-document lines shall
> | not be expanded. Otherwise, the delimiter shall be the word itself.
> |
> | If no characters in word are quoted, all lines of the here-document
> | shall be expanded for parameter expansion, command substitution, and
> | arithmetic expansion. In this case, the backslash in the input
> | behaves as the backslash inside double-quotes (see Double-Quotes).
> | However, the double-quote character ( '"' ) shall not be treated
> | specially within a here-document, except when the double-quote
> | appears within "$()", "``", or "${}".
Какие интересные подробности. Большое спасибо за информацию.
--
Alexey "Ktirf" Rusakov
GNOME Project
ALT Linux Team
[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2009-10-11 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-11 13:10 Alexey I. Froloff
2009-10-11 14:55 ` Sergey Vlasov
2009-10-11 15:55 ` Alexey I. Froloff
2009-10-11 16:36 ` Sergey Vlasov
2009-10-11 19:36 ` Alexey Rusakov [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=1255289786.3689.21.camel@latitude.arlan \
--to=ktirf@altlinux.org \
--cc=devel@lists.altlinux.org \
/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