dundalek/closh

File redirection issues

Closed this issue · 2 comments

File redirection seems to be broken when using functional pipes, e.g.:

echo hello | (clojure.string/upper-case) > tmp.txt

A workaround is to add a cat command and then redirect:

echo hello | (clojure.string/upper-case) | cat > tmp.txt

Fixed in master.