From owner-freebsd-current@FreeBSD.ORG Tue May 28 23:01:48 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 47F49C43 for ; Tue, 28 May 2013 23:01:48 +0000 (UTC) (envelope-from kentas@hush.com) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by mx1.freebsd.org (Postfix) with ESMTP id 34D567A for ; Tue, 28 May 2013 23:01:47 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by smtp10.hushmail.com (Postfix) with SMTP id BC0C41B5326 for ; Tue, 28 May 2013 23:01:40 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp10.hushmail.com (Postfix) with ESMTP; Tue, 28 May 2013 23:01:40 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id A5B396F448; Tue, 28 May 2013 23:01:40 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 28 May 2013 19:01:40 -0400 To: freebsd-questions@freebsd.org Subject: BSD sleep From: "Kenta Suzumoto" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130528230140.A5B396F448@smtp.hushmail.com> X-Mailman-Approved-At: Wed, 29 May 2013 01:16:44 +0000 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 23:01:48 -0000 Hi. Is there no built-in way of making "sleep" sleep in increments of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep 1h" for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is there an undocmented or missing feature here? Seems really trivial to implement. ~ $ sleep 1h usage: sleep seconds