Commit c1b542e7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions: implement rihas (insensitive case)

parent d2ef4f1c
...@@ -215,6 +215,11 @@ rhas() ...@@ -215,6 +215,11 @@ rhas()
echo "$1" | grep -E -q -- "$2" echo "$1" | grep -E -q -- "$2"
} }
rihas()
{
echo "$1" | grep -E -i -q -- "$2"
}
# bash specific # bash specific
startwith() startwith()
{ {
......
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