Fork me on GitHub
Jakub Šťastný18:07:42

Quick check: I want to pipe a string from BB into a process. Of course I do not want to deal with escaping the damn thing, as in (sh/sh "sh" "-c" "echo gpg-key-string | apt-key add -"). Seems to me that doesn't support that, is that correct? So I in fact need to use babashka.process, which allows me to do so via something like (-> (println gpg-key) (process '[apt-key add -])), is that the case?


@jakub.stastny.pt_serv babashka.process supports :in, so does


(process [...] {:in "foo"})

Jakub Šťastný18:07:25

Oh I missed that one. Thanks @borkdude!


If someone's interested in the bb-like thing for node, join #tbd. We've got reagent + ink working!


Also, need better name.

Cora (she/her)23:07:29

it's a bold name, and reminiscent of cmd.exe -> powershell


I like bbscript or bs for short, but that's probably bad for SEO

Cora (she/her)23:07:00

bbs for short isn't bad, it'll only confuse people generationally

Cora (she/her)23:07:48

ok, I really like bonk but I know that won't be picked

Cora (she/her)23:07:51

that links to dash, a very tiny posix-compliant shell, aims to be a lot smaller than bash

Cora (she/her)23:07:06

and dedushka is the russian word for grandpa

Cora (she/her)23:07:57

and it's not like anyone is using the command dd or anything 😛

😆 2