diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-11 00:09:24 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-11 00:09:24 +1300 |
commit | 960208a496240318b38a6a6cfdf1f5e266099c85 (patch) | |
tree | de7ff197a3514d3e0bcfa6acbfa748b2738c5692 /bin/unf.awk | |
parent | Remove superfluous calls to next in sec(1df) (diff) | |
download | dotfiles-960208a496240318b38a6a6cfdf1f5e266099c85.tar.gz dotfiles-960208a496240318b38a6a6cfdf1f5e266099c85.zip |
Stylistic tweaks to awk scripts
Diffstat (limited to 'bin/unf.awk')
-rw-r--r-- | bin/unf.awk | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/unf.awk b/bin/unf.awk index 22a10aa8..a9837a8a 100644 --- a/bin/unf.awk +++ b/bin/unf.awk @@ -18,9 +18,7 @@ body { } # Write any buffer contents once we hit a line not starting with a space -/^[^ \t]/ { - wrbuf() -} +/^[^ \t]/ { wrbuf() } # Append the current line to the buffer { @@ -29,6 +27,4 @@ body { } # Write the buffer out again when we hit the end -END { - wrbuf() -} +END { wrbuf() } |