This patch saves 19 Bytes in the sleep command and reduces its complexity over a half. Notes: Sun May 8 12:41:40 EDT 2005 rsc And makes sleep break if you want to sleep for more than 25 days. I'll have to dig into why this was there in the first place. I'm sure it has to do with overflow. Reference: /n/sources/patch/sorry/sleep-for Date: Sun May 8 13:48:42 CES 2005 Reviewed-by: rsc --- /sys/src/cmd/sleep.c Sun May 8 13:48:29 2005 +++ /sys/src/cmd/sleep.c Sun May 8 13:48:26 2005 @@ -4,10 +4,9 @@ void main(int argc, char *argv[]) { - long secs; if(argc>1) - for(secs = atol(argv[1]); secs > 0; secs--) - sleep(1000); + sleep(atol(argv[1]) * 1000); + exits(0); }