From 2785e385fadbf88a44131c669d3d50168b922e77 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 29 Jan 2020 13:30:33 +0100 Subject: .meta/find-extras neu --- .meta/find-extras | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 .meta/find-extras (limited to '.meta/find-extras') diff --git a/.meta/find-extras b/.meta/find-extras new file mode 100755 index 0000000..3b8033c --- /dev/null +++ b/.meta/find-extras @@ -0,0 +1,19 @@ +#!/bin/bash + +find . -name '*.ly' -exec sed ' + s/^.*\bifdef(`\([^'"'"']\+\)'"'"',.*$/\1/ + t + d +' '{}' + \ +| sort -u \ +| sed ' + s/^STR_// + t + /^mit-/ p + d +' \ +| tr '\n' '-' \ +| sed ' + s@-$@@ + s@^@-@ +' -- cgit v1.2.3-70-g09d2