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|--ignore-case]}} {{[-d|--alphanum]}} {{prefix}} {{path/to/file}}
look {{[-t|--terminate]}} {{,}}
/usr/share/dict/words (--alphanum and --ignore-case are assumed):look {{prefix}}