From: Eric S. Raymond Date: Tue, 6 Jun 2017 04:52:04 +0000 (-0400) Subject: Add a small tool for making logs from checkfiles. X-Git-Tag: 1.1~616 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7118f25d5ae82d89d33fff660adaa08bd0b67295;p=open-adventure.git Add a small tool for making logs from checkfiles. Useful because the context in checkfiles makes them easier to edit than plain logfiles are. --- diff --git a/tests/decheck b/tests/decheck new file mode 100755 index 0000000..7e1be39 --- /dev/null +++ b/tests/decheck @@ -0,0 +1,3 @@ +#!/bin/sh +# Turn a non-oldstyle checkfile on stdin into an equivalent log on stdout. +sed -n -e '/> /s///p'