#!/bin/bash# ----------------------------------------------nomlogiciel="$(basename "$0")"# FONCTION=""VERSION="alpha"# NOTES DE VERSIONS# ----------------------------------------------# à mettre au début d'un fichier bash#PID=$$#FIFO=/tmp/FIFO${PID}#mkfifo ${FIFO}# ----------------------------------------------echo "lancement $nomlogiciel..."
leTexte="Oui ou Non ?"zenity --question --text="test" --text="$leTexte"
# if [ $? -ne 0 ] ; then exit 1 ; fi ;
[[ $? -eq 0 ]] && echo "OUI" || echo "NON";
# [[ $? -ne 0 ]] && exit 1 ;
exit 0