[Bug 2017499] [NEW] Bash completion broken for -exec[tuable]
erik cervin edin
2017499 at bugs.launchpad.net
Mon Apr 24 08:59:23 UTC 2023
Public bug reported:
Steps to reproduce:
Type
find -exec<TAB>
where <TAB> is a literal Tab, results in the error
-bash: COMP_WORDS: bad array subscript
being printed (to stderr?)
Expected:
Probably no-op, since both -exec and -executable are valid flags.
Instead:
-bash: COMP_WORDS: bad array subscript
Is "auto-completed", except it's not. I'm guessing it's written to stderr.
System information:
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Apr 24 10:44:59 2023
Dependencies:
DistroRelease: Ubuntu 22.04
Package: bash-completion 1:2.11-5ubuntu1
PackageArchitecture: all
ProcCpuinfoMinimal:
processor : 31
vendor_id : AuthenticAMD
cpu family : 25
model : 33
model name : AMD Ryzen 9 5950X 16-Core Processor
stepping : 0
microcode : 0xffffffff
cpu MHz : 3393.618
cache size : 512 KB
physical id : 0
siblings : 32
core id : 15
cpu cores : 16
apicid : 31
initial apicid : 31
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat umip vaes vpclmulqdq rdpid fsrm
bugs : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips : 6787.23
TLB size : 2560 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
Tags: jammy uec-images wayland-session
Uname: Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
UpgradeStatus: Upgraded to jammy on 2022-12-05 (139 days ago)
_MarkForUpload: True
** Affects: bash-completion (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/2017499
Title:
Bash completion broken for -exec[tuable]
Status in bash-completion package in Ubuntu:
New
Bug description:
Steps to reproduce:
Type
find -exec<TAB>
where <TAB> is a literal Tab, results in the error
-bash: COMP_WORDS: bad array subscript
being printed (to stderr?)
Expected:
Probably no-op, since both -exec and -executable are valid flags.
Instead:
-bash: COMP_WORDS: bad array subscript
Is "auto-completed", except it's not. I'm guessing it's written to stderr.
System information:
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Apr 24 10:44:59 2023
Dependencies:
DistroRelease: Ubuntu 22.04
Package: bash-completion 1:2.11-5ubuntu1
PackageArchitecture: all
ProcCpuinfoMinimal:
processor : 31
vendor_id : AuthenticAMD
cpu family : 25
model : 33
model name : AMD Ryzen 9 5950X 16-Core Processor
stepping : 0
microcode : 0xffffffff
cpu MHz : 3393.618
cache size : 512 KB
physical id : 0
siblings : 32
core id : 15
cpu cores : 16
apicid : 31
initial apicid : 31
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat umip vaes vpclmulqdq rdpid fsrm
bugs : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips : 6787.23
TLB size : 2560 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: bash-completion
Tags: jammy uec-images wayland-session
Uname: Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
UpgradeStatus: Upgraded to jammy on 2022-12-05 (139 days ago)
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/2017499/+subscriptions
More information about the foundations-bugs
mailing list