[Touch-packages] [Bug 1453597] [NEW] Builtins don't have help (-h or --help) option

2015-05-10 Thread John Samuel
Public bug reported: Bash builtins like doesn't have -h (or --help) option. $ alias -h bash: alias: -h: invalid option alias: usage: alias [-p] [name[=value] ... ] $ builtin -h bash: builtin: -h: invalid option builtin: usage: builtin [shell-builtin [arg ...]] $ apt-cache policy bash bash:

[Touch-packages] [Bug 1405478] Re: invokation with -h doesn't correpond to usage instructions

2015-05-10 Thread John Samuel
This feature is desirable for all other builtins. It looks like builtins only use the short versions of options and not the long versions. Reference: https://sources.debian.net/src/bash/4.3-12/builtins/jobs.def/#L242 while ((opt = internal_getopt (list, ahr)) != -1) { switch (opt)

[Touch-packages] [Bug 1433155] Re: bash kill -l builtin gives wrong numbers for SIGRTMIN+n signals

2015-04-19 Thread John Samuel
On executing the following command $ grep SIGRTMIN /usr/include/ -r /usr/include/asm-generic/signal.h:#define SIGRTMIN 32 /usr/include/x86_64-linux-gnu/asm/signal.h:#define SIGRTMIN 32 /usr/include/x86_64-linux-gnu/bits/signum.h:#define SIGRTMIN (__libc_current_sigrtmin ())