OSDN Git Service

Izabera pointed out that cmp -ls are contradictory.
authorRob Landley <rob@landley.net>
Tue, 7 Jun 2016 23:16:25 +0000 (18:16 -0500)
committerRob Landley <rob@landley.net>
Tue, 7 Jun 2016 23:16:25 +0000 (18:16 -0500)
toys/posix/cmp.c

index 829da75..527fbfd 100644 (file)
@@ -4,7 +4,7 @@
  *
  * See http://opengroup.org/onlinepubs/9699919799/utilities/cmp.html
 
-USE_CMP(NEWTOY(cmp, "<2>2ls", TOYFLAG_USR|TOYFLAG_BIN))
+USE_CMP(NEWTOY(cmp, "<2>2ls[!ls]", TOYFLAG_USR|TOYFLAG_BIN))
 
 config CMP
   bool "cmp"