for i in cat ./nowcoder.txt

do

length=echo -n $i|wc -c

if [ $length -lt 8 ]

then

echo $i

fi

done