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

case "$1" in
  (--help)
    echo "say current time" ;;
  (*)
    exec >>$NOISE_linefeed
    echo /set pitch 10
    case "$lang" in
      (de|'') date +'"Es ist %k Uhr %M."' >$NOISE_linefeed ;;
      (en|*-en) date +'"It is %k o clock and %M minutes"' >$NOISE_linefeed ;;
      (*) echo "Error: unsupported lang = $lang" >&2
    esac
    echo /set pitch ${noise_pitch-100}
esac 2>&1