3 ms·
Yes, I think most of the time this is all you need. I just like the for loop because I can do filename manipulations in the loop and the input to the loop does
by t43562 5y ago
Yes, I think most of the time this is all you need.
I just like the for loop because I can do filename manipulations in the loop and the input to the loop doesn't always have to be find - it can be "grep <something> -l ./" for example - so I use it even if it's verbose because it's only one thing to remember.
Perhaps that is a problem with bash and the tools - there are so many features that take years to discover. Every few weeks I come across a new one.