I am new to babashka. When I run a script it appears to do nothing. On cygwin:
$ bb --version
babashka v1.1.172
$ bb '(+ 1 2 3)'
6
$ echo '(+ 1 2 3)' > t.clj
$ cat t.clj
(+ 1 2 3)
$ bb t.clj
<== nothing here!
The same thing is happening on the Windows command prompt.
never mind - the
--prn
option worked:However, the related section on the babashka book has the script just like I have it on my question and does not mention the need to use the
--prn
option