It is /bin/sh which is a symlink to bash on Archlinux. On 1/22/21 12:27 AM, Eduardo Bustamante wrote:
Greg pointed out earlier that the construct you're trying to use doesn't work well when the shell is not Bash. Are you 100% confident that it is /bin/bash that is running the script and not /bin/sh (and thus maybe something like Dash?). And keep in mind that even Bash running as /bin/sh is not quite the same as Bash running as /bin/bash.