diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-05-04 08:32:38 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-05-04 08:32:38 +0800 |
commit | 4be18241a2bca5d60d34c984297c60533827e79d (patch) | |
tree | 8fbbbb1311b9a9cea99430abc12dc6ece58de7ce /tools | |
parent | 5e56de083047b34349d7f0c3c42b609309cee341 (diff) |
Update
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/wiki/diary | 2 |
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 | ||
32 | add_entry() { | 32 | add_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 | ||
37 | case "$1" in | 37 | case "$1" in |