look

Display lines beginning with a prefix in a sorted file. See also: grep, sort. More information: https://keith.github.io/xcode-man-pages/look.1.html.

look prefix path/to/file

look -f|-ignore-case -d|-alphanum prefix path/to/file

look -t|-terminate ,

look prefix