#!/bin/bash
s=`cat /usr/share/dict/linux.words`
for i in $s;do
if [ $1=$i ];then
echo "$1在字典中"
exit
fi
done
echo "$1不在字典中"
用shell脚本 编写 判断单词是否为字典的文件
猜你喜欢
转载自www.cnblogs.com/70xinshidai/p/11599137.html
今日推荐
周排行