diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-10-15 09:36:15 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-10-15 09:36:15 +0800 |
commit | 8253d2d4adc1a1041a087f15af2f293447eb6fc6 (patch) | |
tree | a63b74a0430bb0dad2a452444c6bd6a39c4c3b6e /bin | |
parent | ac0d56fbb0cbd2eeb31993b2c926861b10615b01 (diff) |
Update
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mail/log.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/mail/log.sh b/bin/mail/log.sh index e96c9b4..5690a3d 100755 --- a/bin/mail/log.sh +++ b/bin/mail/log.sh | |||
@@ -13,7 +13,8 @@ date >>~/Downloads/log.log | |||
13 | echo $$ >>~/Downloads/log.log | 13 | echo $$ >>~/Downloads/log.log |
14 | awk -v RS= 'NR>1' <<<"$MAIL" >>~/Downloads/log.log | 14 | awk -v RS= 'NR>1' <<<"$MAIL" >>~/Downloads/log.log |
15 | 15 | ||
16 | LOG=~/log/`date +%y.w%W.md` | 16 | #LOG=~/log/`date +%y.w%W.md` |
17 | LOG=~/log/inbox.md | ||
17 | TODAY="`date '+%a %b.%d'`" | 18 | TODAY="`date '+%a %b.%d'`" |
18 | 19 | ||
19 | # If header of today doesn't exist | 20 | # If header of today doesn't exist |