1# $Id: report-edit,v 1.3 2010/01/13 09:59:43 tom Exp $ 2# Report results from editing. 3# vile:shmode 4 5case $retval in 6 $DIALOG_OK) 7 diff -c $input $output 8 echo "OK" 9 ;; 10 $DIALOG_CANCEL) 11 echo "Cancel pressed";; 12 $DIALOG_HELP) 13 echo "Help pressed";; 14 $DIALOG_EXTRA) 15 echo "Extra pressed";; 16 $DIALOG_ITEM_HELP) 17 echo "Item-help button pressed.";; 18 $DIALOG_ERROR) 19 echo "ERROR!";; 20 $DIALOG_ESC) 21 echo "ESC pressed.";; 22esac 23