function xm_list () { PATH_XM=/home/dhannequin/vm_config DIALOG=${DIALOG=dialog} ${DIALOG} --clear --backtitle "Xen Management" \ --ok-label "Valider" --cancel-label "Precedent" --menu "Faite un choix :" 20 100 4 \ $(for file in ${PATH_XM}/*; do content_file=`basename ${file}`; echo ${content_file%.conf} ${content_file%.conf}); done` \ 2> ${FICHTMP} }