Ask Question
28 February, 07:03

What happens when you use diff to compare two binary files that are not identical? (You can use gzip to create the binary files.) Explain why the diff output for binary files is different from the diff output for ASCII files.

+5
Answers (1)
  1. 28 February, 10:28
    0
    When there's a comparison between binary files with diff, there's a message from the utility that says there's a difference when the files differ or there's no message when the two are same. ASCII files comparison is made by the diff utility line-by-line. there's no provision to make comparisons on a byte by byte basis. in that case use cmp.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What happens when you use diff to compare two binary files that are not identical? (You can use gzip to create the binary files.) Explain ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers