diff options
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 + |