3 # This script uses the bash <(...) extension.
4 # If you want to change this to work with a generic /bin/sh, make sure
14 elif [ -f "$DT" ]; then
25 if [ -z "$IFORMAT" ]; then
26 echo "Unrecognized format for $DT" >&2
30 $DTC -I $IFORMAT -O dts -qq -f -s -o - "$DT"
34 echo "Usage: dtdiff <device tree> <device tree>" >&2
38 diff -u <(source_and_sort "$1") <(source_and_sort "$2")