spell.sh

来自「操作系统源代码」· Shell 代码 · 共 18 行

SH
18
字号
case $# in1)	prep $1 | sort -u | comm -23 - /usr/lib/dict/words	;;3)	if [ x$1 = "x-d" ]	then if [ ! -r /usr/lib/dict/$2 ]	     then echo The dictionary file /usr/lib/dict/$2 is not readable		  exit	     fi	     prep $3 | sort -u | comm -23 - /usr/lib/dict/$2	else echo Usagex: spell [-d dict] file	fi	;;*)	echo Usage: spell [-d dict] file	;;esac

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?