diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-30 19:37:24 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-30 19:37:24 +0200 |
commit | 71ab18ec4264197aae27efe64e4565c4989a19cd (patch) | |
tree | 561f82b426e0fca092b22e1f10e1a507091925e7 /scripts | |
parent | 609c78e15c43ae0a3733640c724e2f3b1a08ab80 (diff) |
scripts + links
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/tags b/scripts/tags new file mode 100755 index 0000000..3b9272c --- /dev/null +++ b/scripts/tags @@ -0,0 +1,8 @@ +#!/bin/sh + +grep -Proh \ + "^\[meta\]:\s+<tags>\s+\(\K(.+)(?=\)$)" ../posts |\ + sed "s/,\s*/\n/g" |\ + sort |\ + uniq + |