bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash tab variable expansion question?


From: Chet Ramey
Subject: Re: bash tab variable expansion question?
Date: Wed, 07 Mar 2012 22:01:16 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 3/5/12 5:43 PM, Sebastian Siebert wrote:

> Hi Chet,
> 
> thank you to point me out to the correct patch. :-) I will used this patch
> for the bash 4.2 + PL 20.

I've attached the latest version of the direxpand patch, and an additional
patch (direxpand-relpath) that is the first cut at avoiding expansion of
relative pathnames in situations where it's `safe'.  It doesn't currently
expand paths beginning with `.', even when they might potentially be
changed by canonicalization.  I'm not particularly fond of that, but it's
what bash-4.1 did, so we'll go with it for now.

Please let me know how the relpath patch works for you.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

Attachment: direxpand.patch
Description: Text Data

Attachment: direxpand-relpath.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]