首页

look

look
功能说明:查询单字。
语  法:look [-adf][-t<字尾字符串>][字首字符串][字典文件]
补充说明:look指令用于英文单字的查询。您仅需给予它欲查询的字首字符串,它会显示所有开头字符串符合该条件的单字。
参  数:
  -a   使用另一个字典文件web2,该文件也位于/usr/dict目录下。
  -d   只对比英文字母和数字,其余一慨忽略不予比对。
  -f   忽略字符大小写差别。
  -t<字尾字符串>   设置字尾字符串。

look

look [options] string [file]

Search for lines in file (/usr/dict/words by default) that begin with string.

Options

-a

Use alternate dictionary, /usr/dict/web2.

-d

Compare only alphanumeric characters.

-f

Search is not case-sensitive.

-t character

Stop checking after the first occurrence of character.