Deutsch   English   Français   Italiano  
<slrnvpd1l1.2e9p.naddy@lorvorc.mips.inka.de>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!npeer.as286.net!npeer-ng0.as286.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: Christian Weisgerber <naddy@mips.inka.de>
Newsgroups: comp.unix.shell
Subject: Re: Default PATH setting - reduce to something more sensible?
Date: Sun, 26 Jan 2025 19:01:53 -0000 (UTC)
Message-ID: <slrnvpd1l1.2e9p.naddy@lorvorc.mips.inka.de>
References: <vm5dei$2c7to$1@dont-email.me> <vmu94j$1q2lp$1@dont-email.me>
 <vn05ji$r20$1@reader2.panix.com> <vn0bpf$29qe6$1@dont-email.me>
 <vn110t$faa$1@reader2.panix.com> <87msfebbkf.fsf@nosuchdomain.example.com>
 <vn5dev$3q0tf$1@dont-email.me>
Injection-Date: Sun, 26 Jan 2025 19:01:53 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
	logging-data="80186"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
Bytes: 1536
Lines: 12

On 2025-01-26, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:

> you don't want to miss. - So Bash users, if they don't want to get
> bitten in a subtle way, are probably advised to be pointed out to
> that behavior, or, as suggested by others already, not to use tilde
> at all with PATH in Bash.

That's a bizarre recommendation.  Approximately all uses of tilde
in PATH are variants of PATH=~/bin:$PATH, which are expanded on
assignment in bash as in other sh-type shells.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de