Ask Question
14 February, 05:08

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.

+2
Answers (1)
  1. 14 February, 07:52
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers