diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-05 00:39:04 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-05 00:39:04 +1200 |
commit | ace2d490636407d9f0187a41b9328cd6e3549f2a (patch) | |
tree | c4813136bcfbbfb2dccc3232cf2eda6b858f3256 /bin/mftl.awk | |
parent | Move README mentions of int agg funcs to sublist (diff) | |
download | dotfiles-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.awk | 2 |
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] } |