X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=oUSH jZqpxnSweQkwGKtf4y6Xq6wtZyTH+YhXLfZucEqqa5LBp1Cu1Wo5ro+EwH5Dr6n0 RgicRvrDGe/YmwFS/C+I0OwlPzdYRoo9m2OWDDvPreyhHugzZ9M5CKYBom+uS7JA heTgkEDhr/WSn2dOebgy3hRgvDFxwmVSs89vqUs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=pB0YqbTdMU mdm+EVYZyXbRphuQ8=; b=kq9Zq9igUxX4dJPXwPey+RjdluXPHFxLg4vavG1dp5 ay4OXxSnnXb2EVn1s2pCzxJYD4ZJR0QLQVYdVgR7w+yyDKB3gQN/rlgjdsFiXo/n /bL/MImJAoU+N8jCj/MkwkCQNyVPSzDZ38FIREecXU2nYKW1fLd965cTAa20Ns/A Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:2801 X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 439354A6EF Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=eblake AT redhat DOT com Subject: Re: Aliases - I learned something new To: cygwin AT cygwin DOT com References: <6bf0908e-f559-b5bb-5ca3-b1cac1b9abde AT gmail DOT com> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <8e128154-2801-0eef-4c2d-08ca21f467b5@redhat.com> Date: Fri, 25 Aug 2017 10:20:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <6bf0908e-f559-b5bb-5ca3-b1cac1b9abde@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jKrsb4DUnDrwjTPXGwo5IF58REE74naQt" X-IsSubscribed: yes --jKrsb4DUnDrwjTPXGwo5IF58REE74naQt Content-Type: multipart/mixed; boundary="UXLUwvRoBMMBr19xoow6XxwbFLXedeDgB"; protected-headers="v1" From: Eric Blake To: cygwin AT cygwin DOT com Message-ID: <8e128154-2801-0eef-4c2d-08ca21f467b5 AT redhat DOT com> Subject: Re: Aliases - I learned something new References: <6bf0908e-f559-b5bb-5ca3-b1cac1b9abde AT gmail DOT com> In-Reply-To: <6bf0908e-f559-b5bb-5ca3-b1cac1b9abde AT gmail DOT com> --UXLUwvRoBMMBr19xoow6XxwbFLXedeDgB Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08/25/2017 10:00 AM, cyg Simple wrote: > If the value of an alias ends in a space the word following the issuance > of the alias command is also checked for alias expansion. In fact, this behavior is POSIX-mandated, so that you can do things like: alias exec=3D'exec ' and get alias expansion on 'foo' when you do 'exec foo' > Example: >=20 > $ alias t1=3D'echo abc' > $ alias t2=3D'dev' > $ t1 t2 > abc t2 >=20 > $ alias t1=3D'echo abc ' > $ t1 t2 > abc def Doesn't quite match what you typed above (dev vs. def), but illustrates the point. --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --UXLUwvRoBMMBr19xoow6XxwbFLXedeDgB-- --jKrsb4DUnDrwjTPXGwo5IF58REE74naQt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlmgQCUACgkQp6FrSiUn Q2r1/Af7Blx308O7gsAQTPHMA0Z8/F/ByUJfF/5PEfqgWFlNGY7cvhFEzlcOIZI3 Wp9H6O+NsAyfLCcErRvCliFnCPc0nEcHjI0T3D8GQDzKFezNszsh69EtxEXVubAA yzbOjsmZhS+s8EhXSu066tbZpFTbFL/5t0IDDg9KJyU8WfHPNL4t+JovEwq2j9Td 7QMz1P9/d38rhC8GnsLOFqkWZBfkPY1cw3245CnnOA9sOUNzUQUQzYuPtkVPtqEm vwkmBa+UkKWcS79xBGoCHJZZzmOg/4t3VqDZKrETg8BqLorMMk/CmqnMGXcIJPqN wNa9VoOVzFvYZDuM8bTe1st8Mwgiew== =gQ1P -----END PGP SIGNATURE----- --jKrsb4DUnDrwjTPXGwo5IF58REE74naQt--