Stuff
public text v1 · immutablefunction xm_list () {
PATH_XM=/home/dhannequin/vm_config/
DIALOG=${DIALOG=dialog}
for i in `ls ${PATH_XM}`
do
${DIALOG} --clear --backtitle "Xen Management" \
--ok-label "Valider" --cancel-label "Precedent" --menu "Faite un choix :" 20 100 4 \
# "machine1" "machine virtuelle 1 " \
# "machine2" "machine virtuelle 2" \
"${i}" "${i}" \
2> ${FICHTMP}
done
}