diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-13 22:28:14 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-13 22:28:14 +1300 |
commit | ac8d360e59896c11816f6a1edaaed647f71f6796 (patch) | |
tree | 9aee0daea29566a6d28706dcb8f4ac390536e6c5 /bin/onl.awk | |
parent | Merge branch 'feature/vim-ftdetect' into develop (diff) | |
parent | Strip trailing whitespace (diff) | |
download | dotfiles-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.awk | 2 |
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 ]+/, " ") |