| Deutsch English Français Italiano |
|
<vn2jpc$2pr19$1@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: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.unix.shell Subject: Re: Default PATH setting - reduce to something more sensible? Date: Sat, 25 Jan 2025 13:00:42 +0100 Organization: A noiseless patient Spider Lines: 18 Message-ID: <vn2jpc$2pr19$1@dont-email.me> References: <vm5dei$2c7to$1@dont-email.me> <20250123134647.436@kylheku.com> <87v7u5m9m5.fsf@nosuchdomain.example.com> <vmvp3d$2671i$1@dont-email.me> <vn04r2$ma8$1@reader2.panix.com> <vn0cno$29vrs$1@dont-email.me> <875xm36g8q.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 25 Jan 2025 13:00:44 +0100 (CET) Injection-Info: dont-email.me; posting-host="d6ec0c6c1fe60ff983fa5a67ee291d8d"; logging-data="2944041"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BA7mfPHb8ZTGA5Tsi+hIH" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:pwVr+2+Raw/YoxxaTki937HR+TI= X-Enigmail-Draft-Status: N1110 In-Reply-To: <875xm36g8q.fsf@nosuchdomain.example.com> Bytes: 1946 On 24.01.2025 22:42, Keith Thompson wrote: > > ~ is equivalent to $HOME in most contexts. I suggest that assuming that > ~, like $HOME, is expanded in double quotes is a very easy mistake to > make. And the bash misfeature we're discussing can make it hard to > detect that mistake. Yes, to both. (It certainly helps to know the standard shell quoting mechanisms. That's so basic that it cannot be overestimated and should always be emphasized. - I've experienced that even regular, experienced shell users don't seem to know the exact mechanism in all cases.) Anyone reading the docs? :-) Janis