I was running a script through mksh, ash, dash and bash.
I noticed this: with dash 0.5.7 from pkgsrc, the following example code does not emit an error:
#! /usr/bin/env dash
if [ "$a" = "1" ]; then
However, with dash 0.5.6.1 and later 0.5.7 built from SBo (I just changed the version number in the SlackBuild), I get:
./script: 6: ./script: :: not found
Am I using it wrongly? I didn't see any relevant patches in the pkgsrc version, but maybe I'm missing something? The man page of dash mentions : as a builtin, if I'm not mistaken.