From f81be5dfb7720994f6deca3bc738c63f48f26309 Mon Sep 17 00:00:00 2001 From: Viktor Kleen Date: Tue, 3 Mar 2015 05:55:33 +0000 Subject: start writing on torsors --- posts.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 posts.sh (limited to 'posts.sh') diff --git a/posts.sh b/posts.sh new file mode 100755 index 0000000..a259dd4 --- /dev/null +++ b/posts.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +shopt -s extglob nullglob + + +new_post() { + filename="$1" + shift 1 + cat >posts/$filename <&2 '%s: %s\n' "${0##*/}" "$OPTLERR" + exit 1;; + esac +done -- cgit v1.2.3