Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
15
.bin/remindview
Executable file
15
.bin/remindview
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
remind -n ~sdk/.reminders \
|
||||
| sort -n \
|
||||
| head -n 10 \
|
||||
| while read -r line
|
||||
do
|
||||
echo "Input: $line"
|
||||
echo "$line" \
|
||||
| awk '$1 == /^[0-9][0-9]\/[0-9][0-9]\/[0-9][0-9]/
|
||||
{ print "Date: "$1 }
|
||||
$2 == /^[0-9][0-9]:[0-9][0-9][ap]m/
|
||||
{ print "Time: "$2 }
|
||||
{ $1=""; $2=""; print "Text: "$0 }'
|
||||
done
|
||||
Reference in New Issue
Block a user