aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-10-15 09:36:15 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-10-15 09:36:15 +0800
commit8253d2d4adc1a1041a087f15af2f293447eb6fc6 (patch)
treea63b74a0430bb0dad2a452444c6bd6a39c4c3b6e /bin
parentac0d56fbb0cbd2eeb31993b2c926861b10615b01 (diff)
Update
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mail/log.sh3
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
13echo $$ >>~/Downloads/log.log 13echo $$ >>~/Downloads/log.log
14awk -v RS= 'NR>1' <<<"$MAIL" >>~/Downloads/log.log 14awk -v RS= 'NR>1' <<<"$MAIL" >>~/Downloads/log.log
15 15
16LOG=~/log/`date +%y.w%W.md` 16#LOG=~/log/`date +%y.w%W.md`
17LOG=~/log/inbox.md
17TODAY="`date '+%a %b.%d'`" 18TODAY="`date '+%a %b.%d'`"
18 19
19# If header of today doesn't exist 20# If header of today doesn't exist