summaryrefslogtreecommitdiff
path: root/src/parseconf.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-13 18:10:19 +0000
committerdavidovski <david@davidovski.xyz>2022-02-13 18:10:19 +0000
commit9e49a626064c86ca43575301206714d2ae7d77b5 (patch)
treec9a6939c9679144326806e86ff198bdfe4b7ec06 /src/parseconf.sh
parent3364af2dbdea4c1d816b8499cf58ce0fa1790a62 (diff)
will not match : in glob matching
Diffstat (limited to 'src/parseconf.sh')
-rwxr-xr-xsrc/parseconf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseconf.sh b/src/parseconf.sh
index c5ed801..44089b7 100755
--- a/src/parseconf.sh
+++ b/src/parseconf.sh
@@ -62,7 +62,7 @@ filter () {
[ $# = 0 ] &&
pattern=".*" ||
- pattern=$(sed "s/\*/.*/g"<<< "$@")
+ pattern=$(sed "s/\*/[^:]*/g"<<< "$@")
$print_keys &&
pattern="s/^($pattern:.+)/\1/p" ||