exec 0< nowcoder.txt num=0 while read line do num=[[num + 1] if [ numeq5]thenechonum -eq 5 ] then echo line fi done