aboutsummaryrefslogtreecommitdiff
path: root/bin/onl.awk
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-13 22:28:14 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-13 22:28:14 +1300
commitac8d360e59896c11816f6a1edaaed647f71f6796 (patch)
tree9aee0daea29566a6d28706dcb8f4ac390536e6c5 /bin/onl.awk
parentMerge branch 'feature/vim-ftdetect' into develop (diff)
parentStrip trailing whitespace (diff)
downloaddotfiles-ac8d360e59896c11816f6a1edaaed647f71f6796.tar.gz
dotfiles-ac8d360e59896c11816f6a1edaaed647f71f6796.zip
Merge branch 'feature/trailing-space' into develop
* feature/trailing-space: 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 ]+/, " ")