changeset 1425:2cf6ce96d442 draft

Rereading posix find.c page: "Specifying more than one of the mutually-exclusive options -H and -L shall not be considered an error. The last option specified shall determine the behavior of the utility."
author Rob Landley <rob@landley.net>
date Tue, 05 Aug 2014 19:44:59 -0500
parents c95588a2b7a2
children 23169562c3ee
files toys/posix/find.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/posix/find.c	Tue Aug 05 19:41:36 2014 -0500
+++ b/toys/posix/find.c	Tue Aug 05 19:44:59 2014 -0500
@@ -8,7 +8,7 @@
  * Parentheses can only stack 4096 deep
  * Not treating two {} as an error, but only using last
 
-USE_FIND(NEWTOY(find, "?^HL", TOYFLAG_USR|TOYFLAG_BIN))
+USE_FIND(NEWTOY(find, "?^HL[-HL]", TOYFLAG_USR|TOYFLAG_BIN))
 
 config FIND
   bool "find"