|
|
1.1 ! root 1: .\" @(#)look.1 6.1 (Berkeley) 4/29/85 ! 2: .\" ! 3: .TH LOOK 1 "April 29, 1985" ! 4: .AT 3 ! 5: .SH NAME ! 6: look \- find lines in a sorted list ! 7: .SH SYNOPSIS ! 8: .B look ! 9: [ ! 10: .B \-df ! 11: ] ! 12: string ! 13: [ file ] ! 14: .SH DESCRIPTION ! 15: .I Look ! 16: consults a sorted ! 17: .I file ! 18: and prints all lines that begin with ! 19: .IR string . ! 20: It uses binary search. ! 21: .PP ! 22: The options ! 23: .B d ! 24: and ! 25: .B f ! 26: affect comparisons as in ! 27: .IR sort (1): ! 28: .TP 4 ! 29: .B d ! 30: `Dictionary' order: ! 31: only letters, digits, ! 32: tabs and blanks participate in comparisons. ! 33: .TP 4 ! 34: .B f ! 35: Fold. ! 36: Upper case letters compare equal to lower case. ! 37: .PP ! 38: If no ! 39: .I file ! 40: is specified, ! 41: .I /usr/dict/words ! 42: is assumed with collating sequence ! 43: .B \-df. ! 44: .SH FILES ! 45: /usr/dict/words ! 46: .SH "SEE ALSO" ! 47: sort(1), grep(1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.