From d165d39c08ebc8be6ef3662022196758ef580f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 30 Jan 2021 13:22:38 +0000 Subject: Move aux files to root directory --- aux/emcollect | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 aux/emcollect (limited to 'aux/emcollect') diff --git a/aux/emcollect b/aux/emcollect deleted file mode 100755 index 55434ac..0000000 --- a/aux/emcollect +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/awk -f - -# aux/emcollect -- collect hyperlink references in em source - -function collect(line) { - left = $0 - right = $0 - sub("^ \\[", "", left) - sub("\\].*$", "", left) - sub("^ \\[[0-9a-z]\\]+ ", "", right) - printf "%s=%s\n", left, right -} - -BEGIN { expectblock = 1 } - -/^$/ { expectblock = 1; getline } -expectblock && /^ \[[0-9a-z]\]+ / { block = "nl"; expectblock = 0 } -block = "nl" && /^ \[[0-9a-z]\]+ [^ ]+$/ { collect($0); next } -- cgit v1.2.3