diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-05 21:07:18 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-05 21:07:18 +1300 |
commit | a935ee26921fd686676593a6bb40dc3fc84b8d8e (patch) | |
tree | fb2a3618e0934012364d6f3b9e0c5fdc79ef4486 /bin | |
parent | Use explicit range for alphanumeric characters (diff) | |
download | dotfiles-a935ee26921fd686676593a6bb40dc3fc84b8d8e.tar.gz dotfiles-a935ee26921fd686676593a6bb40dc3fc84b8d8e.zip |
Tweak FS for gwp(1df)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gwp.awk | 4 |
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 |