diff options
author | davidovski <david@davidovski.xyz> | 2022-02-13 18:10:19 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-13 18:10:19 +0000 |
commit | 9e49a626064c86ca43575301206714d2ae7d77b5 (patch) | |
tree | c9a6939c9679144326806e86ff198bdfe4b7ec06 /src/parseconf.sh | |
parent | 3364af2dbdea4c1d816b8499cf58ce0fa1790a62 (diff) |
will not match : in glob matching
Diffstat (limited to 'src/parseconf.sh')
-rwxr-xr-x | src/parseconf.sh | 2 |
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" || |