diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-05-18 11:48:43 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-05-18 11:48:43 +0800 |
| commit | a0a8c184f0755926c50f11587740703204f143ae (patch) | |
| tree | e2bf2d6220115e0191c2f7997119410d7b5ad545 /tools/wiki | |
| parent | a1d2d4b5b4c87e9c58929acb75e23ca4aad54b8b (diff) | |
Update
Diffstat (limited to 'tools/wiki')
| -rwxr-xr-x | tools/wiki/diary | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/wiki/diary b/tools/wiki/diary index 84d4eca..b30e906 100755 --- a/tools/wiki/diary +++ b/tools/wiki/diary | |||
| @@ -22,6 +22,7 @@ specify_date() { | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | print_today() { | 24 | print_today() { |
| 25 | [[ ! -e $today ]] && touch $today | ||
| 25 | cat $today | 26 | cat $today |
| 26 | } | 27 | } |
| 27 | 28 | ||