aboutsummaryrefslogtreecommitdiff
path: root/bin/mftl.awk
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-05 00:39:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-05 00:39:04 +1200
commitace2d490636407d9f0187a41b9328cd6e3549f2a (patch)
treec4813136bcfbbfb2dccc3232cf2eda6b858f3256 /bin/mftl.awk
parentMove README mentions of int agg funcs to sublist (diff)
downloaddotfiles-ace2d490636407d9f0187a41b9328cd6e3549f2a.tar.gz
dotfiles-ace2d490636407d9f0187a41b9328cd6e3549f2a.zip
Exclude $0 from arg iteration in mftl(1df)
Diffstat (limited to 'bin/mftl.awk')
-rw-r--r--bin/mftl.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mftl.awk b/bin/mftl.awk
index c6d65409..67087520 100644
--- a/bin/mftl.awk
+++ b/bin/mftl.awk
@@ -26,7 +26,7 @@ BEGIN {
# Iterate through the targets that don't look like substitutions or
# inference rules and stack them up into an array's keys to keep them
# unique; this probably needs refinement
- for (i=0; i<NF; i++)
+ for (i=1; i<NF; i++)
if ($i ~ /^[a-zA-Z0-9][a-zA-Z0-9./_-]*$/)
ats[$i]
}