Yea I read through that. My issue is that I was (for some unknown reason) thinking the command was being passed somewhere before being executed, but as you point out it was being executed right there within the for loop as it was quoted.
These people need to quote an argument because it contains things that needs to be quoted (from the shell), but the quotes themselves should not be part of the argument.
@Jesse_b Stupid questions are good. It's people that do not learn that is the problem.
@Jesse_b Honestly, and this is important: Stupid questions are good. There can be no worse thing than to be stuck with a problem that you know ought to be silly easy, but isn't. Ask the question and get past it. But learn from it, or you'll soon wear down even the best teachers.
Agreed. Some of y'all (not you specifically) are pretty hard on the easy questions though. I see it though, things that are in the first few pages of the bash manual probably shouldn't need to be asked, etc. However when I first came here I didn't even know what bash was and to try and read a *nix manual would have been very intimidating.
The more understanding of the basics I get the more I'm able to understand from technical documents.
@Kusalananda plenty man pages also include a separate EXAMPLES section with usually a few common use cases, while leaving such examples out from other sections
Well, there are also those questions really requiring some psychic abilities to decipher OPs message; I suppose it isn't one of those skills one acquire by time
@sebasth Yea well it's usually not smart to assume. I consider myself really good at assuming and it still makes me look like a fool more than half the time :p
However some problems only occur in some peculiar corner cases/unusual configurations (without being a bug/or some of those bugs that developers declared wontfix), about which is nice to have some mention somewhere which can be found with google
To make a distinction to those tech-support questions which would be solved by reading the documentation provided