On 5/28/19 12:09 PM, Greg Wooledge wrote: > On Wed, May 29, 2019 at 02:04:10AM +1000, G. Branden Robinson wrote: >> In fact, the bash-doc package contains dozens of examples. However, I >> don't see anything named "rm". (I'm looking at bash-doc 5.0-4 in Debian >> 10, "buster".) > > Looks like they're supposed to be in bash-builtins. > > wooledg:~$ apt-cache search --names-only bash > bash - GNU Bourne Again SHell > bash-builtins - Bash loadable builtins - headers & examples > bash-doc - Documentation and examples for the GNU Bourne Again SHell > bash-static - GNU Bourne Again SHell (static version) > [...] > > However, it doesn't appear that all of them are being included: > > wooledg:~$ dpkg -L bash-builtins | grep rm > /usr/lib/bash/rmdir > /usr/share/doc/bash/examples/loadables/rm.c > /usr/share/doc/bash/examples/loadables/rmdir.c > > Might be better to ask about this on a Debian mailing list.
Arch Linux provides the builtins in the main bash package, and we too have most but not all. Looking at examples/loadables/Makefile.in, only the ones listed in ALLPROG are installed -- rm is in OTHERPROG, so this is Chet's decision to not have them installed by default. -- Eli Schwartz Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature