aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/wiki/diary
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-05-04 08:32:38 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-05-04 08:32:38 +0800
commit4be18241a2bca5d60d34c984297c60533827e79d (patch)
tree8fbbbb1311b9a9cea99430abc12dc6ece58de7ce /tools/wiki/diary
parent5e56de083047b34349d7f0c3c42b609309cee341 (diff)
Update
Diffstat (limited to 'tools/wiki/diary')
-rwxr-xr-xtools/wiki/diary2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wiki/diary b/tools/wiki/diary
index aca7155..3ced89a 100755
--- a/tools/wiki/diary
+++ b/tools/wiki/diary
@@ -31,7 +31,7 @@ edit_today() {
31 31
32add_entry() { 32add_entry() {
33 [[ $# -ne 0 ]] && echo - "$@" >>$today 33 [[ $# -ne 0 ]] && echo - "$@" >>$today
34 sed -E 's/\t/ /g; s/(^[[:space:]]*)/\1- /' >>$today 34 sed -E 's/\t/ /g; s/(^[[:space:]]*)/\1- /' >>$today
35} 35}
36 36
37case "$1" in 37case "$1" in