From 476a9ea4d3b258c414401466993b529563b783da Mon Sep 17 00:00:00 2001 From: dig Date: Mon, 21 May 2018 20:00:52 +0200 Subject: [PATCH] First commit --- tasks/shtpl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tasks/shtpl diff --git a/tasks/shtpl b/tasks/shtpl new file mode 100644 index 0000000..48a7270 --- /dev/null +++ b/tasks/shtpl @@ -0,0 +1,11 @@ +#!/bin/bash + +eval "echo \"$(cat $1 | sed ' +1{ /#\!.*shtpl/ d } +s/"/\\"/g +')\"" + + +#eval "echo \"$(perl -p -e 's/"/\\"/g' $1)\"" + +