You are not logged in.
Pages: 1
This article discusses dash as bin/sh:
https://wiki.archlinux.org/title/Dash#U … as_/bin/sh
Does this mean that "bash" is not needed. (I have another post about use of makepkg with other shells.)
Last edited by Gregory_M (2025-07-13 11:07:38)
Offline
It's not just makepkg, pacman itself uses bash, so yeah, it's required on an Arch system, regardless of what /bin/sh is.
Last edited by Scimmia (2025-07-13 11:34:56)
Online
x-ref, https://bbs.archlinux.org/viewtopic.php?id=306946
Also pretty obviously an https://en.wikipedia.org/wiki/XY_problem - what's the point of your inquiries?
To add to Scimmia's answer: bash, zsh and dash (and even the busybox ash) can function as POSIX /bin/sh, but if a script shebangs /bin/bash or /bin/zsh you can expect it to be full of bashisms and zshisms which are mutually not compatible (and certainly not covered by the "simpler" shells)
Als nb. that even though zsh largely overlaps w/ bash what might lure you into thinking that you could just symlink /bin/bash to /bin/zsh, there's a super-mean trap because array indexes start at 1 resp. 0 (and some other but more fringe diverging details)
tl;dr: you *need* bash, you *want* zsh and there's almost no point in an additional dash anymore since bash constrains to POSIX and runs much leaner when invoked as /bin/sh.
Online
Pages: 1