A simple command-line utility for comparing two files byte by byte
bcmp [-h] [-v] file1 file2
-h
: Display help message-v
: Display version
bcmp file1.txt file2.txt
Compares file1.txt and file2.txt byte by byte.
bcmp -v
Displays the version of bcmp.
bcmp -h
Displays help message
Copyright (C) 2023 Ted John and ChatGPT
The program compares two files byte by byte and print the byte address and the value of the two bytes for each difference all in hexdecimal.