标签:dict usr echo div 查询 bash class style 单词
1 #!/bin/bash 2 word=`cat /usr/share/dict/linux.words` 3 for i in $word 4 do 5 if [ $1 = $i ];then 6 echo "$1存在" 7 exit 8 fi 9 done 10 echo "$1不存在"
标签:dict usr echo div 查询 bash class style 单词
原文地址:https://www.cnblogs.com/whybk/p/11601814.html