Why does this work: $ [[ $(cat) == "a b" ]] <<< "a b" > potato && rm potato && echo yes yes
But this is an error? $ [[ $(cat) == "a b" ]] <(echo a b) > potato && rm potato && echo yes bash: syntax error near unexpected token `<(echo a b)' It actually seems to exclude <(subcommands) from all trailing blocks? $ if true; then cat; fi <(echo hello) bash: syntax error near unexpected token `<(echo hello)' Maybe it's related to restartability? $ a() { cat; } <<< potatosalad $ a potatosalad $ a potatosalad $ a() { cat; } <(echo hello) bash: syntax error near unexpected token `<(echo hello)' Curious, Rob _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net