Hello, I stumbled over the following while trying to build xterm from sources with bash 4.2:
$:~> /bin/sh --version | head -n1 GNU bash, version 4.2.0(1)-release (i686-pc-linux-gnu) $:~> /bin/sh sh-4.2$ a="${b:-'/foo/bar'}" sh: bad substitution: no closing `}' in ${b:-'/foo/bar'} sh-4.2$ a="${b:-'bar'}" sh-4.2$ a="${b:-/foo/bar}" sh-4.2$ looks like bash, when called as sh, doesn't like the / character in single-quoted strings. Thanks Juergen -- Juergen Daubert | mailto:j...@jue.li Korb, Germany | http://jue.li/crux