diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2013-05-28 19:19:06 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2013-05-28 19:19:06 +0200 |
commit | 2d4e794774add2fde4f8a8544444ae7a0d85f0ad (patch) | |
tree | 7571219049d111e1eaf0692fdf6a70c5e5ae57a5 /bin/clock.sh | |
parent | 0990820adb2e10c069c971188101af39515b61f0 (diff) | |
download | dzen2-config-2d4e794774add2fde4f8a8544444ae7a0d85f0ad.tar.gz dzen2-config-2d4e794774add2fde4f8a8544444ae7a0d85f0ad.tar.xz dzen2-config-2d4e794774add2fde4f8a8544444ae7a0d85f0ad.zip |
clock: remove holiday marker if at end of line
Diffstat (limited to 'bin/clock.sh')
-rw-r--r-- | bin/clock.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/clock.sh b/bin/clock.sh index 0a36087..8b26f9f 100644 --- a/bin/clock.sh +++ b/bin/clock.sh @@ -27,6 +27,7 @@ do # remove leftover holiday marker s/:\(\( \|[0-9]\)[0-9]\)/ \1/g; \ + s/:$//g; \ # remove empty lines /^[ \t]*$/d" @@ -42,6 +43,7 @@ do # remove leftover holiday marker s/:\(\( \|[0-9]\)[0-9]\)/ \1/g; \ + s/:$//g; \ # remove empty lines /^[ \t]*$/d" |