Mercurial > hg > toybox
diff toys/toylist.h @ 187:c983a0af6d4e
Add sha1sum. (No -c mode yet.) Slight tweaks to loopfiles() too.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 29 Nov 2007 18:32:20 -0600 |
parents | 25447caf1b4b |
children | 22d22427dec6 |
line wrap: on
line diff
--- a/toys/toylist.h Thu Nov 29 18:14:37 2007 -0600 +++ b/toys/toylist.h Thu Nov 29 18:32:20 2007 -0600 @@ -124,6 +124,7 @@ USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN)) USE_READLINK(NEWTOY(readlink, "<1f", TOYFLAG_BIN)) USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN)) +USE_SHA1SUM(NEWTOY(sha1sum, NULL, TOYFLAG_USR|TOYFLAG_BIN)) USE_SLEEP(NEWTOY(sleep, "<1", TOYFLAG_BIN)) USE_SYNC(NEWTOY(sync, NULL, TOYFLAG_BIN)) USE_TOUCH(NEWTOY(touch, "l#t:r:mca", TOYFLAG_BIN))