The look command lists the lines of the sorted search file which begin with string. The look command uses a binary search, so words may be quickly looked up in a large file such as a dictionary.
For the search to give the expected results, file must be sorted in the same way as the options indicate (see sort).
If you do not specify file on the command line,
look uses a default file and assumes the
treats only letters and digits as significant in the search.
ignores the case of letters in the search.
lists all words in the default dictionary file that begin with the string stead.
contains the path name of the default dictionary. Since the default dictionary file is large, those users with a network file server may want to set this variable so that one copy of the file is shared.
contains the path name of PTC MKS Toolkit's root directory on Windows systems.
If DICTFILE is not defined, this is the default search file. (See envvar).
Possible exit status values are:
Successful completion (whether or not a match is found).
Failure due to any of the following:
Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. 4.2 BSD UNIX.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.4 Documentation Build 39.