summaryrefslogtreecommitdiffstats
path: root/modules/zeit
diff options
context:
space:
mode:
authortv <tv@also>2010-05-05 00:15:34 +0200
committertv <tv@also>2010-05-05 00:15:34 +0200
commit75d12a3ba0c0a2bc9adaeb6660757d8dfdff6f1e (patch)
treee0bcc7c213414f7ab7c7dd91a80b921dc737d733 /modules/zeit
parentf8baa03a2857b769130833970fd564c8d9b56d06 (diff)
parentcb2ffed83727b2d20d9d0a71bf55adc96c168e62 (diff)
Merge ssh://shack/~/noise
Diffstat (limited to 'modules/zeit')
-rwxr-xr-xmodules/zeit4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/zeit b/modules/zeit
index 340d6fce..75ffc20a 100755
--- a/modules/zeit
+++ b/modules/zeit
@@ -5,8 +5,8 @@ case "$1" in
echo "say current time" ;;
(*)
exec >>$NOISE_linefeed
- eval `date +'k=%k ; M=%M'`
- M=`echo $M | sed 's/0*//'`
+ k=`date +%k`
+ M=`date +%M|sed 's/0*//'`
echo /set pitch 10
case "$lang" in
(de|'') echo " Es ist $k Uhr $M" >$NOISE_linefeed ;;