cat <(echo yes)
Displays "yes". And running this inside sh -m results in the same thing on Bash 5.2.15.
Yet on Bash 4.4.20 it throws an error:
sh -c "cat <(echo yes)"
sh: -c: line 0: syntax error near unexpected token `('
Why the error?
Are there any other ways sh -c differs from running sh and then typing the command?