Quantcast
Channel: How does this function accessing an array work? - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

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 Article



How 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
Browsing all 2 articles
Browse latest View live




Latest Images