X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fedit_course.sh;h=c1deb5a622f0fa85673b8005071408871e4667f4;hb=10dc80cb808b22e1ffe613b3a6b5ec82691b08dc;hp=67e051173189afd5856258a9811ac36c27fb2911;hpb=fd8bfb7fa37228c2c75d896124c99a4518e93b1e;p=confetti
diff --git a/templates/edit_course.sh b/templates/edit_course.sh
index 67e0511..c1deb5a 100755
--- a/templates/edit_course.sh
+++ b/templates/edit_course.sh
@@ -83,18 +83,17 @@ done
echo ' '
echo ' '
for wd in mon tue wed thu fri sat sun; do
- echo ' '$(date -d $wd +%a)''
+ echo -n ''$(date -d $wd +%a)''
done
fdom=$(date -d ${dts_year}-${dts_month}-1 +%u)
while [ "$fdom" -gt 1 ]; do
- echo ' '
+ echo -n ''
fdom=$(($fdom - 1))
done
-echo ''
cnt=$(date -d ${dts_year}-${dts_month}-1 +%s)
while [ "$(date -d @$cnt +%m)" = "$dts_month" ]; do
dn=$(date -d @$cnt +%d)
- echo ' '
+ echo -n ''
cnt=$(($cnt + 86400))
done
echo '
'