$ diff <(command1 arg1 arg2) <(command2 arg)
but I did not like the output of that, because it has all the usual diff notations for line numbers extra. I just needed a clean/exact difference of the two files, so I came up with this:
$ cat <(command1 arg1 arg2) <(command2 arg) | sort | uniq -u
No comments:
Post a Comment