2a3e3873a1
Level up WARNS
24 lines
464 B
Bash
24 lines
464 B
Bash
#!/bin/sh
|
|
# $Id: report-edit,v 1.4 2012/06/29 09:29:41 tom Exp $
|
|
# Report results from editing.
|
|
# vile:shmode
|
|
|
|
case $retval in
|
|
$DIALOG_OK)
|
|
diff -c $input $output
|
|
echo "OK"
|
|
;;
|
|
$DIALOG_CANCEL)
|
|
echo "Cancel pressed";;
|
|
$DIALOG_HELP)
|
|
echo "Help pressed";;
|
|
$DIALOG_EXTRA)
|
|
echo "Extra pressed";;
|
|
$DIALOG_ITEM_HELP)
|
|
echo "Item-help button pressed.";;
|
|
$DIALOG_ERROR)
|
|
echo "ERROR!";;
|
|
$DIALOG_ESC)
|
|
echo "ESC pressed.";;
|
|
esac
|