look - find lines in a sorted list
look [ -df ] string [ file ... ]
Look uses a binary search against a sorted file to print out all lines that begin with the given string.
It does make use of Perl's
use locale pragma.
The -d and -f options affect comparisons as in sort(1):
`Dictionary' order: only non-alphanumerics and underscores participate in comparisons.
Fold. Upper case letters compare equal to lower case.
If no file is specified, /usr/dict/words (or /usr/share/dict/words if the former is missing) is assumed with a collating sequence -df.
sort(1), grep(1), perllocale
look has no known bugs.
The Perl implementation of look was written by Tom Christiansen, firstname.lastname@example.org.
This program is copyright (c) Tom Christiansen 1999.
This program is free and open software. You may use, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.