On 11/9/23 11:17 AM, Mike Jonkmans wrote:
On Thu, Nov 09, 2023 at 10:12:06PM +0700, Robert Elz wrote:
     Date:        Thu, 9 Nov 2023 14:21:35 +0100
     From:        Mike Jonkmans <bash...@jonkmans.nl>
     Message-ID:  <20231109132135.ga208...@jonkmans.nl>

   | If I am not mistaken, for POSIX compliance, both /bin and /usr/bin have
   | to be in PATH (see quote from Robert).

No, I didn't say that, there are no particular required directory
names, just that PATH needs to include whatever directories contain
all the standard utilities ... getconf() returns that path.

I used those names just as an example.

Ah, that is clear then.
On Ubuntu 22.04 `getconf path' returns /bin:/usr/bin
and these are symlinked.

Then that's an issue to take up with Debian/Ubuntu, right? If they're
symlinked by the distro, then getconf PATH should only return one of them.

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


Reply via email to