Rereading posix find.c page: "Specifying more than one of the mutually-exclusive...
authorRob Landley <rob@landley.net>
Wed, 6 Aug 2014 00:44:59 +0000 (19:44 -0500)
committerRob Landley <rob@landley.net>
Wed, 6 Aug 2014 00:44:59 +0000 (19:44 -0500)
toys/posix/find.c

index 0ea5271..8cacc71 100644 (file)
@@ -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"