#file=geisa_post_histo #on entry: $menu_opt=...Histo=hhh&... (POST method) #on exit: defines $histo=",histo='hhh'" # $execute_parms=$execute_parms$histo ifs=$IFS;IFS="&";histo=;for s in $menu_opt;do l=`expr "$s" : 'Histo=\(.*\)'`;[ "$l" ]&&{ histo=",histo='$l'";break;} done;IFS=$ifs [ "$histo" ]|| { echo "" echol "Erreur: Aucun histogramme sélectionné" "Error: No selected histogram" echo "!
" error=1 } execute_parms=$execute_parms$histo