clj-on-windows

borkdude 2022-10-24T16:45:27.828279Z

Well, it surely helps that EDN doesn't support backticks... I'm trying to pass an expression with a backtick to one of my programs, but this is... hard - platform-independently hard ;)

borkdude 2022-10-24T16:47:46.497239Z

Like this works:

$ ./node_cli.js -e '(prn `(assoc {} :foo :bar))'
but this doesn't?
$ npx cherry -e '(prn `(assoc {} :foo :bar))'
sh: -c: line 0: unexpected EOF while looking for matching ``'
sh: -c: line 1: syntax error: unexpected end of file

borkdude 2022-10-24T16:48:35.156579Z

oh and this works:

$ node_modules/.bin/cherry -e '(prn `(assoc {} :foo :bar))'
(assoc {} :foo :bar)
So it seems to be bash vs sh here