[394] in Athena Bugs

home help back first fref pref prev next nref lref last post

find -ls all systems/versions

daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Sat May 21 03:01:14 1988

From: <geer@ATHENA.MIT.EDU>
Date: Sat, 21 May 88 02:58:01 EDT
To: bugs@ATHENA.MIT.EDU
the -ls flag to /usr/bin/find relies on the directory status
of the file *before* the find takes any action.  in other words,

	find . -exec chmod g+w {} \; -ls

will necessarily return the same results as

	find . -ls -exec chmod g+w {} \;

this breaks the normal sense of strict left-to-right precedence
of find's argument list.  this should be fixed irrespective of
the undocumented-ness of the -ls flag.

--dan

home help back first fref pref prev next nref lref last post