11 lines
140 B
Plaintext
Executable file
11 lines
140 B
Plaintext
Executable file
case $# in
|
|
1) DEST="$1"
|
|
SRC=`basename $DEST`
|
|
;;
|
|
2) DEST="$2"
|
|
SRC="$1"
|
|
;;
|
|
*) echo $0 [source] destination ;;
|
|
esac
|
|
cmp "$SRC" ../../$DEST
|