help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which sub-population are we talking about? (Was: 'times' of the Pare


From: Andreas Kähäri
Subject: Re: Which sub-population are we talking about? (Was: 'times' of the Parent Shell)
Date: Sun, 2 Nov 2025 16:26:57 +0100

On Sun, Nov 02, 2025 at 08:05:22AM -0700, Stan Marsh wrote:
> From: Andreas Kähäri
> Subject:      Re: 'times' of the Parent Shell
> Date: Sun, 2 Nov 2025 15:27:19 +0100
> 
> >> > Seems reasonable to me.  Don't we always assume that participants in
> >> > these forums are always running the latest version of the things we
> >> > discuss?
> >> 
> >> Definitely not.
> >> 
> >> hobbit:~$ echo "$BASH_VERSION"
> >> 5.2.37(1)-release
> >> hobbit:~$ dpkg -l bash | tail -n1
> >> ii  bash           5.2.37-2+b5  amd64        GNU Bourne Again SHell
> >> 
> >> I'm sure there are still some people running 4.x.
> 
> >And Apple is still shipping their OS with bash 3.2.57 by default,
> >although any macOS user who cares hopefully installs a newer version via
> >Homebrew, or similar.
> 
> Moving the goalposts much?

Am I?  What version of bash did the OP say they're using?

> Nobody's denying that old versions are still in use.  In fact, I tend
> to be pretty retro in general with Linux OS/software on my machines.
> My general motto is "If it ain't broke..."
> 
> I'm also aware that bash itself can be a moving target, and there's no
> guarantee that a script that works on the version under which it was
> developed will work under the latest version, so I tend to keep the
> old version(s) around and keep my scripts pointing at the one under
> which it was developed.
> 
> That said, I am actually surprised to find that Greg is still running
> a slightly old version (but not super-old like some of the ones I still
> keep around...).
> 
> But my real point is that "us" - the people who participate in these
> forums - both "us" and the people we communicate with here - tend to
> be more "bleeding edge" than the general public.  And, there's a
> general assumption that even if old versions are still in use, we're
> not really interested in bug reports unless/until they are replicated
> in the current version.
> 
> FWIW, I do think the new ${ ...; } syntax is a nifty solution to this
> problem.

That it is, if one's using a newer version of the shell.

> 
> Anyway, ...
> 
> =================================================================================
> Please do not send me replies to my posts on the list.
> I always read the replies via the web archive, so CC'ing to me is unnecessary.
> 
> When responding to my posts, please try to refrain from giving bureaucratic 
> answers.
> If you have nothing useful to say, then just click Next and go on.

-- 
Matti Andreas Kähäri
Uppsala, Sweden

.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]