diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-02 20:04:36 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-02 20:04:36 +1300 |
commit | a10efcfd61aa5e0e0d7730fb4beb5f87aa567510 (patch) | |
tree | ac3b1622fce8140a0df1daa841a512f6aba29902 /bin | |
parent | Improve comment in apf(1df) man page (diff) | |
download | dotfiles-a10efcfd61aa5e0e0d7730fb4beb5f87aa567510.tar.gz dotfiles-a10efcfd61aa5e0e0d7730fb4beb5f87aa567510.zip |
Change 0x0c in rfct(1df) regex to literal ^L
Diffstat (limited to 'bin')
-rw-r--r-- | bin/rfct.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rfct.awk b/bin/rfct.awk index 2f0cc42d..ac8a2a87 100644 --- a/bin/rfct.awk +++ b/bin/rfct.awk @@ -4,5 +4,5 @@ BEGIN { RS = "" } # Print the block followed by two newlines, as long as it has at least one -# alphanumeric character and no pagebreak characters -/[a-zA-Z0-9]/ && !/\x0c/ { printf "%s\n\n", $0 } +# alphanumeric character and no pagebreak (^L, 0x0C) characters +/[a-zA-Z0-9]/ && !// { printf "%s\n\n", $0 } |