|
|
1.1 ! root 1: .\" Copyright (c) 1990 The Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted provided ! 5: .\" that: (1) source distributions retain this entire copyright notice and ! 6: .\" comment, and (2) distributions including binaries display the following ! 7: .\" acknowledgement: ``This product includes software developed by the ! 8: .\" University of California, Berkeley and its contributors'' in the ! 9: .\" documentation or other materials provided with the distribution and in ! 10: .\" all advertising materials mentioning features or use of this software. ! 11: .\" Neither the name of the University nor the names of its contributors may ! 12: .\" be used to endorse or promote products derived from this software without ! 13: .\" specific prior written permission. ! 14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 17: .\" ! 18: .\" @(#)look.1 6.4 (Berkeley) 7/24/90 ! 19: .\" ! 20: .Dd July 24, 1990 ! 21: .Dt LOOK 1 ! 22: .Os BSD 4.4 ! 23: .Sh NAME ! 24: .Nm look ! 25: .Nd display lines beginning with a given string ! 26: .Sh SYNOPSIS ! 27: .Nm look ! 28: .Op Fl df ! 29: .Ar string ! 30: .Op Ar file ! 31: .Sh DESCRIPTION ! 32: The ! 33: .Nm Look ! 34: utility searchs a text ! 35: .Ar file ! 36: for all ! 37: matches of ! 38: .Ar string . ! 39: The ! 40: .Ar file ! 41: must be sorted for ! 42: .Nm look ! 43: to work properly. If ! 44: .Ar file ! 45: is not specified, the file ! 46: .Pa /usr/share/dict/words ! 47: is used. ! 48: .Pp ! 49: Options: ! 50: .Tw Ds ! 51: .Tp Ar d ! 52: Dictionary character set and order. ! 53: .Tp Ar f ! 54: Ignore case. ! 55: .Tp ! 56: .Sh FILES ! 57: .Dw /usr/share/dict/words ! 58: .Di L ! 59: .Dp Pa /usr/share/dict/words ! 60: A spelling dictionary. ! 61: .Dp ! 62: .Sh SEE ALSO ! 63: .Xr sort 1 , ! 64: .Xr grep 1 ! 65: .Sh HISTORY ! 66: .Nm Look ! 67: appeared in Version 7 AT&T Unix.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.