diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-08 10:32:56 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-08 10:32:56 +1200 |
commit | 89dca912dfe5705dcc7c622e3cba0de633b3baf2 (patch) | |
tree | a8de5878b7c411d9bd497908500fbd3f2e6952bd /bin/rfct.awk | |
parent | Update submodules (diff) | |
download | dotfiles-89dca912dfe5705dcc7c622e3cba0de633b3baf2.tar.gz dotfiles-89dca912dfe5705dcc7c622e3cba0de633b3baf2.zip |
Remove two more POSIX character classes
Debian's ancient mawk doesn't support them
Diffstat (limited to 'bin/rfct.awk')
-rw-r--r-- | bin/rfct.awk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/rfct.awk b/bin/rfct.awk index 4467f206..90cd8e0d 100644 --- a/bin/rfct.awk +++ b/bin/rfct.awk @@ -6,8 +6,5 @@ BEGIN { ORS = "\n\n" } -# Strip out control characters, except tab and newline -{ gsub(/[^[:print:]\n\t]/, "") } - # If there's anything left, print it length($0) |