1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
fichier=`$DIALOG --stdout --title "Choisissez un journal de connexion web" --fselect $HOME/sbz29/SR 0 0`
choix1=$?
case $choix1 in
0)
$DIALOG --stdout --no-tags --radiolist "Options disponibles" 0 0 4 1 "test1" off 2 "test2" off;;
choix2 = $?
case $choix2 in
0)
datechoisie=`$DIALOG --stdout --title "Calendrier" --calendar "Choisissez une date..." 0 0 7 7 2007`
./traitement d=$datechoisie $fichier;;
esac
1)
echo "Appuyé sur Annuler.";;
255)
echo "Appuyé sur Echap.";;
esac |