💾 Archived View for hajime.4teri.de › dotfiles › file › scripts › bincount.sh.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
bincount.sh - dotfiles - Collection of my dotfiles
---
bincount.sh (242B)
---
1 #! /bin/sh
2 bin="$(/usr/bin/ls /usr/bin | wc -l)"
3 local_bin="$(/usr/bin/ls /usr/local/bin | wc -l)"
4
5 dc_args="$bin $local_bin + pq"
6
7 total="$(echo "$dc_args" | dc)"
8
9 echo "/usr/bin: $bin"
10 echo "/usr/local/bin: $local_bin"
11 echo "total: $total"
generated w/ stagit-gemini