Display lines beginning with a prefix in a sorted file. Note: the lines in the file must be sorted. See also:
grep
,sort
. More information: https://man.openbsd.org/look.
look prefix path/to/file
look -f -d prefix path/to/file
look -t ,
/usr/share/dict/words
(-d
and -f
are assumed):look prefix