Re: bash script question
Kevin McKinley <firstname.lastname@example.org> writes:
> On 05 May 2003 17:19:04 +0100
> Oliver Elphick <email@example.com> wrote:
>> for f in `find . -type f`
> Can the "for" line be replaced with
> for f in *
> What would be the difference, except being simpler and not using find? :)
* includes all files and subdirectories in the current directory that
don't begin with a dot; the find invocation finds only files (not
subdirectories) in the current directory and all subdirectories
(recursively), regardless of their name.
David Maze firstname.lastname@example.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell