inspect - Inspect contents of files
inspect [ options ] file
Inspect describes the contents of file. If file is determined to be a NuFX (“SHK”), Compact Pro (“CPT”) or StuffIt (“SIT”) archive, its enclosed files, folders and disk images are listed. If file is determined to be a CompuServe GIF(tm) format graphic, information about its size and color depth is provided.
Inspect takes two options:
displays Binary II or MacBinary information if present.
identifies the file as a particular type, but does not list its contents. If the last argument given to list begins with ‘>’, it redirects output to the filename that follows.
Full support for self-extracting CPT and SIT archives is provided, but support for self-extracting SHK archives created by GS ShrinkIt is not.
Primitive support for “MOD” format music files is provided in that files beginning with “MOD.” or ending with “.MOD” list their internal music score names.
The ProDOS 8 filetype lookup table has been placed at the end of the program to facilitate modification or expansion by any BASIC programmer.
Inspect uses 16-bit CRC routines placed in the public domain by Jim Ferr.
“Could not load OMM module CRC” — the support module $/sys/modules/CRC could not be found and loaded into memory.
“NuFX master header damaged” — The file is determined to be a SHK archive, but its master header is not in the proper format.
“NuFX local header damaged” — The file is determined to be a SHK archive, but one or more of its entries are not in the proper format.
“StuffIt archive header damaged” — The file is determined to be a SIT archive, but its master header is not in the proper format.