ack/mach/compare

8 lines
153 B
Plaintext
Raw Normal View History

case $# in
1) DEST="$1" ;;
2) DEST="$2" ;;
*) echo $0 [source] destination ;;
esac
1984-11-05 11:55:15 +00:00
MACH=`(cd .. ; basename \`pwd\`)`
cmp "$1" ../../../lib/${MACH}/$DEST