#!/bin/bash

read line < nowcoder.txt
for i in $line
    do
        if ((${#i} < 8))
        then
            echo $i
        fi
    done