bamUtil icon indicating copy to clipboard operation
bamUtil copied to clipboard

`bam diff` should exit with a return code

Open hisplan opened this issue 6 years ago • 0 comments

It would be great if bam diff returns an exit code (0 for identical, 1 for different) just like the diff command does. This will allow us to do something like:

$ bam diff --in1 sample1.bam --in2 sample2.bam --all --out cmp
$ test $? -eq 0 && echo "Identical" || echo "Different"

hisplan avatar Feb 28 '19 20:02 hisplan