42-archive/nm-otool/scripts/otooldiff.sh

7 lines
140 B
Bash
Executable file

#!/usr/bin/env zsh
diff <(./ft_otool $@) <(otool $@)
if [ $? -eq 0 ]; then
echo "otool $@\t OK ✅ "
else
echo "otool $@\t ERROR ✅ "
fi