题解 | 打印字母数小于8的单词
打印字母数小于8的单词
https://www.nowcoder.com/practice/bd5b5d4b93a04226a81afbabf0be797d
#!/bin/bash words=$(cat nowcoder.txt) for word in $words do if [ ${#word} -lt 8 ];then echo $word fi done
打印字母数小于8的单词
https://www.nowcoder.com/practice/bd5b5d4b93a04226a81afbabf0be797d
#!/bin/bash words=$(cat nowcoder.txt) for word in $words do if [ ${#word} -lt 8 ];then echo $word fi done
相关推荐