blob: a6160fbc3fe8a222300b3ccde9329d507a3a4930 [file] [log] [blame]
#!/bin/sh
# This script is to customize the output of 'diff' command, to be more human-readable
# for this specific case of list lines in one file, that are not in another
diff \
--old-line-format=' %l
' \
--new-line-format='> %l
' \
--old-group-format='%<' \
--new-group-format='%>' \
--changed-group-format='%df%(f=l?:,%dl)c%dF%(F=L?:,%dL)
%<---
%>' \
--unchanged-group-format='' \
$1 $2