delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/18/09:59:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D35AAD0.7030401@redhat.com>
Date: Tue, 18 Jan 2011 07:59:28 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Single quotes inside here document
References: <807he2fysk DOT fsf AT missioncriticalit DOT com> <4D35A99C DOT 7000502 AT cs DOT umass DOT edu>
In-Reply-To: <4D35A99C.7000502@cs.umass.edu>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enigC3D26030F2BBADCF9BBAC782
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 01/18/2011 07:54 AM, Eliot Moss wrote:
> I wonder about the form: <<'EOF' and similar,
> versus: <<EOF

If the word after << is quoted (via "", '', or \), then $, ``, and \
lose their special meanings in the body of the here-doc and no longer
introduce substitutions.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigC3D26030F2BBADCF9BBAC782
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNNarQAAoJEKeha0olJ0Nqq9cIAIzN8Mervjc/5q4Rzsf31yiN
EdW9jb0mT2S95GwbYOk8c0iM3MWNj4UGtkGwDxtCFr1p8S/QUx/K3Yp9HPfItz9g
KqaBPsfJYRQ5DvuYsKOOaDArWURq+RUaqaGaLLoxySZ8U/8uFCExBgcFuowbS1hR
XheJE7QI9Ba4WcMUbSfE1HNIQzqaZg/EK9ETfMI3SFPkkEQg1KiORAb40Dqgy7kk
YGCLNRE22FIHpd9ROrnEYFhWXfA/1dPDUDBN6B3T45VPAPXVtmm5DWevB1wwuEdh
CRDB7JzA4fLNBDtKNlzXof+T+cwl3pqscrbC27rlFwJ191ulpFRH31CP2APdaTI=
=45sd
-----END PGP SIGNATURE-----

--------------enigC3D26030F2BBADCF9BBAC782--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019