From owner-freebsd-bugs Wed Jun 12 7: 0:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B9ADC37B411 for ; Wed, 12 Jun 2002 07:00:14 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5CE0EO40856; Wed, 12 Jun 2002 07:00:14 -0700 (PDT) (envelope-from gnats) Date: Wed, 12 Jun 2002 07:00:14 -0700 (PDT) Message-Id: <200206121400.g5CE0EO40856@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Andrew Subject: Re: bin/37442: [PATCH] sleep.c to support time multipliers Reply-To: Andrew Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/37442; it has been noted by GNATS. From: Andrew 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