aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-03 12:32:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-03 12:36:51 +1200
commit2d7462c026ef3429103043e7f0ac590e076e316c (patch)
treea88a73beecf89dc97b953101dd9bff0a0fd582e8 /bin
parentAdd a period (diff)
downloaddotfiles-2d7462c026ef3429103043e7f0ac590e076e316c.tar.gz
dotfiles-2d7462c026ef3429103043e7f0ac590e076e316c.zip
Add some missing parentheses
Diffstat (limited to 'bin')
-rw-r--r--bin/mi5.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mi5.awk b/bin/mi5.awk
index 2deec375..6e3a7ead 100644
--- a/bin/mi5.awk
+++ b/bin/mi5.awk
@@ -36,7 +36,7 @@ mac && NF {
dst = ""
# As long as there's a pair of opening and closing tags
- while (ind = index(src, open) && index(src, shut) > ind) {
+ while ((ind = index(src, open)) && index(src, shut) > ind) {
# Read up to opening tag into seg, shift from src
seg = substr(src, 1, ind - 1)