awk -F " " '{for(i=1;i<=NF;i++){if(length($i) < 8) print $i}}' nowcoder.txt

for i in $(cat nowcoder.txt); do
    if [ ${#i} -lt 8 ]; then
        echo ${i}
    fi
done

temp=$(cat nowcoder.txt)
arr=(${temp[*]})
for i in ${arr[*]}; do
    if [ ${#i} -lt 8 ]; then
        echo ${i}
    fi
done