opt=$1
shift

case $opt in
-p) (cat $ENT/$2.ent|ind ; zex $1 | awkpt $3 $4 $5 | tee $SRT )| page ;;
-g) (cat $ENT/$2.ent|ind ; zex $1 | awkgt $3 $4 $5 | tee $SRT )| page ;;
-i) (cat $ENT/$2.ent|ind ; zex $1 | awkg $3 $4 $5 | awkpt $3 $4 $6 |\
    tee $SRT )| page ;;
esac

awk ' { print $1 } ' $SRT | sort -nu > $BTP/liste.noet
echo ' '
echo "	 Etoiles selectionees:  "`grep -c '^.' $BTP/liste.noet`
echo ' '
