aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-03 01:28:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-03 01:28:18 +1200
commit95a79bb97af9998cf3416f62f6f0f6dfcad2fb1d (patch)
treee2e34d59e5344e13a6a44b9684245c7e4b017078 /bin
parentNicer toggle (diff)
downloaddotfiles-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')
-rw-r--r--bin/unf.awk2
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
}