On Fri, Apr 25, 2014 at 08:11:41AM +0200, Spiro Trikaliotis wrote: >Me too, but I use xxd instead: Thanks for the hint; I did not know about xxd. > http://cbmrom.trikaliotis.net/gitweb/?p=cbmrom.git;a=blob;f=check_utils.sh;h=3b4a47d9281baa747c9a85e96cae4c7d34ebd768;hb=master > >(lines 16-26) Nitpick: in /bin/sh you should write "$1" instead of $1, because the latter does not work when the file name contains shell meta-characters, such as spaces or ; < > &. (Recently at "$WORK" (the name contains spaces, so I have to use quotes) I learned that passing ; to a test harness script will cause breakage in a lot of places. Not nice when we really need to get the ; to the piece of software that is being tested.) >Anyway, in this special case, I only wanted to know if they are >identical. In this case, diff is enough. Right, you only wanted a Boolean answer, not a set of differences. Marko Message was sent through the cbm-hackers mailing listReceived on 2014-04-25 07:00:51
Archive generated by hypermail 2.2.0.