Commit cc282c62 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tools_eget: don't strict mask with begin of the line

parent beff3300
......@@ -52,7 +52,7 @@ filter_glob()
{
[ -z "$1" ] && cat && return
# translate glob to regexp
grep "^$(echo "$1" | sed -e "s|\*|.*|g" -e "s|?|.|g")$"
grep "$(echo "$1" | sed -e "s|\*|.*|g" -e "s|?|.|g")$"
}
filter_order()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment