LOOK.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH LOOK 1
- .SH NAME
- look - find lines in a sorted list
- .SH SYNOPSIS
- .B look
- .RB [ -df ]
- .I string
- .RI [ file ]
- .SH DESCRIPTION
- .B Look
- consults a sorted file and prints all lines that begin with
- .IR string .
- It uses binary search. The options
- .B -d
- and
- .B -f
- affect comparisons as in
- .BR sort (1).
- If no file is specified,
- .B /usr/lib/dict/words
- is assumed with collating sequence
- .BR -df .
- .SH OPTIONS
- .TP 5
- .B -d
- Dictionary order: compare letters, digits and whitespace.
- .TP 5
- .B -f
- Fold. Upper case letters compare equal to lower case.
- .SH FILES
- .TP 25
- .B /usr/lib/dict/words
- Sorted list of English words.
- .SH "SEE ALSO"
- .BR sort (1),
- .BR spell (1).
- .SH AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)