summaryrefslogtreecommitdiff
path: root/caln/sortevents
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2025-06-30 07:54:25 +0100
committerthing1 <thing1@seacrossedlovers.xyz>2025-06-30 07:54:25 +0100
commitbfb5a9ad837e8985aa66acb8a9d6e6790488dcd4 (patch)
tree04822c32837b15f0497d76f431df2305b5c90e92 /caln/sortevents
init commit, should remake send
Diffstat (limited to 'caln/sortevents')
-rwxr-xr-xcaln/sortevents6
1 files changed, 6 insertions, 0 deletions
diff --git a/caln/sortevents b/caln/sortevents
new file mode 100755
index 0000000..ebedb3c
--- /dev/null
+++ b/caln/sortevents
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+calnfile="${HOME}/.cache/caln"
+
+(sort $calnfile || exit 1) > /tmp/caln.sort
+mv /tmp/caln.sort $calnfile