Never Write This To Loop Over Arguments In Bash
Channel: The Builder
Date: 2022-10-25

In Bash for loops are tricky but there's a Bashism that exists which could trip you up if you don't know about it. If you're looping over the arguments passed to a script or a function, Bash will automatically fill in the "$@" argument for you. This is awesome because you don't have to worry about passing in the collection but it could also trip up new Bash programmers who don't already understand what Bash is doing in the loop 

==== Awesome Links ====
🗣 Discord: https://discord.gg/XyhP8uYPTS
✍️ Github: https://github.com/TheBuilder-software
💎 Patreon: https://www.patreon.com/TopShelfTechnology