mirror of https://github.com/lnbook/lnbook
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
192 B
Bash
4 lines
192 B
Bash
5 years ago
|
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
|