blob: 37e3eb088570ec2f76c19c477782f52a7c38075a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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
|