I want to know how to create a PATCH for the difference file I got by comparing two binary files. $cmp -l > output file name
I checked for text files \'diff\" can be
Diff and Patch are designed to work with text files, not arbitrary binary data. You should use something like bsdiff instead.