commit 69228a5aa9daeb99b51a4262b0c056baba199e7c parent 90fab80c943b95bbed7f27624234c3367107fd15 Author: Jared Tobin <jared@jtobin.io> Date: Thu, 21 Dec 2023 18:44:24 -0330 Add better filtering on word boundaries. Diffstat:
M | decl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/decl b/decl @@ -74,7 +74,7 @@ IFS="|" if [[ ! -z "$@" ]]; then for arg in "$@"; do echo $arg - DATA=$(grep -E "$arg" <<< "$DATA") + DATA=$(grep -E "\b$arg\b" <<< "$DATA") done if [[ -z "$DATA" ]]; then