DEV Community

loading...

How to iterate on array in Bourne Shell

Vitali Pomanitski
Entrepreneur • Developer • Open Source Contributor • Verification Intern • EE Student • CS Bachelor
・1 min read

You can foreach loop, but cannot gain the files? Here you go:

${files[@]}

Discussion (2)

Collapse
vitalipom profile image
Vitali Pomanitski Author

Making a searchable google term. google.com/search?q=how+to+iterate...

Collapse
ferricoxide profile image
Thomas H Jones II

Err... Can't tell if you're asking a question or providing an answer to an unposed question?