channel infp
This commit is contained in:
parent
4e00711338
commit
be01f47b7a
2 changed files with 16 additions and 0 deletions
8
bin/chainfo
Executable file
8
bin/chainfo
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
awk '{print $2}' $1 |
|
||||
awk -F ":" '{print $1}' |
|
||||
cat - ~/Documents/nums |
|
||||
sort | uniq -c | sort -k2 |
|
||||
awk '{print $1-1}'
|
||||
|
8
bin/chfo
Executable file
8
bin/chfo
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
chainfo $1 > /tmp/chacha
|
||||
|
||||
MACS=$(sort -h /tmp/chacha | tail -n 1)
|
||||
|
||||
awk '{print $1/'$MACS'*100}' /tmp/chacha
|
||||
|
Loading…
Reference in a new issue