aboutsummaryrefslogtreecommitdiff
path: root/scripts/meta
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/meta')
-rwxr-xr-xscripts/meta22
1 files changed, 0 insertions, 22 deletions
diff --git a/scripts/meta b/scripts/meta
deleted file mode 100755
index f7a3f84..0000000
--- a/scripts/meta
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-tag_name=$1
-filename=$2
-
-output=$(grep -Poh "^\[meta\]:\s+<$tag_name>\s+\(\K(.+)(?=\)$)" $filename)
-
-if [ "$tag_name" = "tags" ]; then
- echo $output |\
- sed "s/,\s*/\n/g" |\
- sed -z '$ s/\n$//' |\
- jq --raw-input --slurp 'split("\n")'
-else
- if [ "$output" = "" ]; then
- echo "" | jq --raw-input
- else
- echo $output |\
- sed -z '$ s/\n$//' |\
- jq --raw-input
- fi
-fi
-