This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "cygpath -u" inside backticks differs


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]