ack/mach/compare
keie d72ad93216 Allows optional second argument.
This is the name of the destination file. The destination directory
is determined by compare.
1985-01-11 16:46:02 +00:00

8 lines
153 B
Plaintext
Executable file

case $# in
1) DEST="$1" ;;
2) DEST="$2" ;;
*) echo $0 [source] destination ;;
esac
MACH=`(cd .. ; basename \`pwd\`)`
cmp "$1" ../../../lib/${MACH}/$DEST