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