diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-08 10:42:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-08 10:42:09 +1200 |
commit | f091052f84b3f418eede1833a3fa81933310a456 (patch) | |
tree | e57c9e6658bf0123a060055f63cfe229db714586 /bin/rfct.awk | |
parent | Correct previous commit (diff) | |
download | dotfiles-f091052f84b3f418eede1833a3fa81933310a456.tar.gz dotfiles-f091052f84b3f418eede1833a3fa81933310a456.zip |
Restore ^L-skipping code
Diffstat (limited to 'bin/rfct.awk')
-rw-r--r-- | bin/rfct.awk | 4 |
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) |