File: report-edit

package info (click to toggle)
dialog 1.1-20120215-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,740 kB
  • sloc: ansic: 14,903; sh: 7,688; makefile: 392; perl: 355; python: 164
file content (22 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: report-edit,v 1.3 2010/01/13 09:59:43 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