bug-bash
[Top][All Lists]
Advanced

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

Re: Filename Expansion bug


From: Chet Ramey
Subject: Re: Filename Expansion bug
Date: Mon, 13 Jan 2020 09:11:51 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.3.1

On 1/9/20 6:09 AM, Mickael KENIKSSI wrote:
Thanks for your comment.

I understand this may not sound of primary importance for you since they are canonically equivalent, but sometimes what we really all care about is the path as a literal string (be it well- or ill-formed), and not the filesystem object it points to.

Pathname expansion deals with that filesystem object, and those filesystem
objects have a single slash as the directory separator. That's how the
bash implementation deals with it.

I suppose it all comes down to an implementation question.

Indeed, it does.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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