"ladyrick" writes:
> Description:
> A heredoc starts with "cat <<'EOF'" is expected to not expand
> anything just like in a single quote string. But when this
> heredoc is in a $() or <(), history is expanded.
>
>
> Repeat-By:
> This works:
> ```
> cat <<'EOF'
> !!
> EOF
>
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA
Hello,
While using test -v, I noticed that it returns false when I use it
with a sparse or empty array. I need to add [@] or [index] to have it
return true.
Is this expected? If so, it is not documented. It only has:
"True if the shell variable varname is set (has been assigned a value)."
I'm u
On Fri, May 29, 2020 at 11:40 AM Chet Ramey wrote:
>
> On 5/28/20 6:12 PM, Keith Thompson wrote:
> > Configuration Information [Automatically generated, do not change]:
> > Machine: x86_64
> > OS: linux-gnu
> > Compiler: gcc
> > Compilation CFLAGS: -g -Wno-parentheses -Wno-format-security
> > unam
On 5/28/20 6:12 PM, Keith Thompson wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -g -Wno-parentheses -Wno-format-security
> uname output: Linux bomb20 5.4.0-31-generic #35-Ubuntu SMP Thu May 7
> 2
Date:Thu, 28 May 2020 15:12:47 -0700
From:Keith Thompson
Message-ID:
| Program received signal SIGSEGV, Segmentation fault.
| 0x7777eddb in ?? () from /lib/x86_64-linux-gnu/libnss_systemd.so.2
| (gdb) where
| #0 0x7777eddb in ?? () from
/l