diff --git a/config/functions b/config/functions index f25325e1bc..d93b501a95 100644 --- a/config/functions +++ b/config/functions @@ -38,7 +38,7 @@ listcontains() { } # remove item(s) from list. -# looping makes it greedy (eg. removefromlist "abc def ghi" "(abc|def)" will work). +# looping makes it greedy (eg. listremoveitem "abc def ghi" "(abc|def)" removes both "abc" and "def"). listremoveitem() { local data="${1}" odata tmp_array if [ -n "$1" -a -n "$2" ]; then