Re:Which is not Posix
by maxnoe on Monday November 01, 2021 @03:54PM
(#29072127)
Arch uses zsh in the Installation Medium and bash as default shell of the code System, both have which as a builtin function.
[ Parent
| on HN ]
I wasn't referring to the installation medium, but the base image typically used for setting up servers/chroots/containers.
FWIW, Debian uses dash as its default shell. It does not appear to have which as a builtin.
Except the behavior of the builtin is not the same as the behavior of the program, and Arch's base package doesn't include the which command.
It's part of base-devel.
Thanks for pointing that out! I'll add it to my pacstrap invocations in the future.