Reformat code

This commit is contained in:
Yifan Gao
2020-06-28 20:41:21 +08:00
parent 6f9976598d
commit 052696c5b5
2 changed files with 20 additions and 20 deletions

10
stat.sh
View File

@@ -5,11 +5,11 @@ cd result
for file in *.txt; do
echo ${file%.*}
if [[ $file == *6.txt ]]; then
#statistics IPv6 /48 blocks
base=48
else
base=32
fi
#statistics IPv6 /48 blocks
base=48
else
base=32
fi
cat $file |
awk -F\/ '{print $2}' |
(