aboutsummaryrefslogtreecommitdiff
path: root/bin/gwp.awk
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-05 21:07:18 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-05 21:07:18 +1300
commita935ee26921fd686676593a6bb40dc3fc84b8d8e (patch)
treefb2a3618e0934012364d6f3b9e0c5fdc79ef4486 /bin/gwp.awk
parentUse explicit range for alphanumeric characters (diff)
downloaddotfiles-a935ee26921fd686676593a6bb40dc3fc84b8d8e.tar.gz
dotfiles-a935ee26921fd686676593a6bb40dc3fc84b8d8e.zip
Tweak FS for gwp(1df)
Diffstat (limited to 'bin/gwp.awk')
-rw-r--r--bin/gwp.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gwp.awk b/bin/gwp.awk
index 25782318..79f59b61 100644
--- a/bin/gwp.awk
+++ b/bin/gwp.awk
@@ -4,8 +4,8 @@ BEGIN {
# Name self
self = "gwp"
- # Words are separated by any non-alphanumeric character
- FS = "[^a-zA-Z0-9]"
+ # Words are separated by any non-alphanumeric characters
+ FS = "[^a-zA-Z0-9]+"
# First argument is the word required; push its case downward so we can
# match case-insensitively