| Deutsch English Français Italiano |
|
<vmve5h$243si$5@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.unix.shell Subject: Re: Default PATH setting - reduce to something more sensible? Date: Fri, 24 Jan 2025 07:06:26 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: <vmve5h$243si$5@dont-email.me> References: <vm5dei$2c7to$1@dont-email.me> <1a876l-53v.ln1@ID-313840.user.individual.net> <20250122120930.74@kylheku.com> <ccr96l-eot.ln1@ID-313840.user.individual.net> <vmthmu$3bb88$1@news.xmission.com> <20250123134647.436@kylheku.com> <87v7u5m9m5.fsf@nosuchdomain.example.com> <87y0z1595p.fsf@nosuchdomain.example.com> <20250123171808.91@kylheku.com> <87ldv06axs.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 24 Jan 2025 08:06:26 +0100 (CET) Injection-Info: dont-email.me; posting-host="5e8749a0a0548b054de09ccaf7b08075"; logging-data="2232210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/U3WTyZyICm5HI1nBzh4oM" User-Agent: Pan/0.161 (Chasiv Yar; ) Cancel-Lock: sha1:K7mpbemg6ruDBf/OnqlOuZh7m3o= Bytes: 1715 On Thu, 23 Jan 2025 21:24:47 -0800, Keith Thompson wrote: >> it cannot reasonably be anything other than replacement by $HOME, >> which is the actual behavior that can be inferred from experiments. According to my experiments, a “~” in a $PATH component not immediately followed by a username is expanded, not to $HOME, but to the home directory associated with the current user ID.