aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-08-08 10:42:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-08-08 10:42:09 +1200
commitf091052f84b3f418eede1833a3fa81933310a456 (patch)
treee57c9e6658bf0123a060055f63cfe229db714586 /bin
parent9bd9b909e3946da58d98a381ad09a6ac2015f9a9 (diff)
downloaddotfiles-f091052f84b3f418eede1833a3fa81933310a456.tar.gz
dotfiles-f091052f84b3f418eede1833a3fa81933310a456.zip
Restore ^L-skipping code
Diffstat (limited to 'bin')
-rw-r--r--bin/rfct.awk4
1 files changed, 4 insertions, 0 deletions
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)