42-archive/nm-otool/otooldiff.sh

7 lines
116 B
Bash
Executable file

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