summaryrefslogtreecommitdiffstats
path: root/modules/vvs
blob: fc23375f8a89694cf511f25f351204b33280be56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

wrapper() {
  exec 2>&1
  echo date: `date +%H:%M`
  "$@"
}

case "$1" in
  (--help) echo query VVS ;;
  (*)
    case $# in
      (2) wrapper vvs.de "$@" ;;
      (0) wrapper vvs ;;
      (*) echo "Syntax: /vvs [ORIGIN DESTINATION]" ; return ;;
    esac
esac