I may have a problem:
$ tmux list-windows -a -F '#{window_panes}' | bb -I '(apply + *input*)'
93
+:achievementunlocked:
so babashka calls read on each line of input to make *input*
?
yes, when -I
is used
A problem with babashka, or a problem with too many tmux windows to keep track of? 🙂
Haha
Related to that, I searched around for ways to sum up numbers, and the other options range from mildly opaque to downright cryptic.
The babashka version is definitely the most straightforward, especially to a clojurian
things like awk '{total += $1}END{ print total}'