A beginner question: How do I use pipe or stdin with planck.shell/sh
?
For example, how do I run a shell command which equals to this?
$ psql dbname < sql-file-name.sql
or
$ cat sql-file-name.sql | psql dbname
@tap (shell/sh "sh" "-c" "some command string with pipes")
@tap reading lines from *in*
is discussed here http://planck-repl.org/scripts.html
That solves my issue. Thank you so much, Mike.