Output File from crcchk

If an output file is specified, then crcchk writes to this output file the name, length, and CRC value for each file that is listed in the input file, one file per line, as follows:

 length CRC "filename"

If the CRC in the input text file is a 32-bit CRC, then the CRC in the output file will also be a 32-bit CRC. If the CRC in the input text file is a 16-bit CRC, then the CRC in the output text file will be a 16-bit CRC.

Note: If an output file is specified but a file listed in the input file has no CRC, then crcchk checks the -l (letter el) flag. If -l is specified in this case, crcchk generates a 32-bit (long) CRC for the file. Otherwise, it defaults to generating a 16-bit CRC for the file.