From owner-freebsd-questions@FreeBSD.ORG Wed May 29 11:58:16 2013 Return-Path: Delivered-To: freebsd-questions@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 CC29993C for ; Wed, 29 May 2013 11:58:16 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1DD2F5 for ; Wed, 29 May 2013 11:58:16 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id xk17so796749obc.10 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=le6zUJ7/KAoNdz1tF9F0T7nU3BDGBm26DGCFUeTVzE8413+omoymPjA+NNwHQgoUqn 2qPdmlirCIm9Gpxkq4pb12H8E8oEElNr1gIhvp7345IXw6+MyRwKR4alWW8JjirgtNPF Yz0AZx/OfkduA0QA6lpJ6/D5tmZOZsiz07IS/7t+zpIasaZq/zmwQn0c/YfytVuDgvgf YDdyM18jrSUIw4i4NEUIjj6onwLrN4y+yn83XmCtswvoXIYJIz8nRp272yE1+uZTMYN+ rEYvb74ANtFGCKrWnnAhmmYj4WK5pSiy3B57CV1JK8NoPkus9zaCKKlnZ+W56R/fBIql EwVg== 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: ALoCoQn3tNt+3lOBmwMkHO+K5DWIq2ErNN7lRLYi6dosBUhccWuaVlm9/O6SskgH6MtDBBkKezZf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 11:58:17 -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.