Hi, Just ran into some strange behavior:
$ cat test.sh #!/bin/sh echo hello >greeting cat <<EOF && $(cat greeting) EOF { echo $? cat greeting } >/dev/null $ sh test.sh hello test.sh: 7: {: not found 127 hello test.sh: 10: Syntax error: "}" unexpected bash, mksh, pdksh, and ksh93 all print hello as expected. The problem is reproducible with all versions of dash in the git repo. Ideas? Jonathan -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html