DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦eb809703e⟧ TextFile

    Length: 341 (0x155)
    Types: TextFile
    Names: »CMP«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/miscellany/tools/CMP« 

TextFile

: run this through /bin/sh

case $# in
    2)	;;
    *)	echo "usage: CMP dir1 dir2" 1>&2; exit 1 ;;
esac

for A in `hier -a echo $2 | sed -e s%$2%%`
do
    if [ ! -d $1$A ];
    then
	if [ -f $1$A ];
	then
	    if cmp -s $2$A $1$A;
	    then
		true
	    else
		echo $1$A: different
	    fi
	else
	    echo $1$A: non-existent
	fi
    fi
done