2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-18 21:28:03 +00:00
lnbook/progress.sh

4 lines
192 B
Bash
Executable File

D=$(wc ../bitcoinbook/ch* | grep "total" | awk '{print $3}')
N=$(wc ch* | grep "total" | awk '{print $3}')
echo 'print("{:2.2f} % Chars of Mastering Bitcoin".format('$N'*100/'$D'))' | python3