summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorAndrew Guschin <guschin.drew@gmail.com>2022-06-26 13:05:56 +0400
committerAndrew Guschin <guschin.drew@gmail.com>2022-06-26 13:05:56 +0400
commitcad4b972574c9c58357fa21d18dddc388258b4ee (patch)
tree7afd8fe5073dc906b219dc926e9cf093a95efd5a /run.sh
parent14fffdc1df3661252661dbc96ac9810118f00601 (diff)
parent323bfc05e2bf72820299976c8b26057ca8ed86aa (diff)
Merge branch 'master' of github.com:vasthecat/university-lectures
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..5b2f015
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -z "$@" ] && echo "Usage: $0 <base filename>" && exit 1
+cd $1 && find . -name "*.tex" | entr pandoc -s $1.tex -o $1.md \ No newline at end of file