aboutsummaryrefslogtreecommitdiff
path: root/bin/onl.awk
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-13 22:26:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-13 22:26:07 +1300
commitd30b6a744d9de88bde1a5d4cddf873c867f5c3d2 (patch)
tree9aee0daea29566a6d28706dcb8f4ac390536e6c5 /bin/onl.awk
parentMerge branch 'feature/vim-ftdetect' into develop (diff)
downloaddotfiles-d30b6a744d9de88bde1a5d4cddf873c867f5c3d2.tar.gz
dotfiles-d30b6a744d9de88bde1a5d4cddf873c867f5c3d2.zip
Strip trailing whitespace
Diffstat (limited to 'bin/onl.awk')
-rw-r--r--bin/onl.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/onl.awk b/bin/onl.awk
index 89469f3c..30f7e594 100644
--- a/bin/onl.awk
+++ b/bin/onl.awk
@@ -1,7 +1,7 @@
# Flatten input into one single-space separated line with no unprintable chars
# For each line of input ...
-{
+{
# Replace groups of spaces and control characters with one space,
# implicitly re-splitting the fields
gsub(/[\a\b\f\n\r\t\v ]+/, " ")