Re: [PATCH] Fix null environ crash in getenv() provided by lib/sh/getenv.c

2018-07-24 Thread Eric Blake
On 07/09/2018 09:16 AM, Chet Ramey wrote: On 7/8/18 7:21 AM, Keeley Hoek wrote: In running bash on an embedded target, bash crashes for the silly reason that environ is NULL. I haven't been able to tell whether this is actually permitted by the standard (as if?), but in bash I think this behavi

Re: "jobs" doesn't consistently expand function arguments

2018-07-24 Thread Chet Ramey
On 7/23/18 7:54 PM, Keith Thompson wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > The "jobs" command doesn't consistently expand function arguments > > Repeat-By: > For example: > > /bin/bash --login --noprofile > bash-4

Lacking documentation of colored-completion-prefix

2018-07-24 Thread Michal Pesa
Hello, documentation for the readline variable "colored-completion-prefix" doesn't state which part of the "LS_COLORS" is used. Thank you for your time. Configuration Information: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF

Re: Parameter indirection

2018-07-24 Thread konsolebox
On Mon, Jul 16, 2018 at 6:00 AM, Chet Ramey wrote: > True, though I think "variable indirection" is a more approachable way to > describe the feature. I think the description in the man page, and > especially the contexts where it appears, makes it clear that it works on > the `parameter' in ${[!]