diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-03 01:28:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-03 01:28:18 +1200 |
commit | 95a79bb97af9998cf3416f62f6f0f6dfcad2fb1d (patch) | |
tree | e2e34d59e5344e13a6a44b9684245c7e4b017078 /bin/unf.awk | |
parent | Nicer toggle (diff) | |
download | dotfiles-95a79bb97af9998cf3416f62f6f0f6dfcad2fb1d.tar.gz dotfiles-95a79bb97af9998cf3416f62f6f0f6dfcad2fb1d.zip |
Use full length($0) rather than just length
The latter is allowed by POSIX, but not historically accepted everywhere
and the former being explicit is more readable anyway
Diffstat (limited to 'bin/unf.awk')
-rw-r--r-- | bin/unf.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/unf.awk b/bin/unf.awk index a9837a8a..ac6172f7 100644 --- a/bin/unf.awk +++ b/bin/unf.awk @@ -8,7 +8,7 @@ function wrbuf() { } # Flag to stop processing once we hit the first blank line -!length { +!length($0) { wrbuf() body = 1 } |