"cygpath -u" inside backticks differs
Eric Blake
eblake@redhat.com
Wed Jun 4 15:48:00 GMT 2014
On 06/04/2014 08:31 AM, J. David Boyd wrote:
> Eric Blake <eblake@redhat.com> writes:
>
>>
>> see why `` is obsolete, and you should be using $()? Among other
>> reasons, \ inside `` has weird rules.
>>
>
> Wow, when did this happen? I've been using `` for years, and never heard of
> $(). What version did this change?
$() has existed in all sh variant shells except Solaris /bin/sh pretty
much since the 80s; it was standardized in POSIX in the 90s. (On
Solaris, you have to use /usr/xpg4/bin/sh instead of /bin/sh to get it)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140604/6a4f0028/attachment.sig>
More information about the Cygwin
mailing list