From owner-freebsd-current@FreeBSD.ORG Wed May 29 11:58:16 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D4FC293D for ; Wed, 29 May 2013 11:58:16 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id A22362F7 for ; Wed, 29 May 2013 11:58:16 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id wo10so281372obc.3 for ; Wed, 29 May 2013 04:58:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=OlWU4juSr49ng8FJNxVAU+6iKoQK0vakyeCXOyYrkZg=; b=jYVC0BAfFC31auQdTNmgrRbfOh3uxDSBv/yiPV6cHRaIm3GF1oA9fxJwmRE/CX6D/5 MW31+letOLR7tQyGiDg3xVdivZe62Npk3wePhuQjkaYoJ35JGK3iQ8wRp6tCBRDew+6Z WeB8P3bK5a7kvAnjZVZBGlLuqgXMQ2ypz0HMAH4ZZa/rT4Mnxj01R+pJvGOLuUXpA2Fq 7hBJ8uh+74nxpeTwjdQf5Hw4Kyn5y4ysCIEQzY7FGyVlKwGv1qBdByx4g0Fa7tP14ieL suM73i2A3FslJLJXrTBAyk1W63IhRpwKmg/a7yHD/HxG1PJcGOieDPXg6SOR7G96WXZG Lcdw== MIME-Version: 1.0 X-Received: by 10.60.37.133 with SMTP id y5mr1329658oej.123.1369828696175; Wed, 29 May 2013 04:58:16 -0700 (PDT) Received: by 10.182.55.35 with HTTP; Wed, 29 May 2013 04:58:16 -0700 (PDT) X-Originating-IP: [49.176.128.84] In-Reply-To: References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> Date: Wed, 29 May 2013 21:58:16 +1000 Message-ID: Subject: Re: BSD sleep From: Jason Birch To: "freebsd-current@freebsd.org" , "freebsd-questions@freebsd.org" X-Gm-Message-State: ALoCoQm7lbIqGZORAMnpT82DEwRGU2DFRQjSew5GDws8NJqZaeZZr9bXGnhOlEWmnFigIUnotR9H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 29 May 2013 11:58:16 -0000 > Seriously, that explanation about different hours is not enough to prevent > at least useful option. > like > sleep -f 1h > (-f means force convert, without it you can see good explanation why sleep > for 1 hour will be not sleep for 1 hour, and etc, and not get sleep at > all.). > Do one thing, and do it well. What you have proposed involves: * an additional force flag * interpolation of what follows the force flag (does m mean minutes, or months?) * expectations around time, time zones, and what an hours is. That fails the litmus test on complexity for me personally - it seems like a lot of complexity for not much gain. > P.S. There is already non-portable feature in sleep - non-integer, and I'm > sure that no one thought about some financists from various countries, who > used to specify long numbers with separator, e.g. 3.600, and this means for > them one hour and not 3 point 6 seconds. > This isn't a good reason for adding another non-portable feature.