summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@shack.(none)>2010-05-05 00:14:43 +0200
committerroot <root@shack.(none)>2010-05-05 00:14:43 +0200
commitcb2ffed83727b2d20d9d0a71bf55adc96c168e62 (patch)
treeec1cf290cc3c7a104457e1d56f64b2685424626c
parentc4fcfb77c6e96b72da28740cdc9fdd326e297c87 (diff)
noise/modules/zeit: strip zeros moar correct :-)
-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 ;;