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
Index: T g

⟦f48d8fcc3⟧ TextFile

    Length: 881 (0x371)
    Types: TextFile
    Names: »gather.sh«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/others/quipu/tools/dsaconfig/quipu/scripts/gather.sh« 

TextFile

: run this script through /bin/sh

if [ "x$1" = x ]; then
    echo "usage: gather.sh prefix objectClass" 1>&2
    exit 1
fi
prefix="$1"

if [ "x$2" = x ]; then
    echo "usage: gather.sh prefix objectClass" 1>&2
    exit 1
fi
class="$2"

if [ "x$class" = xtop ]; then
    FILTER=    
else
    FILTER="-filter objectClass=$class"
fi

if [ "x$3" = x ]; then 
    search -object "$prefix" -subtree $FILTER -nopartial \
	-type control -show -nokey -noname -nosequence \
	-nochaining -norefer \
	-nosizelimit >> $class.tmp
else
    eval `getweek.sh`

    if [ "$DN" = 1 ]; then
	cp $class.cnt history/$class.cnt
    fi

    tail -30 $class.cnt | \
	graph -a -l "30 day history of $class entries in $prefix as of ${Y}-${M}-${DN}" > \
	$class-30.graph
    cat      $class.cnt | \
	graph -a -l "Number of $class entries in $prefix as of ${Y}-${M}-${DN}" > \
	$class-total.graph
fi

exit 0