Our great sponsors
-
dynamic-dns-in-firewall
Automatically set traffic rules for Dynamic IP Addresses from a Dynamic DNS Domain
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
So you probably want two nested while loops as you count down or up the array. These examples should fix you up. I recommend the vanilla POSIX while example, and install the command-line version of shellcheck to lint your code as you go along.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.