[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu find: paths must precede expression
From: |
James Youngman |
Subject: |
Re: gnu find: paths must precede expression |
Date: |
Sun, 3 Apr 2005 08:53:24 +0100 |
User-agent: |
Mutt/1.3.28i |
On Sat, Apr 02, 2005 at 02:44:43PM -0500, Jerrad Pierce wrote:
> I would like to suggest that GNU find frop the tradiotional brain-dead
> instance of find to insist that the path be the first option. I tend to
> think o find as what it it truly is, a grep of FS metadat, and end up
> writing my commands
> find EXPR path
> only to have to go back and tweak it. I can see no reason why this need be
> maintained other than the wonderous ability to proclaim "invalid predicate".
I don't think we can do that without breaking POSIX conformance, since
the POSIX standard requires:-
| The first argument that starts with a '-' , or is a '!' or a '(' ,
| and all subsequent arguments shall be interpreted as an expression
| made up of the following primaries and operators.
Regards,
James.