Add a small tool for making logs from checkfiles.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 6 Jun 2017 04:52:04 +0000 (00:52 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 6 Jun 2017 04:52:04 +0000 (00:52 -0400)
Useful because the context in checkfiles makes them easier to edit
than plain logfiles are.

tests/decheck [new file with mode: 0755]

diff --git a/tests/decheck b/tests/decheck
new file mode 100755 (executable)
index 0000000..7e1be39
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Turn a non-oldstyle checkfile on stdin into an equivalent log on stdout.
+sed -n -e '/> /s///p'