Skip to main content
3 of 3
deleted 1 character in body
chepner
  • 7.8k
  • 1
  • 29
  • 28

Your problem is that you are invoking sh and not bash for your script in the shebang line. The syntactical convention of <(command) is a bashism that does not exist when invoked via sh, which emulates the POSIX shell (if /bin/sh is a symlink to /bin/bash).

DopeGhoti
  • 79.2k
  • 10
  • 107
  • 141