# HG changeset patch # User Rob Landley # Date 1407285899 18000 # Node ID 2cf6ce96d442932de1c89a7451d7ee4486d4123c # Parent c95588a2b7a2c272127c4bf9f7d9137be66ddcc7 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." diff -r c95588a2b7a2 -r 2cf6ce96d442 toys/posix/find.c --- 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"