Sujet : Re: Default PATH setting - reduce to something more sensible?
De : flexibeast (at) *nospam* gmail.com (Alexis)
Groupes : comp.unix.shellDate : 27. Jan 2025, 09:55:50
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87a5bc7i09.fsf@gmail.com>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13)
gazelle@shell.xmission.com (Kenny McCormack) writes:
In article <87msfc7tgq.fsf@gmail.com>, Alexis <flexibeast@gmail.com> wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
But you can use <line noise> in a file/directory name.
>
Not in a POSIX-conforming way:
>
Do you know what LDO meant by the above-quoted line noise?
That, as Keith noted elsethread, they can appear in a POSIX 'pathname':
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap03.html#tag_03_254My experience is that "file name" and "directory name" are typically
taken to refer to not the pathname / full path, but the output of applying
basename(1) to that path. i was hoping to bring some precision to the
discussion, but maybe i shouldn't have bothered.
Alexis.