awk -F '[/ :]' '($4=="[23" && $5=="Apr" && $6==2020 && $7>=20 && $7<=23){print $1}' | sort |uniq | wc -l

方法一:

awk直接暴力破解

方法二:

grep 和 awk组合