I am trying to use process overriding to avoid using temporary files. I tried the following:
diff <(echo "a") <(echo "b")
on mingw32 / msys (from http://www.mingw.org/ as of December 2013) and received:
sh: syntax error near unexpected token `('
Running the same thing on Ubuntu 12.04 returns:
1c1
< a
---
> b
In msys, I am probably using bash 3.1. I was wondering if it was possible to work around the problem so that the same work would be done in msys / old bash without using temporary files.
Thank.
source
share