Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/wtf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-23 13:35:31 +0100
committerErich Eckner <git@eckner.net>2018-11-23 13:35:31 +0100
commit2b8d4378918eb6dfa4b31f3ab34ff5e239aa6879 (patch)
tree5f35822099845b101f851152983054e599259abc /bin/wtf
parent52cd8cc368c7958a67e78ed0bd26f34b747689d0 (diff)
bin/wtf: $search must match the end
Diffstat (limited to 'bin/wtf')
-rwxr-xr-xbin/wtf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/wtf b/bin/wtf
index 0077757..5eca1c7 100755
--- a/bin/wtf
+++ b/bin/wtf
@@ -45,7 +45,7 @@ pkgfile -w \
grep -q '^/'; then
grep -w "${search}"
else
- grep "/${search}\\(/\\|\$\\)"
+ grep "/${search}\$"
fi | \
sort -k2,2 | \
sed '