if [ "$1" = "-h" -o "$3" = "" ];then
    echo -e " \
Usage:	`basename $0` <nodeliste> <zone> <region to extract>
		extracts the given region, under the given zone, to stdout "
else    
NODELIST=$1
ZONE=$2
REGION=$3
cat $NODELIST | grep "^Zone,$ZONE,"
cutnl -r $REGION < $NODELIST
fi
