From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 14:55:05 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1Jna0T-0007Ji-Jt
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 14:55:05 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 7ED4813A4FDD; Sun, 20 Apr 2008 13:55:00 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 required=4.0 tests=BAYES_00,GMAIL,
	RCVD_IN_DNSWL_LOW,SARE_MSGID_LONG40 autolearn=no version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id 07BAA13A502E;
	Sun, 20 Apr 2008 13:54:50 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JnZwf-0000fj-Bw; Sun, 20 Apr 2008 13:51:05 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#476838: coreutils: Use --human-readable by default
Reply-To: "Olaf van der Spek" <olafvdspek@gmail.com>, 476838@bugs.debian.org
Resent-From: "Olaf van der Spek" <olafvdspek@gmail.com>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Michael Stone <mstone@debian.org>
Resent-Date: Sun, 20 Apr 2008 13:51:04 +0000
Resent-Message-ID: <handler.476838.B476838.120869925523935@bugs.debian.org>
X-Debian-PR-Message: followup 476838
X-Debian-PR-Package: coreutils
X-Debian-PR-Keywords: 
X-Debian-PR-Source: coreutils
Received: via spool by 476838-submit@bugs.debian.org id=B476838.120869925523935
          (code B ref 476838); Sun, 20 Apr 2008 13:51:04 +0000
Received: (at 476838) by bugs.debian.org; 20 Apr 2008 13:47:35 +0000
X-Amavis-Spam-Status: No, score=-6.0 required=4.0 tests=BAYES_00,GMAIL,
	HAS_BUG_NUMBER autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Received: from yw-out-2324.google.com ([74.125.46.31])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <olafvdspek@gmail.com>)
	id 1JnZtG-0006Cf-Rc
	for 476838@bugs.debian.org; Sun, 20 Apr 2008 13:47:34 +0000
Received: by yw-out-2324.google.com with SMTP id 5so718266ywh.77
        for <476838@bugs.debian.org>; Sun, 20 Apr 2008 06:47:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        bh=HSzj/vKNLi/YHeDdBcr/iGYfMTN5XoOzb+2VprSphbw=;
        b=xHjvfTtPWlxrcpQZM+zV0YjU4KsMg4C5/B6aNdO3IKLwcBe2yS+wvxdWcdognSC4JN3VhC26YXp7ypgVtZMgtJFzGxY0JztQz9dAy2jiR2KH4iEVWGPFPBuawQL6zaNnEQ9g8ZeTiGdaqJB5JlayXu3CitAC0gty8Ca2sEkkBj0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=kMrSxLZTtIPf23xkJ2xqDsq/V6IYKQQQ3lXmDfPGAIr9d3G8DfcqbjZgVd0xZ2dRZKNR3YuJx/lSJsZgwdSFltBoJtiBaekEZS9TeUWKF90L9zDx9RPyT5XYTBJqtE+KL5+TUPuS2YNOkttbdGR3M9ebYT9MtR0YKZFyzwh9wrQ=
Received: by 10.151.40.3 with SMTP id s3mr5816543ybj.175.1208699247754;
        Sun, 20 Apr 2008 06:47:27 -0700 (PDT)
Received: by 10.150.151.13 with HTTP; Sun, 20 Apr 2008 06:47:27 -0700 (PDT)
Message-ID: <b2cc26e40804200647o23394195i550b94580bbd4b58@mail.gmail.com>
Date: Sun, 20 Apr 2008 15:47:27 +0200
From: "Olaf van der Spek" <olafvdspek@gmail.com>
To: "Jim Meyering" <jim@meyering.net>
Cc: 476838@bugs.debian.org, "Lucas Nussbaum" <lucas@lucas-nussbaum.net>
In-Reply-To: <8763ucvdym.fsf@rho.meyering.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20080419134330.9494.32949.reportbug@d.xwis.net>
	 <20080419165008.GA16105@xanadu.blop.info>
	 <b2cc26e40804190757t133468o77aac70292c320a2@mail.gmail.com>
	 <87d4olx18j.fsf@rho.meyering.net>
	 <b2cc26e40804190934o5f106630p21fb68c2fbad894a@mail.gmail.com>
	 <8763ucvdym.fsf@rho.meyering.net>
Resent-Date: Sun, 20 Apr 2008 13:51:05 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343509
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -52.6
X-Spam-Report: (-52.6 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	0.0 AWL                    AWL: From: address is in the auto white-list

On Sun, Apr 20, 2008 at 3:43 PM, Jim Meyering <jim@meyering.net> wrote:
>
> "Olaf van der Spek" <olafvdspek@gmail.com> wrote:
>  > On Sat, Apr 19, 2008 at 6:23 PM, Jim Meyering <jim@meyering.net> wrote:
>  >> "Olaf van der Spek" <olafvdspek@gmail.com> wrote:
>  >>  >>  > Could [df] use --human-readable by default?
>  >>
>  >> >>
>  >>  >>  No, that would break many scripts that get the value from the third or
>  >>  >>  fourth column and compare it to some constant, for example.
>  >>  >
>  >>  > What about doing it only if the output is a terminal?
>  >>
>  >>  Sorry, but no.
>  >>  coreutils has a policy of not making behavior depend on that.
>  >>  There are a few exceptions, but those are mandated.
>  >
>  > Hmm, that makes sense. Still, it'd be nice if humans wouldn't have to
>  > suffer due to this.
>  > Isn't there a common option, like --raw or --script, that scripts
>  > could use to get machine readable output?
>  > I guess df isn't the only app with this problem.
>
>  Humans can use an alias or shell function to add
>  the options of their choice.

> Tastes/needs differ.

That's certainly true.
How many users would prefer the current default over -h and why?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


