tr ",." " " < nowcoder.txt | awk '{for(i=1;i<=NF;i++) {if(length($i) < 8) print $i}}' 若是文件中有,.,将其转换为空格