[sr #111051] New commands: `-h`, `--help`

2024-04-18 Thread anonymous
/Linux ___ Follow-up Comments: --- Date: Thu 18 Apr 2024 07:03:31 AM UTC By: Anonymous Yesterday on my answer: 'You can always use `-h` / `--help`' they gave me reply: 'There isn

[bug #65638] Make error: two or more data types in declaration specifiers

2024-04-24 Thread anonymous
k: Any ___ Follow-up Comments: --- Date: Wed 24 Apr 2024 07:32:32 PM UTC By: Anonymous When attempting to compile BASH 5.2.21, after running the following configure command (on ArchLinux): ./configure --host=i686-w64-mingw32 --disable-win32-registry --d

[bug #65651] argument reference inconsistency

2024-04-27 Thread anonymous
mments: --- Date: Sun 28 Apr 2024 06:51:44 AM UTC By: Anonymous Try the following script w/ various sets of arguments and tell me if you see something weird! #!/bin/bash echo "script has $# arguments" echo "cmdline \$* = $*" echo "fir

[bug #65670] Bash is not memory safe.

2024-05-01 Thread anonymous
mments: --- Date: Wed 01 May 2024 11:39:28 PM UTC By: Anonymous $ bash --version | head -n1 GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu) $ valgrind --leak-check=full \ --track-origins=yes \ --verbose \ --log-file=valgri

[sr #111058] Problem transmitting script arguments

2024-05-04 Thread anonymous
/Linux ___ Follow-up Comments: --- Date: Sat 04 May 2024 10:08:41 AM UTC By: Anonymous I have the following problem with transmitting arguments to a bash script onward to an inside program call. Lets na

[bug #65981] "bash test -v" does not work as documented with "export KEY="

2024-07-12 Thread anonymous
Discussion Lock: Any ___ Follow-up Comments: --- Date: Sat 13 Jul 2024 02:15:01 AM UTC By: Anonymous The documentation of the [https://www.gnu.org/software/bash/manual/bash.html#Bash-Conditional-Expressions Bash-Conditional-Expressions] "

[bug #66068] built-in printf function not working with float

2024-08-06 Thread anonymous
low-up Comments: --- Date: Tue 06 Aug 2024 09:58:54 AM UTC By: Anonymous *Affected version: 5.2.32(1)* jesusm@liet:[~]$ bash --version GNU bash, version 5.2.32(1)-release (x86_64-slackware-linux-gnu) Copyright (C) 2022 Free Software Foundation, Inc. L

[bug #66363] "test" builtin command, -a arg not working as expected

2024-10-21 Thread anonymous
_ Follow-up Comments: --- Date: Mon 21 Oct 2024 10:18:53 AM UTC By: Anonymous $ test -n "" -a x -ge 4 bash: test: x: integer expression expected In the above shown, output, bash correctly reports that "x" isn't r

[sr #111125] compgen does not complete paths starting with environment variables when called indirectly

2024-09-25 Thread anonymous
: Open Discussion Lock: Any Operating System: GNU/Linux ___ Follow-up Comments: --- Date: Wed 25 Sep 2024 07:18:59 AM UTC By: Anonymous [I also posted this on Stackoverfl

[bug #66234] effect of redirecting stderr on checkwinsize undocumented

2024-09-19 Thread anonymous
Follow-up Comments: --- Date: Fri 20 Sep 2024 03:57:42 AM UTC By: Anonymous https://unix.stackexchange.com/a/779423 mentions a bash documentation omission: "Bash retrieves the window size from the terminal associated with its standard er

[bug #66412] Missing space in documentation

2024-11-06 Thread anonymous
mments: --- Date: Wed 06 Nov 2024 09:23:39 AM UTC By: Anonymous There's a tiny mistake in the "Pattern Matching" section of the documentation: A space is missing in "Theextglob option changes the behavior of the parser" (note: "ex

[bug #66445] Use after free in change_to_directory function

2024-11-15 Thread anonymous
mments: --- Date: Fri 15 Nov 2024 10:48:54 AM UTC By: Anonymous There two places, where use after free occurs in change_to_directory function defined in cd.def file. 1. First place: assign: Assigning: tdir = nolinks ? sh_physpath(t, 0) : sh_canon

[bug #66444] Use after free in expand_string_dollar_quote function

2024-11-15 Thread anonymous
low-up Comments: --- Date: Fri 15 Nov 2024 09:26:31 AM UTC By: Anonymous The static analyzer showed an error in function expand_string_dollar_quote (file: subst.c), where t variable is used after free: freed_arg: free frees t. 4290 f

[sr #111166] ngettext syntax

2024-12-27 Thread anonymous
/Linux ___ Follow-up Comments: --- Date: Fri 27 Dec 2024 07:15:13 PM UTC By: Anonymous For a while, bash has had support for a streamlined gettext support with $"", but that's basically t

[sr #111160] "Names matching prefix" expansion does not honor empty prefix

2024-12-07 Thread anonymous
ussion Lock: Any Operating System: None ___ Follow-up Comments: --- Date: Sat 07 Dec 2024 11:39:47 AM UTC By: Anonymous Doc currently: https://git.savannah.gnu.org/cgit/bash.git/tree/doc/b

[sr #111159] two obscure variable-indirection failures in non-interactive shells

2024-12-07 Thread anonymous
k: Any Operating System: Mac OS ___ Follow-up Comments: --- Date: Sat 07 Dec 2024 08:47:00 AM UTC By: Anonymous I recently discovered two distinct flaws in Bash’s variable-indir

[bug #66923] Manual states that $(cat x) and $(< x) being equivalent not strictly true

2025-03-18 Thread anonymous
Lock: Any ___ Follow-up Comments: --- Date: Tue 18 Mar 2025 01:30:06 PM UTC By: Anonymous Quote: ``` The command substitution $(cat file) can be replaced by the equivalent but faster $(< file). ``` This is not true in one case that

[sr #111211] `pipefail` leak/disablement

2025-03-24 Thread anonymous
/Linux ___ Follow-up Comments: --- Date: Mon 24 Mar 2025 07:47:14 AM UTC By: Anonymous = empty.sh = #!/usr/bin/bash set -x echo '---' &>/dev/null echo empty echo '

[sr #111224] custom completion not used after escaped semicolon

2025-04-10 Thread anonymous
rating System: GNU/Linux ___ Follow-up Comments: --- Date: Thu 10 Apr 2025 10:55:35 PM UTC By: Anonymous Given this function with completion: $ LC_ALL=C bash --norc bash-

[bug #67045] bash parsing error, when using readline, backslashes, and

2025-04-22 Thread anonymous
Follow-up Comments: --- Date: Tue 22 Apr 2025 08:41:19 PM UTC By: Anonymous When using readline, this happens $ echo hello\ > > world hello world $ $ echo helloworld Note, there is no issue when backslash is a word by itself