#!/bin/bash

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