32v 1m look

From Computer History Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

LOOK(1) UNIX Programmer's Manual LOOK(1)


NAME

    look - find lines in a sorted list

SYNOPSIS

    look [ -df ] string [ file ]

DESCRIPTION

    _L_o_o_k consults a sorted _f_i_l_e and prints all lines that begin
    with _s_t_r_i_n_g.  It uses binary search.
    The options d and f affect comparisons as in _s_o_r_t(1):
    d   `Dictionary' order: only letters, digits, tabs and
        blanks participate in comparisons.
    f   Fold.  Upper case letters compare equal to lower case.
    If no _f_i_l_e is specified, /_u_s_r/_d_i_c_t/_w_o_r_d_s is assumed with
    collating sequence -df.

FILES

    /usr/dict/words

SEE ALSO

    sort(1), grep(1)