look.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 44 行

1
44
字号
.\" SCCSID: @(#)look.1	8.1	9/11/90.TH look 1.SH Namelook \- find lines in sorted data.SH Syntax.B look[\fB\-df\fR] \fIstring\fR [\|\fIfile\fR\|].SH Description.NXR "look command".NXR "file" "finding pattern".NXA "grep command" "look command".NXA "sort command" "look command"The.PN lookcommand consults a sorted.I fileand prints all lines that begin with.IR string .It uses binary search.B.SH OptionsThe options .B dand.B faffect comparisons as in.MS sort 1 .If no.I fileis specified, .PN /usr/dict/wordsis assumed with collating sequence.B \-df..IP \fB\-d\fR 5Uses dictionary order:only letters, digits,tabs and blanks can be compared..IP \fB\-f\fR Folds uppercase to lowercase (compares equally).   .SH Files/usr/dict/words.SH See Alsogrep(1), sort(1)

⌨️ 快捷键说明

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