aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-28 13:08:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-28 13:08:23 +1200
commitc1a8107b028c02ddb7c8d13f5803b5d84d52b070 (patch)
treef0f9c69893a16e7dbfd8f68c402b11f66839dd33 /bin
parentAdd mw(1df) (diff)
downloaddotfiles-c1a8107b028c02ddb7c8d13f5803b5d84d52b070.tar.gz
dotfiles-c1a8107b028c02ddb7c8d13f5803b5d84d52b070.zip
Tweak FS a bit for mw(1df)
Diffstat (limited to 'bin')
-rw-r--r--bin/mw.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw.awk b/bin/mw.awk
index f51b8272..84332fac 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:]'_-]+['_-]?)"
+ RS = "(--|['_-]*[^[:alnum:]'_-]+['_-]*)"
}
{
for (i = 1; i <= NF; i++)