From f091052f84b3f418eede1833a3fa81933310a456 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 8 Aug 2017 10:42:09 +1200 Subject: Restore ^L-skipping code --- bin/rfct.awk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/rfct.awk b/bin/rfct.awk index 90cd8e0d..5ceef43f 100644 --- a/bin/rfct.awk +++ b/bin/rfct.awk @@ -6,5 +6,9 @@ BEGIN { ORS = "\n\n" } +# Skip paragraphs with ^L chars in them +# We have to be literal here due to mawk's failures +/ / { next } + # If there's anything left, print it length($0) -- cgit v1.2.3