diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-08 10:37:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-08-08 10:37:28 +1200 |
commit | 9bd9b909e3946da58d98a381ad09a6ac2015f9a9 (patch) | |
tree | c2139ce956000f300713a18204a4d638008e70d2 | |
parent | Remove two more POSIX character classes (diff) | |
download | dotfiles-9bd9b909e3946da58d98a381ad09a6ac2015f9a9.tar.gz dotfiles-9bd9b909e3946da58d98a381ad09a6ac2015f9a9.zip |
Correct previous commit
Forgot to remove the square brackets
-rw-r--r-- | bin/mw.awk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ # Crude approach to get alphabetic words one per line from input, not sorted or # deduplicated BEGIN { - FS = "(--|['_-]*[^[a-zA-Z0-9_]'_-]+['_-]*)" + FS = "(--|['_-]*[^a-zA-Z0-9_'_-]+['_-]*)" } { for (i = 1; i <= NF; i++) |