aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/onl.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/onl.awk b/bin/onl.awk
index 10daafed..466b8451 100644
--- a/bin/onl.awk
+++ b/bin/onl.awk
@@ -3,7 +3,7 @@
# For each line of input ...
{
# Strip out non-printable characters and rebuild the fields
- gsub(/[^[:print:]]+/, "")
+ gsub(/[[:cntrl:]]/, "")
# Print each field, without a newline; add a leading space if it's not the
# very first one