Not quite right. Both bash versions will leave out the "hidden" files with names starting with a ., and they will process every other directory entry, not just ordinary files, but also special files like symlinks, directories, device nodes, pipes. The cmd for loop also skips files with the hidden bit set.
Alexander
In reply to Re^2: Run a script on every file in a directory
by afoken
in thread Run a script on every file in a directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |