On Mon, Aug 09, 2021 at 10:00:25PM -0400, Franklin, Jason wrote:
> I did not write the scripts in question. These were actually Debian
> package maintainer scripts that started failing.
>
> Perhaps I'll get a test added to "checkbashisms" that looks for this.
A bug report against that Debian pac
Hey, Greg!
I presume that you are the Wooledge who hosts the BashFAQ.
If so, thanks for hosting that. It's a huge help. :)
On Mon, 2021-08-09 at 20:36 -0400, Greg Wooledge wrote:
> On Mon, Aug 09, 2021 at 05:35:56PM -0400, Franklin, Jason wrote:
> > Should bash, invoked with "--posix" or as "s
On Mon, Aug 09, 2021 at 05:35:56PM -0400, Franklin, Jason wrote:
> Should bash, invoked with "--posix" or as "sh", omit the special
> treatment of variables such as GROUPS?
I would say no. Using all-caps variable names is a bad idea for
precisely this reason -- you never know when it'll be someth
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wno-parentheses -Wno-format-security
uname o
Greetings:
I discovered today that the GROUPS variable is special in Bash.
I moved some scripts to a new box, and they stopped working. On this
box, /bin/sh linked to /bin/bash instead instead of /bin/dash.
Scripts of of this form...
#!/bin/sh
GROUPS='foo bar'
# do something with $GROUPS
On Mon, 9 Aug 2021, Gyorgy Matyasfalvi wrote:
Bash Version: 5.1
Patch Level: 8
Release Status: release
Description:
When a regex matches inside [[ ]] it results in a malloc error.
Whereas if it doesn't you get expected behavior.
Take the code below:
---
On Mon, Aug 09, 2021 at 01:08:32PM -0400, Gyorgy Matyasfalvi wrote:
> Machine: ia64
> OS: hpux11.31
> Compiler: cc
> Compilation CFLAGS: -O -I/usr/local/include -D_XOPEN_SOURCE_EXTENDED +DD64
> uname output: HP-UX sovmh352 B.11.31 U ia64 1429105484 unlimited-user
> license
> Machine Type: ia64-hp-h
Hello,
Would like to report the following:
###
Configuration Information [Automatically generated, do not change]:
Machine: ia64
OS: hpux11.31
Compiler: cc
Compilation CFLAGS: -O -I/usr/local/include -D_XOPEN_SOURCE_EXTENDED
Hello,
I have some more info. I tried with versions: 5.0.018 and 4.4.012 and I get
the same behavior.
Also, I'm installing Bash with depothelper (
http://hpux.connect.org.uk/hppd/cgi-bin/search?term=bash&Search=Search).
Best wishes,
Gyorgy
On Mon, Aug 9, 2021 at 1:08 PM Gyorgy Matyasfalvi
wrote