↧
Answer by nezabudka for How does this function accessing an array work?
From man bash:for name [ [ in [ word ... ] ] ; ] do list ; done...If the "in word" is omitted, the for command executes list oncefor each positional parameter that is setIn reality, it will do the same...
View ArticleHow does this function accessing an array work?
I want to judge whether a string is in an array. I found the following function on Google. But I can't fully understand the meaning of this function. In this function, match is assigned to the string...
View Article