case $1 in
gK) FS=$1 ;;
Am) FS=$1 ;;
SB) FS=$1 ;;
*) FS=`nof $1` ;;
esac

echo ' '
echo -n " Donnez le nom du fichier a traiter:  "
read nom

zex $FS | awk ' { print $1 } ' > .T/noet.lst
awkr2 < $nom | sort -n +4 | awkumul > .T/$1.cum
fgrep -f .T/noet.lst .T/$1.cum > .T/file.oui
fgrep -v -f .T/noet.lst .T/$1.cum > .T/file.non

plt_cumul
