mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
config/functions: fix comment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user