Deutsch   English   Français   Italiano  
<slrnvpcgmg.28eg.naddy@lorvorc.mips.inka.de>

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

Path: ...!npeer.as286.net!npeer-ng0.as286.net!weretis.net!feeder8.news.weretis.net!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: Early history of Bash (was: Re: Default PATH setting - reduce to
 something more sensible?)
Date: Sun, 26 Jan 2025 14:12:32 -0000 (UTC)
Message-ID: <slrnvpcgmg.28eg.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>
Injection-Date: Sun, 26 Jan 2025 14:12:32 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
	logging-data="74193"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
Bytes: 2029
Lines: 24

On 2025-01-26, Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:

> This is obviously deliberate, and I see similar code (without the
> posixly_correct condition) in bash 1.05 from 1990.
>
> According to Wikipedia, POSIX began in 1988, and the initial
> release of bash was in 1989, just a year later.  Obviously the
> authors thought that expanding literal '~'s in $PATH was a good
> idea at the time, and it's not suprising that they didn't pay much
> attention to POSIX.  It would have been nice if they'd documented it.

In recent years, I've been wondering about the early history of
Bash, but cursory searches came up empty.  Versions before 1.14
have even been expunged from ftp.gnu.org.

My vague impression is that Bash started as an attempt to combine
csh and sh, but it's not clear to me how soon people noticed the
infeasibility and pivoted to a sh-based model.  Or maybe that's not
at all how it happened.

If anybody has pointers to the early history or old source code,
I'd love to know.

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