Skip to content

Commit fde4db8

Browse files
Quote the pattern
1 parent aba0797 commit fde4db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/detik.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ filter_by_resource_name() {
399399
while IFS= read -r line; do
400400
# ... extract the resource name (first column)
401401
# and only keep the lines where the resource name matches
402-
if echo "$line" | cut -d ' ' -f1 | grep -qE $1; then
402+
if echo "$line" | cut -d ' ' -f1 | grep -qE "$1"; then
403403
echo "$line"
404404
fi
405405
done

0 commit comments

Comments
 (0)