[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loadables/rm not POSIX compliant

From: Eli Schwartz
Subject: Re: loadables/rm not POSIX compliant
Date: Tue, 28 May 2019 12:15:14 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

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

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]