From 322f1496dc30db43e17e7356c2889fb81e13c250 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sat, 11 Feb 2023 15:22:28 +1030 Subject: [PATCH] final commit. --- scripts/isosec | 2 ++ scripts/opout | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 scripts/isosec diff --git a/scripts/isosec b/scripts/isosec new file mode 100755 index 0000000..330d368 --- /dev/null +++ b/scripts/isosec @@ -0,0 +1,2 @@ +#!/bin/sh +exec date -u +%Y%m%d%H%M%S "$@" diff --git a/scripts/opout b/scripts/opout index d2b447a..24d75de 100755 --- a/scripts/opout +++ b/scripts/opout @@ -7,7 +7,7 @@ basename="${1%.*}" case "${*}" in - *.tex|*.sil|*.m[dse]|*.[rR]md|*.mom|*.[0-9]) target="$(getcomproot "$1" || echo "$1")" ; setsid -f xdg-open "${target%.*}".pdf >/dev/null 2>&1 ;; - *.html) setsid -f "$BROWSER" "$basename".html >/dev/null 2>&1 ;; - *.sent) setsid -f sent "$1" >/dev/null 2>&1 ;; + *.tex|*.sil|*.m[dse]|*.[rR]md|*.mom|*.[0-9]) target="$(getcomproot "$1" || echo "$1")" ; setsid -f xdg-open "${target%.*}".pdf >/dev/null 2>&1 ;; + *.html) setsid -f "$BROWSER" "$basename".html >/dev/null 2>&1 ;; + *.sent) setsid -f sent "$1" >/dev/null 2>&1 ;; esac