Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14465
| From | Hugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | 'complete' not working as documented |
| Date | 2018-08-11 08:14 +0300 |
| Message-ID | <mailman.4974.1533964469.1292.bug-bash@gnu.org> (permalink) |
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-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale$ uname output: Linux hugo-agile 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-unknown-linux-gnu Bash Version: 4.4 Patch Level: 18 Release Status: release Description: Bash manual says 'complete ... -D ... name' should be correct, whatever between -D and name applying to the completion on a command for which completion has not been previously defined. However, $ complete -W aa -D -S name aabbname results in '-W aa' also applying for the default completion, and '-S name' also applying for the completion on aabbname. In addition, $ complete -p -D shows the options reordered as follows complete -W 'aa' -S 'name' -D and $ complete -p aabbname shows nothing, indicating that the completion for aabbname has never been defined.
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
'complete' not working as documented Hugo Gabriel Eyherabide <hugogabriel.eyherabide@gmail.com> - 2018-08-11 08:14 +0300
csiph-web