aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-07-01 22:31:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-07-01 22:31:57 +1200
commitd54558806aea74bd0096f52a938f5876b3167239 (patch)
tree077a09d445d5b76b764fe20140a407d5fd3b911f
parentPut local gamesdir at end of PATH (diff)
downloaddotfiles-d54558806aea74bd0096f52a938f5876b3167239.tar.gz
dotfiles-d54558806aea74bd0096f52a938f5876b3167239.zip
Correct Awk variable lvalue in mw(1df)
-rw-r--r--bin/mw.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw.awk b/bin/mw.awk
index 84332fac..48f45fb1 100644
--- a/bin/mw.awk
+++ b/bin/mw.awk
@@ -1,7 +1,7 @@
# Crude approach to get alphabetic words one per line from input, not sorted or
# deduplicated
BEGIN {
- RS = "(--|['_-]*[^[:alnum:]'_-]+['_-]*)"
+ FS = "(--|['_-]*[^[:alnum:]'_-]+['_-]*)"
}
{
for (i = 1; i <= NF; i++)