Date: Wed, 12 Jun 2002 07:00:14 -0700 (PDT) From: Andrew <andrew@ugh.net.au> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/37442: [PATCH] sleep.c to support time multipliers Message-ID: <200206121400.g5CE0EO40856@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/37442; it has been noted by GNATS. From: Andrew <andrew@ugh.net.au> To: freebsd-gnats-submit@FreeBSD.org, edwin@mavetju.org Cc: Subject: Re: bin/37442: [PATCH] sleep.c to support time multipliers Date: Wed, 12 Jun 2002 23:58:56 +1000 > Mmm... not to knock your patch down, but.. you do realize > that this can be done with expr(1) and/or shell built-in > arithmetic functions (ksh and bash have $((5 * 1800)), > don't know about other shells), right? That shouldn't be enough to stop the patch though (IMHO anyway). After all df supports -h and I'm sure with a bit of awk and/or sh you could get similar behavior without this rather nice switch. It just makes sleep that bit more convenient without breaking any historical behavior. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206121400.g5CE0EO40856>