# HG changeset patch # User Rob Landley # Date 1172089172 18000 # Node ID 422df21290d76f8a19dd828429d30e18dd5abd72 # Parent c5b6fb1fe3a46db6ab55d3574ea953fe3f41a02b Fix oneit: <1 is only parsed at the start of the argument list. diff -r c5b6fb1fe3a4 -r 422df21290d7 toys/toylist.h --- a/toys/toylist.h Mon Feb 19 01:44:28 2007 -0500 +++ b/toys/toylist.h Wed Feb 21 15:19:32 2007 -0500 @@ -78,7 +78,7 @@ USE_TOYSH(NEWTOY(exit, NULL, TOYFLAG_NOFORK)) USE_HELLO(NEWTOY(hello, NULL, TOYFLAG_USR)) USE_MKE2FS(NEWTOY(mke2fs, MKE2FS_OPTSTRING, TOYFLAG_SBIN)) -USE_ONEIT(NEWTOY(oneit, "+p<1", TOYFLAG_SBIN)) +USE_ONEIT(NEWTOY(oneit, "+<1p", TOYFLAG_SBIN)) USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN)) USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN)) USE_TOUCH(NEWTOY(touch, "l#t:r:mca", TOYFLAG_BIN))