Date: Fri, 11 Jan 2019 12:46:51 -0800 From: Enji Cooper <yaneurabeya@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: Devin Teske <dteske@freebsd.org>, "Rodney W. Grimes" <rgrimes@freebsd.org>, Lars Engels <lme@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r342945 - in head: tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/bluetooth-config Message-ID: <A5D749B2-580D-403A-9305-697D31ED2190@gmail.com> In-Reply-To: <CANCZdfpD75%2BkSdydgtLPBeYh4Kut-pMbPSBv44pRdrY-ZAZzoQ@mail.gmail.com> References: <201901111916.x0BJGcLG022599@pdx.rh.CN85.dnsmgr.net> <12293ACC-4C9C-4BFB-A04B-85D43AFA0837@FreeBSD.org> <CANCZdfpD75%2BkSdydgtLPBeYh4Kut-pMbPSBv44pRdrY-ZAZzoQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_6DA1DEC4-7607-4775-BCA4-C579CAA90936 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 11, 2019, at 12:36 PM, Warner Losh <imp@bsdimp.com> wrote: ... > I talked about this at BSDCan in June. $foo is preferred (there > *is* a difference) and, as you say, if a file is consistently ${foo} > then it is fine. >=20 > I prefer {} because $foo:bar doesn't work while ${foo}:bar does. I think the form Warner brings up makes more sense to sh(1) newcomers = who might not know the intricacies of the grammar. Similar rules apply = to perl and other languages as well when it comes to variable expansion = and such. Thank you, -Enji --Apple-Mail=_6DA1DEC4-7607-4775-BCA4-C579CAA90936 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAlw5ALsACgkQ5JFNMZeD GN5JOg//Z+/0qucIu0GLKF6UCqQRJVVIyt/qvds4kgFnvAWSG21xjy40GJafyhT0 dXci2U0EP8vgM08UZvDbBAepE2Lm2ZwJl5zjK0NMIw/+ZP/UDoFZ9TJKTtbO8B+j Y/CAcwxmDSPCDrf0JzR/jvrn+TrTQE7crmI2kcV4uOSKjRJpHAW7ocFvYgsB5V9L KWTziFYbQP66T+eySKPPiAKaiFbfXVlqhByp1ydEsVpxNADcOROljpHvn6E10r0a OIHknIVjMVW8InYT75TaM1ZkA2YLS8ifm1/xwMXPNWVluQp1cZ5PrWNoDxUQ92HP 37hHn/x9cA9sLJkzcr20WWlREy+wYn3cCE0Wfleq3u1BGc3Meb6BdhHkXrS1YVj+ pxAGxSmO8Tw6VdpRgMvyqS8NCC5ArsS0w6QaxL711YwyPWdZmCnn0F6EuSDaQJb1 j4w4MOrUdxh82RlMJmBV6Og3tHt4AGl6bQir8YZRES51BD8nwJ+hgu6xgK/0OhjE IslwQzj3aRLS9glCmzpR8adnGG7pdi9RsBJoe94iKOMKMJQy/Al9O7+bLOoo1KKn bUh72qO0lR8biyxxadA10pmRUd0ROEuJl4UCvGrrt2Ix3XzX403Q4zh8uUSbkVMe wvR375j1MF+BT9AkdYKgrXNFkmAanCsrObnvVyodstEe4rOiy7A= =scDU -----END PGP SIGNATURE----- --Apple-Mail=_6DA1DEC4-7607-4775-BCA4-C579CAA90936--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5D749B2-580D-403A-9305-697D31ED2190>