[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix #1079 by ripping out pathname expansio
Re: [Chicken-hackers] [PATCH] Fix #1079 by ripping out pathname expansion and putting it into an egg [Was: Re: [PATCH] add pathname-expand]
Mon, 7 Jul 2014 12:41:40 -0500
Sounds good, I only use the tilde expansion, and that responsibility could
probably even be removed and given to the caller. In my opinion the $FOO
expansion can be jettisoned completely.
> On Jul 7, 2014, at 11:58, Peter Bex <address@hidden> wrote:
>> On Mon, Jul 07, 2014 at 11:43:20AM -0500, Jim Ursetto wrote:
>> Thanks Peter!
>> Does this egg work with older Chicken versions? I.e. can I safely replace
>> ##sys#expand-home-path in sql-de-lite with pathname-expand across the board?
> That should work just fine.
> Because the algorithm is slightly different, results may vary a bit,
> but for 99% of the cases, they will be identical. Of course, if you're
> relying on $FOO environment variable substitution, you'd have to roll
> your own replacement, because the egg (currently) does not do that at
> all. If enough people demand this, it could be added to the egg as an
> optional feature.