Sujet : Re: Default PATH setting - reduce to something more sensible?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.shellDate : 27. Jan 2025, 08:51:33
Autres entêtes
Organisation : None to speak of
Message-ID : <87r04oae4a.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Gnus/5.13 (Gnus v5.13)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Mon, 27 Jan 2025 15:48:21 +1100, Alexis wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
But you can use “∕” in a file/directory name.
Not in a POSIX-conforming way:
>
ldo@theon:trydir> mkdir f1
ldo@theon:trydir> touch f1/f2
ldo@theon:trydir> touch f1∕f2
[...]
Yes, yes, we all know what you're saying, and we all hope you've
enjoyed the attention.
Of course the '/' character can appear in a pathname. And of course
it cannot appear in a pathname component, which POSIX also calls a
"filename".
pathname definition :
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap03.html#tag_03_254filename definition :
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap03.html#tag_03_146(On some systems it might be possible to edit the raw disk to
change a filename like "foo_bar" to "foo/bar". The result would
be a corrupted filesystem.)
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */