Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux debvirt 6.0.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian
6.0.5-1 (2022-10-28)
On 16/12/2022 23:18, Chet Ramey wrote:
Your arguments undergo word expansion, including double-quote processing,
before compgen sees them.
Thank you very much for your thorough explanation. I also take this
opportunity to thank you for
https://lists.gnu.org/archive/html/bug-bash/2022-11/msg0
Well, it is said that directories sometimes harbor more than one item :)
Fabien (of1)
#!/usr/bin/env bash
[[ -e "/tmp/Dir\\A" ]] && exit 2
mkdir -p /tmp/Dir\\A/dirB/ /tmp/Dir\\A/dir\\C/
touch /tmp/Dir\\A/fileA "/tmp/Dir\\A/file\\ B"
f_c
On 27/06/2023 21:05, Kerin Millar wrote:
It doesn't work at all for >=5.2. The reason for this is interesting and I may
make a separate post about it.
Prior to 5.2, it can easily be tricked into printing names that do not exist.
$ VAR=$'\nNONEXISTENT=' ./declare-P | grep ^NONEXISTENT
NONEXISTE