2 .\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LOOK 1 "Mar 29, 1994"
8 look \- find words in the system dictionary or lines in a sorted list
12 \fB/usr/bin/look\fR [\fB-d\fR] [\fB-f\fR] [\fB-t\fR\fIc\fR] \fIstring\fR [\fIfilename\fR]
18 The \fBlook\fR command consults a sorted \fIfilename\fR and prints all lines
19 that begin with \fIstring\fR.
22 If no \fIfilename\fR is specified, \fBlook\fR uses
23 \fB/usr/share/lib/dict/words\fR with collating sequence \fB-df\fR.
26 \fBlook\fR limits the length of a word to search for to 256 characters.
34 Dictionary order. Only letters, digits, \fBTAB\fR and \fBSPACE\fR characters
35 are used in comparisons.
44 Fold case. Upper case letters are not distinguished from lower case in
54 Set termination character. All characters to the right of \fIc\fR in
55 \fIstring\fR are ignored.
62 \fB\fB/usr/share/lib/dict/words\fR\fR
71 \fBgrep\fR(1), \fBsort\fR(1), \fBattributes\fR(5)