On Thu, Jun 05, 2025 at 11:12:43PM -0400, Greg Wooledge wrote: > On Fri, Jun 06, 2025 at 12:55:34 +1000, Duncan Roe wrote: > > On Thu, Jun 05, 2025 at 06:55:55AM -0400, Greg Wooledge wrote: > > > On Thu, Jun 05, 2025 at 12:34:44 +0200, microsuxx wrote: > > > > i installed bash dev , but there is no `help cut` > > > > > > It's a "loadable builtin". You have to build those, install them, > > > and then load the "cut" builtin explicitly. > > > > > `make install` does put the binaries in /usr/lib/bash, but not all > > distributions > > publish /usr/lib/bash. It's an optional extra in Debian / Ubuntu: see > > https://bugzilla.redhat.com/show_bug.cgi?id=2369713 (scroll to read the > > description). > > I don't know why I would read a redhat.com web page to learn about > Debian or Ubuntu. I'm aware that there's a "bash-builtins" package > in Debian which provides them (for Debian's version of bash).
If you had followed the link you would have found out why (it's my bug report). > > However, xmb's question was about "bash dev", which I'm reading as > "bash compiled from source code". If one is building bash from source, > then the loadable builtins would also need to be built and installed > before they can be used. > If one is building bash from source, then (most of) the loadable builtins are built and installed (at least since bash 4.4). Cheers ... Duncan.