Commit 6b365d49 authored by Vitaly Lipatov's avatar Vitaly Lipatov

strings: add is_absolute_path function

parent 389c36f1
......@@ -75,6 +75,11 @@ initial_letter()
is_dirpath()
{
[ "$1" = "." ] && return $?
[ "$1" = "." ] && return
rhas "$1" "/"
}
is_absolute_path()
{
rhas "$1" "^/"
}
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