From MAILER-DAEMON Sat Dec 01 13:55:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TesE7-00077t-EK
	for mharc-coreutils@gnu.org; Sat, 01 Dec 2012 13:55:47 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45695)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <KAction@gnu.org>) id 1TesE4-00076H-9m
	for coreutils@gnu.org; Sat, 01 Dec 2012 13:55:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <KAction@gnu.org>) id 1TesE2-0002LH-I6
	for coreutils@gnu.org; Sat, 01 Dec 2012 13:55:44 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49988)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <KAction@gnu.org>) id 1TesE2-0002L9-DR
	for coreutils@gnu.org; Sat, 01 Dec 2012 13:55:42 -0500
Received: from broadband-77-37-146-56.nationalcablenetworks.ru
	([77.37.146.56]:41724 helo=localhost)
	by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <KAction@gnu.org>) id 1TesE1-0004Gc-Dr
	for coreutils@gnu.org; Sat, 01 Dec 2012 13:55:42 -0500
Date: Sat, 1 Dec 2012 22:55:37 +0400
From: Dmitry Bogatov <KAction@gnu.org>
To: coreutils@gnu.org
Subject: [PATCH] seq cleanup
Message-ID: <20121201185537.GA22523@hell>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3"
Content-Disposition: inline
X-Jabber: KAction@beem-project.com
X-Phone: +79161582266
X-Message: If you read this, tell me about it. I am really impressed.
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2001:4830:134:3::e
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 01 Dec 2012 18:55:45 -0000


--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Here is simple patch that allow reduce indentation in `print_numbers`
in `seq.c` by one level to improve readability.

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
	GNU Thales maintainer and netiquette guardian.
GPG: D1E0591E0037BDCCBEE56002788BE01254B7F00D

diff --git a/src/seq.c b/src/seq.c
index 9c2c51f..01b5927 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -256,60 +256,61 @@ print_numbers (char const *fmt, struct layout layout,
 {
   bool out_of_range = (step < 0 ? first < last : last < first);

-  if (! out_of_range)
-    {
-      long double x = first;
-      long double i;
+  if (out_of_range)
+    return;
+
+  long double x = first;
+  long double i;

-      for (i = 1; ; i++)
+  for (i = 1; ; i++)
+    {
+      long double x0 = x;
+      printf (fmt, x);
+      if (out_of_range)
+        break;
+      x = first + i * step;
+      out_of_range = (step < 0 ? x < last : last < x);
+
+      if (out_of_range)
         {
-          long double x0 = x;
-          printf (fmt, x);
-          if (out_of_range)
-            break;
-          x = first + i * step;
-          out_of_range = (step < 0 ? x < last : last < x);
-
-          if (out_of_range)
+          /* If the number just past LAST prints as a value equal
+             to LAST, and prints differently from the previous
+             number, then print the number.  This avoids problems
+             with rounding.  For example, with the x86 it causes
+             "seq 0 0.000001 0.000003" to print 0.000003 instead
+             of stopping at 0.000002.  */
+
+          bool print_extra_number = false;
+          long double x_val;
+          char *x_str;
+          int x_strlen;
+          setlocale (LC_NUMERIC, "C");
+          x_strlen = asprintf (&x_str, fmt, x);
+          setlocale (LC_NUMERIC, "");
+          if (x_strlen < 0)
+            xalloc_die ();
+          x_str[x_strlen - layout.suffix_len] = '\0';
+
+          if (xstrtold (x_str + layout.prefix_len, NULL, &x_val, c_strtold)
+              && x_val == last)
             {
-              /* If the number just past LAST prints as a value equal
-                 to LAST, and prints differently from the previous
-                 number, then print the number.  This avoids problems
-                 with rounding.  For example, with the x86 it causes
-                 "seq 0 0.000001 0.000003" to print 0.000003 instead
-                 of stopping at 0.000002.  */
-
-              bool print_extra_number = false;
-              long double x_val;
-              char *x_str;
-              int x_strlen;
-              setlocale (LC_NUMERIC, "C");
-              x_strlen = asprintf (&x_str, fmt, x);
-              setlocale (LC_NUMERIC, "");
-              if (x_strlen < 0)
+              char *x0_str = NULL;
+              if (asprintf (&x0_str, fmt, x0) < 0)
                 xalloc_die ();
-              x_str[x_strlen - layout.suffix_len] = '\0';
-
-              if (xstrtold (x_str + layout.prefix_len, NULL, &x_val, c_strtold)
-                  && x_val == last)
-                {
-                  char *x0_str = NULL;
-                  if (asprintf (&x0_str, fmt, x0) < 0)
-                    xalloc_die ();
-                  print_extra_number = !STREQ (x0_str, x_str);
-                  free (x0_str);
-                }
-
-              free (x_str);
-              if (! print_extra_number)
-                break;
+              print_extra_number = !STREQ (x0_str, x_str);
+              free (x0_str);
             }

-          fputs (separator, stdout);
+          free (x_str);
+          if (! print_extra_number)
+            break;
         }

-      fputs (terminator, stdout);
+      fputs (separator, stdout);
     }
+
+  fputs (terminator, stdout);
+
 }

 /* Return the default format given FIRST, STEP, and LAST.  */

--r5Pyd7+fXNt84Ff3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJQulKpAAoJEHiL4BJUt/ANjhMQAK5yZAzUSa8d3CiSqbNLQ6zl
VqRfHxNXR/9BF1i1eMleyu0rnoo4uARLBgndLXiYK4k/0t82rRGyXbMr+KbijqOB
2kujAZU4xrSZ1Z8Rzp1hn22t3NF4lbbfrYuVmzLd+7B1Qzz09ub5eJ3Ya9ax+d7T
YCreOfvPRKI/2GS4qUH68alO8LBkrpAKLLPlO1XxKiyyjzKa6I2wqRiI2x4BukCu
gi5Cbri8Z+JRwYqpXaJSytMsormKw6smcf5gOaRx2PTm6VRfJmzAFSzYHmg1oM8E
RvrEmsTtWh9yhSNJ7vhDMc/MUvgpUW5M2PB3PL99LSCsen0jIQ+0tBMS6DX3En4T
TWhmSgTHQ8fSyoo2ozJ2/TpZRKR/fK26jZJRy8cUPTVvdh6uPIFbmZSmzliL31gn
GIi1uLCpwTCLgjLYf7/BPnYsn/eW733J4uMuKTaQOmPb5F3NdBKUOBL7L/HrubqE
+N5vOFqrHcxEQ/ZVwdnCCv5NPmgJ/6oKma3sRIL2XMPSRX2hBR3b+WsdHB21EODK
GpFvtsIoQ7eWExZps+zJQv5t4QYa3amk9cu6yvxK6oWRjTD++YHVlDi645h6z7nA
43hn1mqxlJl7N3AB8dCCnIF5/spWCZv/YmbY79P6XZRXXBgQWs/LNk2/Po3G3pvo
HyINyZCd4kZvm3lWv09v
=IFgt
-----END PGP SIGNATURE-----

--r5Pyd7+fXNt84Ff3--


From MAILER-DAEMON Sun Dec 02 08:42:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tf9oB-0007hG-Ri
	for mharc-coreutils@gnu.org; Sun, 02 Dec 2012 08:42:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47373)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tf9o8-0007ZY-Pj
	for coreutils@gnu.org; Sun, 02 Dec 2012 08:42:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tf9o7-0002NQ-Ud
	for coreutils@gnu.org; Sun, 02 Dec 2012 08:42:08 -0500
Received: from mx1.redhat.com ([209.132.183.28]:41120)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>)
	id 1Tf9o6-0002N5-4I; Sun, 02 Dec 2012 08:42:06 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB2Dg3gK007621
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sun, 2 Dec 2012 08:42:03 -0500
Received: from [10.36.116.28] (ovpn-116-28.ams2.redhat.com [10.36.116.28])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB2Dg0He012033
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sun, 2 Dec 2012 08:42:02 -0500
Message-ID: <50BB5AA8.4060104@draigBrady.com>
Date: Sun, 02 Dec 2012 13:42:00 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Dmitry Bogatov <KAction@gnu.org>
Subject: Re: [PATCH] seq cleanup
References: <20121201185537.GA22523@hell>
In-Reply-To: <20121201185537.GA22523@hell>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB2Dg3gK007621
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Dec 2012 13:42:10 -0000

On 12/01/2012 06:55 PM, Dmitry Bogatov wrote:
> Here is simple patch that allow reduce indentation in `print_numbers`
> in `seq.c` by one level to improve readability.
>
> --
> Best regards, Dmitry Bogatov<KAction@gnu.org>,
> 	GNU Thales maintainer and netiquette guardian.
> GPG: D1E0591E0037BDCCBEE56002788BE01254B7F00D
>
> diff --git a/src/seq.c b/src/seq.c
> index 9c2c51f..01b5927 100644
> --- a/src/seq.c
> +++ b/src/seq.c
> @@ -256,60 +256,61 @@ print_numbers (char const *fmt, struct layout lay=
out,
>   {
>     bool out_of_range =3D (step < 0 ? first < last : last < first);
>
> -  if (! out_of_range)
> -    {

> +  if (out_of_range)
> +    return;

This seems a bit marginal TBH.
Less indentation is good, but multiple return points is less so.
I'd apply it if it reduced line wrapping, but it doesn't.

thanks,
P=C3=A1draig.


From MAILER-DAEMON Sun Dec 02 20:25:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfKmu-0000VZ-Kz
	for mharc-coreutils@gnu.org; Sun, 02 Dec 2012 20:25:36 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42164)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TfKms-0000TM-B8
	for coreutils@gnu.org; Sun, 02 Dec 2012 20:25:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TfKmr-0003yd-Bn
	for coreutils@gnu.org; Sun, 02 Dec 2012 20:25:34 -0500
Received: from moutng.kundenserver.de ([212.227.17.9]:57973)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TfKmr-0003yU-1g
	for coreutils@gnu.org; Sun, 02 Dec 2012 20:25:33 -0500
Received: from [192.168.1.11] (p4FF772DF.dip.t-dialin.net [79.247.114.223])
	by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis)
	id 0MTxaL-1TnkoY2uAb-00Qho1; Mon, 03 Dec 2012 02:25:20 +0100
Message-ID: <50BBFF7F.1050108@bernhard-voelker.de>
Date: Mon, 03 Dec 2012 02:25:19 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: Hide rootfs filesystem in df
References: <20120924104509.6825b8ec@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C226@MCHP02MSX.global-ad.net>
	<20120924155240.63607bc0@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C26A@MCHP02MSX.global-ad.net>
	<20120924164902.6a4af494@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C2EA@MCHP02MSX.global-ad.net>
	<87zk4cdfr3.fsf@rho.meyering.net>
	<50B713D4.3010503@bernhard-voelker.de>
In-Reply-To: <50B713D4.3010503@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:qXZ4kjusxy/C8xq46QpjNv2kQ0V3hzt8Y4HX7OHQeFJ
	wwBEDIvOadahM6Tx+Sk8JCqw8FXqD6sxwUQDFmOxSm8rfc8dXl
	BKI0U0q7RLxpbaRUfhWrWsieJp6UNozxguIsGc+GfNROx8Hven
	QlknWIVgmzZIIGwmRaw/6J/PldpjhH+Zgj8JFaayP824xgNugM
	r65ZRHp1e/9dHvQ6JkGecCwyWptjpsxOOfNJ86eswmTNrx44D3
	UJa0rsDXUm7FH0bjXTlVFgkpmcGE9FWBaMC+2x2D/ykiKeegaA
	WRrZ+TEJb2GaSGTm9XqntAv1a7Gf557jyzITc9ZnIXv2QzOlKV
	fPQDXi5cu7BSfS3TwWH5VsV847Bd+jntptmKQnpOm
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.9
Cc: Philipp Thomas <pth@suse.de>, Robert Milasan <rmilasan@suse.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Dec 2012 01:25:35 -0000

CC'ed Philipp (because the patch is already
on the way to openSUSE:Factory).

On 11/29/2012 08:50 AM, Bernhard Voelker wrote:
> Hi Jim,
> 
> as Robert wrote, it's the easiest way to fix it.
> [...]
> So I'm 60:40 for adding it.

Unfortunately, it can't be added like this:

>>> +  if (STRNCMP_LIT (fstype, "rootfs") == 0)
>>> +    return;
>>> +

If fstype is NULL - which is the case e.g. for
"df --total" -,then STRNCMP_LIT dumps core.
The fix is to test fstype against NULL.

I'm still thinking about how to combine "hide rootfs"
with "hide duplicates" (from Ondrej), but I've not
found an elegant solution yet.

Have a nice day,
Berny


From MAILER-DAEMON Mon Dec 03 03:54:02 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfRms-0001Ri-Co
	for mharc-coreutils@gnu.org; Mon, 03 Dec 2012 03:54:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56301)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rmilasan@suse.com>) id 1TfRmk-000197-BW
	for coreutils@gnu.org; Mon, 03 Dec 2012 03:54:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rmilasan@suse.com>) id 1TfRme-0004W2-Dq
	for coreutils@gnu.org; Mon, 03 Dec 2012 03:53:54 -0500
Received: from cantor2.suse.de ([195.135.220.15]:46581 helo=mx2.suse.de)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rmilasan@suse.com>) id 1TfRme-0004Vb-2F
	for coreutils@gnu.org; Mon, 03 Dec 2012 03:53:48 -0500
Received: from relay1.suse.de (unknown [195.135.220.254])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx2.suse.de (Postfix) with ESMTP id E503CA51B6;
	Mon,  3 Dec 2012 09:53:45 +0100 (CET)
Date: Mon, 3 Dec 2012 09:53:44 +0100
From: Robert Milasan <rmilasan@suse.com>
To: "Bernhard Voelker" <mail@bernhard-voelker.de>
Subject: Re: Hide rootfs filesystem in df
Message-ID: <20121203095344.7e2f4e72@viper.suse.cz>
In-Reply-To: <50BBFF7F.1050108@bernhard-voelker.de>
References: <20120924104509.6825b8ec@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C226@MCHP02MSX.global-ad.net>
	<20120924155240.63607bc0@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C26A@MCHP02MSX.global-ad.net>
	<20120924164902.6a4af494@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C2EA@MCHP02MSX.global-ad.net>
	<87zk4cdfr3.fsf@rho.meyering.net>
	<50B713D4.3010503@bernhard-voelker.de>
	<50BBFF7F.1050108@bernhard-voelker.de>
Organization: SUSE Linux
X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-suse-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-Received-From: 195.135.220.15
Cc: Philipp Thomas <pth@suse.de>, "coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Dec 2012 08:54:00 -0000

On Mon, 03 Dec 2012 02:25:19 +0100
"Bernhard Voelker" <mail@bernhard-voelker.de> wrote:

> CC'ed Philipp (because the patch is already
> on the way to openSUSE:Factory).
> 
> On 11/29/2012 08:50 AM, Bernhard Voelker wrote:
> > Hi Jim,
> > 
> > as Robert wrote, it's the easiest way to fix it.
> > [...]
> > So I'm 60:40 for adding it.
> 
> Unfortunately, it can't be added like this:
> 
> >>> +  if (STRNCMP_LIT (fstype, "rootfs") == 0)
> >>> +    return;
> >>> +
> 
> If fstype is NULL - which is the case e.g. for
> "df --total" -,then STRNCMP_LIT dumps core.
> The fix is to test fstype against NULL.
> 
> I'm still thinking about how to combine "hide rootfs"
> with "hide duplicates" (from Ondrej), but I've not
> found an elegant solution yet.
> 
> Have a nice day,
> Berny
> 

Ok, how about this:

Index: coreutils-8.17/src/df.c
===================================================================
--- coreutils-8.17.orig/src/df.c
+++ coreutils-8.17/src/df.c
@@ -474,6 +474,11 @@ get_dev (char const *disk, char const *m
   if (!selected_fstype (fstype) || excluded_fstype (fstype))
     return;
 
+  if (fstype != NULL) {
+    if (STRNCMP_LIT (fstype, "rootfs") == 0)
+      return;
+  }
+
   /* If MOUNT_POINT is NULL, then the file system is not mounted, and this
      program reports on the file system that the special file is on.
      It would be better to report on the unmounted file system,

Test this on openSUSE 12.1 with "df --total" and works properly:

> ./df --total
Filesystem     1K-blocks     Used Available Use% Mounted on
devtmpfs         3934516        8   3934508   1% /dev
tmpfs            3942324      288   3942036   1% /dev/shm
tmpfs            3942324      632   3941692   1% /run
/dev/sda5      103210272  6970060  95191660   7% /
tmpfs            3942324        0   3942324   0% /sys/fs/cgroup
tmpfs            3942324      632   3941692   1% /var/run
tmpfs            3942324      632   3941692   1% /var/lock
tmpfs            3942324        0   3942324   0% /media
buildfs          5242880   749012   4493868  15% /var/tmp
/dev/sda6      369245224 64179592 286308976  19% /home
total          505286836 71900856 413580772  15%



-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan@suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


From MAILER-DAEMON Mon Dec 03 03:57:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfRqQ-0002ga-3f
	for mharc-coreutils@gnu.org; Mon, 03 Dec 2012 03:57:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33348)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rmilasan@suse.com>) id 1TfRqJ-0002gP-Th
	for coreutils@gnu.org; Mon, 03 Dec 2012 03:57:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rmilasan@suse.com>) id 1TfRqD-0005kN-M4
	for coreutils@gnu.org; Mon, 03 Dec 2012 03:57:35 -0500
Received: from cantor2.suse.de ([195.135.220.15]:46714 helo=mx2.suse.de)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rmilasan@suse.com>) id 1TfRqD-0005kB-CO
	for coreutils@gnu.org; Mon, 03 Dec 2012 03:57:29 -0500
Received: from relay2.suse.de (unknown [195.135.220.254])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx2.suse.de (Postfix) with ESMTP id BB28BA51D9;
	Mon,  3 Dec 2012 09:57:28 +0100 (CET)
Date: Mon, 3 Dec 2012 09:57:27 +0100
From: Robert Milasan <rmilasan@suse.com>
To: "Robert Milasan" <RMilasan@suse.com>
Subject: Re: Hide rootfs filesystem in df
Message-ID: <20121203095727.7c229245@viper.suse.cz>
In-Reply-To: <20121203095344.7e2f4e72@viper.suse.cz>
References: <20120924104509.6825b8ec@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C226@MCHP02MSX.global-ad.net>
	<20120924155240.63607bc0@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C26A@MCHP02MSX.global-ad.net>
	<20120924164902.6a4af494@viper.suse.cz>
	<A75C39900FCF0B42A2CE8B26F837D2C306C2EA@MCHP02MSX.global-ad.net>
	<87zk4cdfr3.fsf@rho.meyering.net>
	<50B713D4.3010503@bernhard-voelker.de>
	<50BBFF7F.1050108@bernhard-voelker.de>
	<20121203095344.7e2f4e72@viper.suse.cz>
Organization: SUSE Linux
X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-suse-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-Received-From: 195.135.220.15
Cc: Philipp Thomas <pth@suse.de>, Bernhard Voelker <mail@bernhard-voelker.de>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Dec 2012 08:57:40 -0000

On Mon, 3 Dec 2012 09:53:44 +0100
"Robert Milasan" <RMilasan@suse.com> wrote:

> 
> Ok, how about this:
> 
> Index: coreutils-8.17/src/df.c
> ===================================================================
> --- coreutils-8.17.orig/src/df.c
> +++ coreutils-8.17/src/df.c
> @@ -474,6 +474,11 @@ get_dev (char const *disk, char const *m
>    if (!selected_fstype (fstype) || excluded_fstype (fstype))
>      return;
>  
> +  if (fstype != NULL) {
> +    if (STRNCMP_LIT (fstype, "rootfs") == 0)
> +      return;
> +  }
> +
>    /* If MOUNT_POINT is NULL, then the file system is not mounted,
> and this program reports on the file system that the special file is
> on. It would be better to report on the unmounted file system,
> 
> Test this on openSUSE 12.1 with "df --total" and works properly:
> 
> > ./df --total
> Filesystem     1K-blocks     Used Available Use% Mounted on
> devtmpfs         3934516        8   3934508   1% /dev
> tmpfs            3942324      288   3942036   1% /dev/shm
> tmpfs            3942324      632   3941692   1% /run
> /dev/sda5      103210272  6970060  95191660   7% /
> tmpfs            3942324        0   3942324   0% /sys/fs/cgroup
> tmpfs            3942324      632   3941692   1% /var/run
> tmpfs            3942324      632   3941692   1% /var/lock
> tmpfs            3942324        0   3942324   0% /media
> buildfs          5242880   749012   4493868  15% /var/tmp
> /dev/sda6      369245224 64179592 286308976  19% /home
> total          505286836 71900856 413580772  15%
> 
> 

Ignore my last comment, didn't pay attention :)

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: rmilasan@suse.com
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A


From MAILER-DAEMON Mon Dec 03 13:09:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfaSE-0005nS-Dc
	for mharc-coreutils@gnu.org; Mon, 03 Dec 2012 13:09:18 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40344)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ooprala@redhat.com>) id 1TfaS7-0005mN-EZ
	for coreutils@gnu.org; Mon, 03 Dec 2012 13:09:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ooprala@redhat.com>) id 1TfaS5-0000Tw-6p
	for coreutils@gnu.org; Mon, 03 Dec 2012 13:09:11 -0500
Received: from mx1.redhat.com ([209.132.183.28]:35986)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ooprala@redhat.com>) id 1TfaS4-0000Tr-S5
	for coreutils@gnu.org; Mon, 03 Dec 2012 13:09:09 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB3I94qU006727
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 3 Dec 2012 13:09:04 -0500
Received: from [10.34.4.104] (unused-4-104.brq.redhat.com [10.34.4.104])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB3I928L023550
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Mon, 3 Dec 2012 13:09:03 -0500
Message-ID: <50BCEABD.3010004@redhat.com>
Date: Mon, 03 Dec 2012 19:09:01 +0100
From: Ondrej Oprala <ooprala@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>, coreutils@gnu.org
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
In-Reply-To: <50B79F29.8060609@bernhard-voelker.de>
Content-Type: multipart/mixed; boundary="------------000903060704070508090600"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Dec 2012 18:09:18 -0000

This is a multi-part message in MIME format.
--------------000903060704070508090600
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 11/29/2012 06:45 PM, Bernhard Voelker wrote:
> On 10/04/2012 07:36 PM, Ondrej Oprala wrote:
>> Hi, I haven't heard from this thread in a while, are there still things
>> to be done here?
> Hi Ondrej,
>
> FWIW, I've rebased your patch to Git master.
> (The only change I made - besides resolving the conflicts -
> was to declare devlist_head static to make syntax-check happy.)
>
> However, that implementation needs further discussion:
>
> * IMO, "df -a" should not skip bind mounts, and instead
>    print all of the lines.
>
> * It doesn't play well with Robert's suggestion for hiding
>    the 'rootfs' entry, because dev_examined() already added
>    the entry for the '/' file system before the rootfs entry is
>    skipped, which makes the real '/' entry also be skipped.
>    http://lists.gnu.org/archive/html/coreutils/2012-11/msg00091.html
>
>    But also Robert's patch deserves further discussion.
>    IMO e.g. "df -t rootfs" and again "df -a" should not skip
>    rootfs. And read_file_system_list must be called with true
>    param to make it work.
>
> * It still allocates one devlist entry more than needed.
>
> Have a nice day,
> Berny
Hi Bernhard,
thanks for the rebase :) .
I've modified the patch a bit, so I dont interfere with output if df -a 
is specified.

Regarding Robert's suggestion/patch and your opinions on it,
I agree that df -t rootfs should indeed output info about it.
So rootfs is now filtered as well as usual duplicates by default,
but should show up with the -[at] options.

As for the extra entry...sorry but I don't see it, the first entry 
(allocated
in get_all_entries) is filled/used as well as all the others.

Thanks,
Ondrej.




--------------000903060704070508090600
Content-Type: text/plain; charset=UTF-8;
 name="DIFF"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="DIFF"

RnJvbSA4NTk3MmIyY2Q3ZjkyYTEyNTIxNzdjMWY2YzE0MGViY2FlMmE3ZTA0IE1vbiBTZXAg
MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBPbmRyZWogT3ByYWxhIDxvb3ByYWxhQHJlZGhhdC5j
b20+CkRhdGU6IE1vbiwgMyBEZWMgMjAxMiAxNzo1MjowNiArMDEwMApTdWJqZWN0OiBbUEFU
Q0hdIGRmOiBkbyBub3QgcHJpbnQgZHVwbGljYXRlIGVudHJpZXMgYW5kIHJvb3RmcyBieSBk
ZWZhdWx0CgoqTkVXUzogTWVudGlvbiB0aGUgZml4Lgoqc3JjL2RmLmM6IChkZXZsaXN0X2Fk
ZCk6IEFkZCBhIG5ldyBlbnRyeSB0byB0aGUgZGV2bGlzdC4KKGRldl9leGFtaW5lZCk6IENo
ZWNrIGlmIHRoZSBkZXZpY2UgaGFzIGFscmVhZHkgYmVlbiB0cmF2ZXJzZWQuCihnZXRfYWxs
X2VudHJpZXMpOiBDaGFuZ2UgdGhlIGZ1bmN0aW9uJ3MgZXhlY3V0aW9uIHNvIHRoYXQKaXQg
ZmlsdGVycyBkdXBsaWNpdCBlbnRyaWVzLCB1bmxlc3MgdGhlIC1hIG9wdGlvbiBpcyBzcGVj
aWZpZWQuCihtYWluKTogU2V0IHRoZSBzaG93X3Jvb3RmcyB2YXJpYWJsZSBhcHByb3ByaWF0
ZWx5IHdoZW4KdGhlIC10IG9wdGlvbiBpcyBzcGVjaWZpZWQuCip0ZXN0cy9kZi9kZi1kdXAt
cmVtb3Zl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lIG51bWJlcjsgdGh1
cyB0aGUgb3V0cHV0IHNob3VsZAorI2NvbnNpc3Qgb2YgYSBoZWFkZXIgYW5kIG9uZSBlbnRy
eQordGVzdCAkKExEX1BSRUxPQUQ9Li9rLnNvIGRmIHwgd2MgLWwpIC1lcSAyIHx8IGZhaWw9
MQorCitFeGl0ICRmYWlsCmRpZmYgLS1naXQgYS90ZXN0cy9sb2NhbC5tayBiL3Rlc3RzL2xv
Y2FsLm1rCmluZGV4IDFiMGFjZTQuLjhmNWRlZjIgMTAwNjQ0Ci0tLSBhL3Rlc3RzL2xvY2Fs
Lm1rCisrKyBiL3Rlc3RzL2xvY2FsLm1rCkBAIC00NTcsNiArNDU3LDcgQEAgYWxsX3Rlc3Rz
ID0JCQkJCVwKICAgdGVzdHMvZGYvdW5yZWFkYWJsZS5zaAkJCVwKICAgdGVzdHMvZGYvdG90
YWwtdW5wcm9jZXNzZWQuc2gJCQlcCiAgIHRlc3RzL2RmL25vLW10YWItc3RhdHVzLnNoCQkJ
XAorICB0ZXN0cy9kZi9kZi1kdXAtcmVtb3ZlLnNoCQkJXAogICB0ZXN0cy9kZC9kaXJlY3Qu
c2gJCQkJXAogICB0ZXN0cy9kZC9taXNjLnNoCQkJCVwKICAgdGVzdHMvZGQvbm9jYWNoZS5z
aAkJCQlcCi0tIAoxLjcuMTEuNwoK
--------------000903060704070508090600--


From MAILER-DAEMON Tue Dec 04 03:52:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfoFA-00008d-Ul
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 03:52:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:34310)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TfoEw-0008Fd-5N
	for coreutils@gnu.org; Tue, 04 Dec 2012 03:52:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TfoAb-00086c-9Z
	for coreutils@gnu.org; Tue, 04 Dec 2012 03:48:06 -0500
Received: from moutng.kundenserver.de ([212.227.17.10]:56463)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tfncd-0001pO-6X
	for coreutils@gnu.org; Tue, 04 Dec 2012 03:12:57 -0500
Received: from [192.168.1.11] (p4FF765A0.dip.t-dialin.net [79.247.101.160])
	by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis)
	id 0MVYxn-1ThCtc0Agh-00YVqs; Tue, 04 Dec 2012 09:12:47 +0100
Message-ID: <50BDB07D.8090500@bernhard-voelker.de>
Date: Tue, 04 Dec 2012 09:12:45 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Ondrej Oprala <ooprala@redhat.com>
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
	<50BCEABD.3010004@redhat.com>
In-Reply-To: <50BCEABD.3010004@redhat.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:TfWu4OtpT/oSJ71iW4lV6SjnY+SypQahsNZRSJGrNNc
	1inIaOKolTT9kyHmI3Fl1IYyGSTcN5n69WuhH7NPeizFoDpzvU
	YE3H4MNryiyrFj8nBLBk4K08hRYWvrOI7fPIGyRRkcij2x6IJp
	VH1VlZlD7VDxC6fPuVKUpri9ySohVyMZrtv8RI69OP0hp1tMws
	4UYfIJa2cy8PFMCR734CrUQuOIg/Hn09klZ59zZKkfUMaxn2gx
	jjwG7CESjOIE6dVHEzGFHbDSpwBDIguOsLNQA9G7SNe/y8w0+z
	/xRa8EirahZnz6zwLAG6dEelpi6PlyvBwF8TU3udJ2wtVoFL4Y
	GCzJMrp/250lzri20V2wO4aWH4d4MDm9dzCxBBjuL
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.10
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 08:52:42 -0000

Hi Ondrej,

On 12/03/2012 07:09 PM, Ondrej Oprala wrote:
> thanks for the rebase :) .

no worries, you're welcome. ;-)

> I've modified the patch a bit, so I dont interfere with output if df -a 
> is specified.

Thanks.

I just had a quick look on the patch and I like the idea
of combining the filter for "rootfs" with that of the
duplicate entries.

I don't have time for a detailed review right now.
A few things certainly need to be straightened, e.g. I think
we can't ignore a stat failure:

> +static bool
> +dev_examined (struct devlist *devlist, char *mount_dir, char *devname)
> +{
> [...]
> +  stat (mount_dir, &buf);

and it probably deserves a little more work on the texi
documentation and on the test (which doesn't cover "rootfs"
hiding yet).

Have a nice day,
Berny


From MAILER-DAEMON Tue Dec 04 10:38:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfuaH-0007qL-Sr
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 10:38:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60018)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfuaA-0007oF-Fb
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:38:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tfua4-0002VA-Ig
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:38:50 -0500
Received: from mx1.redhat.com ([209.132.183.28]:6665)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tfua4-0002Uv-8A
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:38:44 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4FcghD014463
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <coreutils@gnu.org>; Tue, 4 Dec 2012 10:38:43 -0500
Received: from [10.36.116.70] (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4FccJ0018705
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 10:38:41 -0500
Message-ID: <50BE18FD.7090507@draigBrady.com>
Date: Tue, 04 Dec 2012 15:38:37 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: Make mv work better with SELinux.
References: <50733664.5000503@redhat.com>
In-Reply-To: <50733664.5000503@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB4FcghD014463
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 15:38:56 -0000

On 10/08/2012 09:24 PM, Daniel J Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> One of if not the most common problem people hit with SELinux is the mv
> command, which maintains the file context of the source destination.
>
> mv /home/dwalsh/index.html /var/www/html/
>
> This blows up on everybody and then the users have no idea why.
>
> I was thinking about adding -Z (--restorecon) to mv and having it basic=
ally do a
> internal restorecon on the destination.
>
> Then we could suggest people who get burnt by this to:
>
> alias mv=3D"mv -Z"
>
> In Fedora 18 we have greatly enhanced matchpathcon, by pre-compiling th=
e
> regex, so there should be very little slow down in doing this.

A question on performance.
So there was a large matchpathcon() performance issue in Fedora 11 time,
where we had a 20x slow down if matchpathcon_init_prefix() wasn't called
https://bugzilla.redhat.com/show_bug.cgi?id=3D479502#c24

Does calling matchpathcon_init_prefix() still provide benefit on Fedora 1=
8?
More importantly, since the new selinux::restorecon_private() doesn't
call matchpathcon_init_prefix(), will it have the large performance
issues on Fedora <=3D 17 and other SELinux supporting platforms?

Not a huge issue since install(1) enables setdefaultfilecon() by default,
whereas the new proposal would only enable when -Z is specified.
That's an inconsistency in the patch in this thread actually.
install -Z runs the new restorecon(), while also running the old
setdefaultfilecon(). Seems like we may need to drop the new install -Z
code for now, and possible in future merge restorecon() and setdefaultfil=
econ()

cheers,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 10:46:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tfuhp-00035B-N0
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 10:46:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:34059)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <pengyu.ut@gmail.com>) id 1Tfuhi-00034k-5d
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:46:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <pengyu.ut@gmail.com>) id 1TfuhO-0004un-Qj
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:46:38 -0500
Received: from mail-ie0-f169.google.com ([209.85.223.169]:53861)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <pengyu.ut@gmail.com>) id 1TfuhO-0004uZ-Fk
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:46:18 -0500
Received: by mail-ie0-f169.google.com with SMTP id c14so7342680ieb.0
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 07:46:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=0gibclQPC7Banic1BFMu5WY1wt7tvlVA90lMTjtxTYY=;
	b=O3nsE7TOcVLZ2tYPH0+ropRqbldIcreRcMl0wUcw5m14lWeCKItaMffFgvgnVQGt5W
	cUNzdR6yg99MbYSP2/8X/+/thIacgbU30CcADcXEH/4/EmCctyWVx6+IChPoRs8DfM1F
	8Mwq+XvF1ByXCYQTKrh6PhamkfN293IqMRn+RkUW/UwdwdeShfFdWrfx295wPsKuVelV
	7c14z+dsamok47SD7Hm8Jud0m5Mn0YPACcFU6Qp9eYscIGUJWJBQvzMgjsE80XHYDWjM
	ciU/Njnp6yZaOjnGthlux9GXxAEHv3cpHuACYts2dcPawbSZURKFK4OM9J+OIAvbD4kY
	v70g==
MIME-Version: 1.0
Received: by 10.42.139.74 with SMTP id f10mr11458401icu.4.1354635977599; Tue,
	04 Dec 2012 07:46:17 -0800 (PST)
Received: by 10.64.44.238 with HTTP; Tue, 4 Dec 2012 07:46:17 -0800 (PST)
Date: Tue, 4 Dec 2012 09:46:17 -0600
Message-ID: <CABrM6wk6O_bo864r9tgS9U5kzSqJ1+x8eLO7pE68vaB-UnTYjQ@mail.gmail.com>
Subject: Re: fifo unlimited buffer size?
From: Peng Yu <pengyu.ut@gmail.com>
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigbrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.223.169
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 15:46:45 -0000

On Tue, Dec 4, 2012 at 6:24 AM, P=E1draig Brady <P@draigbrady.com> wrote:
> tag 13075 + notabug
> close 13075
> thanks
>
> On 12/04/2012 03:19 AM, Peng Yu wrote:
>>
>> Hi,
>>
>> I have the following script. When the number to the right of 'seq' is
>> large (as 100000 in the example), the script will hang. But when the
>> number is small (say 1000), the script can be finished correctly. I
>> suspect that the problem is that there is a limit on the buffer size
>> for fifo. Is it so? Is there a way to make the following script work
>> no matter how large the number is? Thanks!
>>
>> ~/linux/test/gnu/gnu/coreutils/mkfifo/tee$ cat main2.sh
>> #!/usr/bin/env bash
>>
>> rm -rf a b c
>> mkfifo a b c
>> seq 100000 | tee a > b &
>> sort -k 1,1n a > c &
>> join -j 1 <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"} {print $1, $1+10}' < c)
>> <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"}{print $1, $1+20}' < b)
>
>
> So this is problematic due to `sort`.
> That's special as it needs to consume all its input before
> producing any output. Therefore unless the buffers connecting
> the other commands in || can consume the data, there will be a deadlock.

I can't parse "Therefore unless the buffers connecting the other
commands in || can consume the data... " What is '||'?

>
> This version doesn't block for example as
> the input is being generated asynchronously for the sort command.
>
> #!/usr/bin/env bash
> rm -rf a b c
> mkfifo a b c
> join -j 1 <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"} {print $1, $1+10}' < c) \
> <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"}{print $1, $1+20}' < b) &
> seq 100000 | sort -k 1,1n > c &
> seq 100000 > b
> wait
>
> Obviously, if your input is expensive to generate,
> then you'd be best copying to another file
> and sorting that.

I should send the message to the regular mailing list. I have two
implicit requirements.

1. The input 'seq 100000' can not be run twice, it has to be called once.
2. There can not be intermediate files generated.

Given the above requirements, there is no solution?

The generate question is, there is one input stream fans out to
multiple streams, which then are under some processing. Then these
processed streams converge to one program, which outputs one output
stream. This seems to be general use pattern. This pattern can be
nested arbitrarily, in which case, the above two requirements are
better held. Does this make sense?

--=20
Regards,
Peng


From MAILER-DAEMON Tue Dec 04 10:56:30 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfurG-0006Am-CD
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 10:56:30 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36999)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfurA-00067b-MR
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:56:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tfur0-00082Q-Vu
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:56:24 -0500
Received: from mx1.redhat.com ([209.132.183.28]:42638)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tfur0-00082G-Ls
	for coreutils@gnu.org; Tue, 04 Dec 2012 10:56:14 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4FuDjf008027
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <coreutils@gnu.org>; Tue, 4 Dec 2012 10:56:14 -0500
Received: from [10.36.116.70] (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4FuAcT021817
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 10:56:12 -0500
Message-ID: <50BE1D19.2060907@draigBrady.com>
Date: Tue, 04 Dec 2012 15:56:09 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: Make mv work better with SELinux.
References: <50733664.5000503@redhat.com> <50BE18FD.7090507@draigBrady.com>
In-Reply-To: <50BE18FD.7090507@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB4FuDjf008027
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 15:56:29 -0000

On 12/04/2012 03:38 PM, P=E1draig Brady wrote:
> On 10/08/2012 09:24 PM, Daniel J Walsh wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> One of if not the most common problem people hit with SELinux is the m=
v
>> command, which maintains the file context of the source destination.
>>
>> mv /home/dwalsh/index.html /var/www/html/
>>
>> This blows up on everybody and then the users have no idea why.
>>
>> I was thinking about adding -Z (--restorecon) to mv and having it basi=
cally do a
>> internal restorecon on the destination.
>>
>> Then we could suggest people who get burnt by this to:
>>
>> alias mv=3D"mv -Z"
>>
>> In Fedora 18 we have greatly enhanced matchpathcon, by pre-compiling t=
he
>> regex, so there should be very little slow down in doing this.
>
> A question on performance.
> So there was a large matchpathcon() performance issue in Fedora 11 time=
,
> where we had a 20x slow down if matchpathcon_init_prefix() wasn't calle=
d
> https://bugzilla.redhat.com/show_bug.cgi?id=3D479502#c24
>
> Does calling matchpathcon_init_prefix() still provide benefit on Fedora=
 18?
> More importantly, since the new selinux::restorecon_private() doesn't
> call matchpathcon_init_prefix(), will it have the large performance
> issues on Fedora <=3D 17 and other SELinux supporting platforms?
>
> Not a huge issue since install(1) enables setdefaultfilecon() by defaul=
t,
> whereas the new proposal would only enable when -Z is specified.
> That's an inconsistency in the patch in this thread actually.
> install -Z runs the new restorecon(), while also running the old
> setdefaultfilecon(). Seems like we may need to drop the new install -Z
> code for now, and possible in future merge restorecon() and setdefaultf=
ilecon()

Also could you comment on the different schemes used by
restorecon() and setdefaultfilecon().
The old setdefaultfilecon() sets the context of the dest files
to that returned by matchpathcon directly, whereas the new
restorecon() only uses the "type" portion of the context
from matchpathcon() and inserts that into the exisiting
context for the dest file.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 11:25:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvJO-0008Fm-16
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:25:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45046)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TfvJJ-0008Bd-Ca
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:25:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TfvJD-0000NU-4u
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:25:29 -0500
Received: from mail-gh0-f169.google.com ([209.85.160.169]:54529)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TfvJD-0000ND-0V
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:25:23 -0500
Received: by mail-gh0-f169.google.com with SMTP id r11so657173ghr.0
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 08:25:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=XdC/UWynB4LlAWFTfQRc/Fo2VYz5y6oLAJW/cUtQMK8=;
	b=fzPipZEG2j+ZzLPI53JrI7uQhBFWNL6aaGZD/Uj4yE9bzYgxSb6BGyMXzkYL07kpil
	BDmIqRCy0suHka/NwSOTfEUYpi4bmLPpcSYml/nXYP1ZMuoYSHXmRxpXpznmnXRx8/Wx
	Wu1uwKCZIWZbiSsI3rhpH3NeqQYvchlkISvMdomnbQw1jMkYnZvI33nBTnva/oPtSORG
	3tYyg7zVqDkZcPTHcTeTfuMeTwAPQQML4B+IACfcVydThmDVgw5pSxm5Paw/wQcdOW+D
	uMLwnw24nK200c4Dihf9dx3PXuMMWu7aEoqBGkmNOt9i68kmnmRdO2dNvl60d7gAx/e/
	gT3A==
Received: by 10.236.142.48 with SMTP id h36mr15698960yhj.110.1354638320655;
	Tue, 04 Dec 2012 08:25:20 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id g6sm1254546ani.5.2012.12.04.08.25.19
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 04 Dec 2012 08:25:20 -0800 (PST)
Message-ID: <50BE23EF.9080200@gmail.com>
Date: Tue, 04 Dec 2012 11:25:19 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: Command-line program to convert 'human' sizes?
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.160.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:25:31 -0000

Hello,

Is there a command-line program (or a recommended way) to expose the coreutil's common functionality of converting raw sizes to 'human' sizes and vice versa ?

I'm referring to the "-h" parameter that du/df/sort are accepting, and reporting "human" sizes, but also the reverse (where sort's "-G" accepts "40M" as valid input).

I found two relevant threads, but no resolution:
http://lists.gnu.org/archive/html/coreutils/2011-08/msg00035.html
http://lists.gnu.org/archive/html/coreutils/2012-02/msg00088.html

Thanks,
 -gordon


From MAILER-DAEMON Tue Dec 04 11:26:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvKh-0000MK-FZ
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:26:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45442)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <pengyu.ut@gmail.com>) id 1TfvK6-0000EE-5M
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:26:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <pengyu.ut@gmail.com>) id 1TfvJp-0000bD-7Y
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:26:18 -0500
Received: from mail-ia0-f172.google.com ([209.85.210.172]:61680)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <pengyu.ut@gmail.com>) id 1TfvJp-0000b5-2x
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:26:01 -0500
Received: by mail-ia0-f172.google.com with SMTP id z13so3859979iaz.17
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 08:26:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:cc:content-type;
	bh=x1sf49pM95tnvUT7vSzHRfgIKdvh5MTruesEg/EyDKE=;
	b=mGb24vMyBxmol/6aGWJHPo7qGa2hRceMO58Eh6G3PwNG339owzrsJfWvpP/amL7Q1E
	KbsU2uzf0bPkuXT+Y8cEJG5AttSGB9+czS/3NYH88zCKNgqZO+OnhUl70lJofGfqMaKr
	NH5jtXqvqhIu/py4ITLb3blee3AEKctAROtI3Ik72WQPhF7pdeqO93ZVIgdBmvk53qz6
	esDn2v4ei4O/hnxbZopfILdH0N6yJXP84bEPAaoTv68rBUZM6AAHlGnox5iUsdS1QqbD
	QP5IXkQcFfbGpBR1ecUom8VQ4RnQ30dH4l7+xzyVx7RdZR5yyKb8VV6uEhlca6UFeUqK
	9K4Q==
MIME-Version: 1.0
Received: by 10.50.41.200 with SMTP id h8mr3454218igl.0.1354638360461; Tue, 04
	Dec 2012 08:26:00 -0800 (PST)
Received: by 10.64.44.238 with HTTP; Tue, 4 Dec 2012 08:26:00 -0800 (PST)
Date: Tue, 4 Dec 2012 10:26:00 -0600
Message-ID: <CABrM6wnMQyNRZGBRpeAJECQvRW2ST2+JtBEk_GsP6BAs6YVF0w@mail.gmail.com>
Subject: Re: fifo unlimited buffer size? (possibly tee related)
From: Peng Yu <pengyu.ut@gmail.com>
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigbrady.com>
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.210.172
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:26:54 -0000

> I understand the structure, but the concurrent pipelines
> need separate data sources (process or file copy), or otherwise
> deadlock may happen as data overflows various buffers.
> I suppose this could be encapsulated in tee(1) with non-blocking
> writes and internal buffering, but that would just end up
> being a data copy anyway, so I'm not sure it's warranted.

So the point to improve shall be tee? If so, I'm glad that we at least
figure this out.

Let me explain why file copying can be bad. In my pathological example
based on sort, sort needs to take all the input before generating any
output. However, there are many applications which just need to see a
portion (let's call it lookahead) of input before generating any
output, in which case copying the whole input is a waste, especially
when the input is very large (say hundres of GB) and lookahead is much
smaller (say a few MB).

Could the maintainer of tee see if there is anything can be improved?

-- 
Regards,
Peng


From MAILER-DAEMON Tue Dec 04 11:30:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvOd-0000iI-GR
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:30:59 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46356)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvOa-0000hy-U3
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:30:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvOV-0001sE-1q
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:30:56 -0500
Received: from mx1.redhat.com ([209.132.183.28]:25657)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvOU-0001s4-NM
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:30:50 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GUh66031006
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:30:44 -0500
Received: from [10.36.116.70] (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qB4GUf7g001045
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 11:30:43 -0500
Message-ID: <50BE2531.2080508@draigBrady.com>
Date: Tue, 04 Dec 2012 16:30:41 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com>
In-Reply-To: <50BE23EF.9080200@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB4GUh66031006
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:30:58 -0000

On 12/04/2012 04:25 PM, Assaf Gordon wrote:
> Hello,
>
> Is there a command-line program (or a recommended way) to expose the co=
reutil's common functionality of converting raw sizes to 'human' sizes an=
d vice versa ?
>
> I'm referring to the "-h" parameter that du/df/sort are accepting, and =
reporting "human" sizes, but also the reverse (where sort's "-G" accepts =
"40M" as valid input).
>
> I found two relevant threads, but no resolution:
> http://lists.gnu.org/archive/html/coreutils/2011-08/msg00035.html
> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00088.html

Nothing yet. The plan is to make a numfmt command available with this int=
erface:
http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html

cheers,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 11:32:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvQK-00010f-V0
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:32:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46556)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQB-0000y5-Q4
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQ7-0002GN-Op
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:35 -0500
Received: from mx1.redhat.com ([209.132.183.28]:64257)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQ7-0002GH-HI
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:31 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GWTOS018871
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:32:29 -0500
Received: from pb-n5110.redhat.com (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GWRGo004916; Tue, 4 Dec 2012 11:32:27 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH 1/6] cp: -Z: restorecon(): fix detection and indication of
	errors
Date: Tue,  4 Dec 2012 16:32:20 +0000
Message-Id: <1354638745-4468-1-git-send-email-P@draigBrady.com>
In-Reply-To: <1354066999-17464-1-git-send-email-P@draigBrady.com>
References: <1354066999-17464-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: dwalsh@redhat.com
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:32:43 -0000

* src/selinux.c (restorecon_private): Check for correct error code
from [lf]getfilecon().  Note gnulib ensures these functions
always return -1 on error.  Also indicate return with an error if
context_new() fails.
---
 src/selinux.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/selinux.c b/src/selinux.c
index e708b55..afb3959 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -193,15 +193,17 @@ restorecon_private (char const *path, bool preserve)
   if (fd)
     {
       rc = fgetfilecon (fd, &tcon);
-      if (!rc)
+      if (rc < 0)
         goto quit;
     }
   else
     {
       rc = lgetfilecon (path, &tcon);
-      if (!rc)
+      if (rc < 0)
         goto quit;
     }
+
+  rc = -1;
   tcontext = context_new (tcon);
   if (!tcontext)
     goto quit;
-- 
1.7.6.4



From MAILER-DAEMON Tue Dec 04 11:32:46 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvQM-00014y-F1
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:32:46 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46564)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQD-0000y7-V7
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQA-0002Gl-3j
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:37 -0500
Received: from mx1.redhat.com ([209.132.183.28]:18421)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQ9-0002Ge-S6
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:34 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GWWvm027153
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:32:32 -0500
Received: from pb-n5110.redhat.com (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GWRGq004916; Tue, 4 Dec 2012 11:32:30 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH 3/6] cp: -Z: check for more errors in selinux routines
Date: Tue,  4 Dec 2012 16:32:22 +0000
Message-Id: <1354638745-4468-3-git-send-email-P@draigBrady.com>
In-Reply-To: <1354638745-4468-1-git-send-email-P@draigBrady.com>
References: <1354066999-17464-1-git-send-email-P@draigBrady.com>
	<1354638745-4468-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: dwalsh@redhat.com
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:32:45 -0000

* src/selinux.c (defaultconf): Handle error returns from
context_type_get(), context_type_set() and context_str().
(retorecon_private): Likewise.
---
 src/selinux.c |   25 ++++++++++++++++++++-----
 1 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/src/selinux.c b/src/selinux.c
index b1186e9..3235309 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -108,6 +108,8 @@ defaultcon (char const *path, mode_t mode)
   int rc = -1;
   security_context_t scon = NULL, tcon = NULL;
   context_t scontext = NULL, tcontext = NULL;
+  const char *contype;
+  char *constr;
 
   if (matchpathcon (path, mode, &scon) < 0)
     goto quit;
@@ -118,8 +120,14 @@ defaultcon (char const *path, mode_t mode)
   if (!(tcontext = context_new (tcon)))
     goto quit;
 
-  context_type_set (tcontext, context_type_get (scontext));
-  rc = setfscreatecon (context_str (tcontext));
+  if (!(contype = context_type_get (scontext)))
+    goto quit;
+  if (context_type_set (tcontext, contype))
+    goto quit;
+  if (!(constr = context_str (tcontext)))
+    goto quit;
+
+  rc = setfscreatecon (constr);
 
 //  printf("defaultcon %s %s\n", path, context_str(tcontext));
 quit:
@@ -149,6 +157,8 @@ restorecon_private (char const *path, bool preserve)
   struct stat sb;
   security_context_t scon = NULL, tcon = NULL;
   context_t scontext = NULL, tcontext = NULL;
+  const char *contype;
+  char *constr;
   int fd;
 
   if (preserve)
@@ -194,12 +204,17 @@ restorecon_private (char const *path, bool preserve)
   if (!(tcontext = context_new (tcon)))
     goto quit;
 
-  context_type_set (tcontext, context_type_get (scontext));
+  if (!(contype = context_type_get (scontext)))
+    goto quit;
+  if (context_type_set (tcontext, contype))
+    goto quit;
+  if (!(constr = context_str (tcontext)))
+    goto quit;
 
   if (fd)
-    rc = fsetfilecon (fd, context_str (tcontext));
+    rc = fsetfilecon (fd, constr);
   else
-    rc = lsetfilecon (path, context_str (tcontext));
+    rc = lsetfilecon (path, constr);
 
 //  printf("restorcon %s %s\n", path, context_str(tcontext));
 quit:
-- 
1.7.6.4



From MAILER-DAEMON Tue Dec 04 11:32:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvQL-00011s-8B
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:32:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46583)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQI-0000yC-Fc
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQ8-0002GV-Cq
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:42 -0500
Received: from mx1.redhat.com ([209.132.183.28]:12564)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQ8-0002GR-4G
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:32 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GWU1N031596
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:32:30 -0500
Received: from pb-n5110.redhat.com (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GWRGp004916; Tue, 4 Dec 2012 11:32:29 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH 2/6] cp: -Z: simplify return code handling in selinux routines
Date: Tue,  4 Dec 2012 16:32:21 +0000
Message-Id: <1354638745-4468-2-git-send-email-P@draigBrady.com>
In-Reply-To: <1354638745-4468-1-git-send-email-P@draigBrady.com>
References: <1354066999-17464-1-git-send-email-P@draigBrady.com>
	<1354638745-4468-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: dwalsh@redhat.com
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:32:43 -0000

* src/selinux.c: Since we don't have to distinguish
return codes other than -1, simplify the handling of
rc in these routines.
---
 src/selinux.c |   36 +++++++++++-------------------------
 1 files changed, 11 insertions(+), 25 deletions(-)

diff --git a/src/selinux.c b/src/selinux.c
index afb3959..b1186e9 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -109,18 +109,13 @@ defaultcon (char const *path, mode_t mode)
   security_context_t scon = NULL, tcon = NULL;
   context_t scontext = NULL, tcontext = NULL;
 
-  rc = matchpathcon (path, mode, &scon);
-  if (rc < 0)
+  if (matchpathcon (path, mode, &scon) < 0)
     goto quit;
-  rc = computecon (path, mode, &tcon);
-  if (rc < 0)
+  if (computecon (path, mode, &tcon) < 0)
     goto quit;
-  scontext = context_new (scon);
-  rc = -1;
-  if (!scontext)
+  if (!(scontext = context_new (scon)))
     goto quit;
-  tcontext = context_new (tcon);
-  if (!tcontext)
+  if (!(tcontext = context_new (tcon)))
     goto quit;
 
   context_type_set (tcontext, context_type_get (scontext));
@@ -171,41 +166,32 @@ restorecon_private (char const *path, bool preserve)
 
   if (fd)
     {
-      rc = fstat (fd, &sb);
-      if (rc < 0)
+      if (fstat (fd, &sb) < 0)
         goto quit;
     }
   else
     {
-      rc = lstat (path, &sb);
-      if (rc < 0)
+      if (lstat (path, &sb) < 0)
         goto quit;
     }
 
-  rc = matchpathcon (path, sb.st_mode, &scon);
-  if (rc < 0)
+  if (matchpathcon (path, sb.st_mode, &scon) < 0)
     goto quit;
-  scontext = context_new (scon);
-  rc = -1;
-  if (!scontext)
+  if (!(scontext = context_new (scon)))
     goto quit;
 
   if (fd)
     {
-      rc = fgetfilecon (fd, &tcon);
-      if (rc < 0)
+      if (fgetfilecon (fd, &tcon) < 0)
         goto quit;
     }
   else
     {
-      rc = lgetfilecon (path, &tcon);
-      if (rc < 0)
+      if (lgetfilecon (path, &tcon) < 0)
         goto quit;
     }
 
-  rc = -1;
-  tcontext = context_new (tcon);
-  if (!tcontext)
+  if (!(tcontext = context_new (tcon)))
     goto quit;
 
   context_type_set (tcontext, context_type_get (scontext));
-- 
1.7.6.4



From MAILER-DAEMON Tue Dec 04 11:32:56 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvQW-0001Aj-In
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:32:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46638)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQP-0001AQ-PE
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQJ-0002JB-V1
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:49 -0500
Received: from mx1.redhat.com ([209.132.183.28]:11277)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQJ-0002J4-OB
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:43 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GWgFu018944
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:32:42 -0500
Received: from pb-n5110.redhat.com (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GWRGt004916; Tue, 4 Dec 2012 11:32:40 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH 6/6] cp: -Z: fix handling of open errors in restorecon()
Date: Tue,  4 Dec 2012 16:32:25 +0000
Message-Id: <1354638745-4468-6-git-send-email-P@draigBrady.com>
In-Reply-To: <1354638745-4468-1-git-send-email-P@draigBrady.com>
References: <1354066999-17464-1-git-send-email-P@draigBrady.com>
	<1354638745-4468-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: dwalsh@redhat.com
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:32:55 -0000

* src/selinux.c (restorecon_private): open() returns -1 on error.
---
 src/selinux.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/selinux.c b/src/selinux.c
index e1c122b..0bb6bcc 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -170,10 +170,10 @@ restorecon_private (char const *path, bool local)
     }
 
   fd = open (path, O_RDONLY | O_NOFOLLOW);
-  if (!fd && (errno != ELOOP))
+  if (fd == -1 && (errno != ELOOP))
     goto quit;
 
-  if (fd)
+  if (fd != -1)
     {
       if (fstat (fd, &sb) < 0)
         goto quit;
@@ -189,7 +189,7 @@ restorecon_private (char const *path, bool local)
   if (!(scontext = context_new (scon)))
     goto quit;
 
-  if (fd)
+  if (fd != -1)
     {
       if (fgetfilecon (fd, &tcon) < 0)
         goto quit;
@@ -210,13 +210,14 @@ restorecon_private (char const *path, bool local)
   if (!(constr = context_str (tcontext)))
     goto quit;
 
-  if (fd)
+  if (fd != -1)
     rc = fsetfilecon (fd, constr);
   else
     rc = lsetfilecon (path, constr);
 
 quit:
-  close (fd);
+  if (fd != -1)
+    close (fd);
   context_free (scontext);
   context_free (tcontext);
   freecon (scon);
-- 
1.7.6.4



From MAILER-DAEMON Tue Dec 04 11:32:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvQZ-0001Ep-LH
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:32:59 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46644)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQR-0001AR-Em
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQH-0002In-9o
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:51 -0500
Received: from mx1.redhat.com ([209.132.183.28]:6577)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQH-0002Ij-2h
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:41 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GWdUp031655
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:32:39 -0500
Received: from pb-n5110.redhat.com (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GWRGs004916; Tue, 4 Dec 2012 11:32:37 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH 5/6] cp: -Z: rename PRESERVE bool param to LOCAL
Date: Tue,  4 Dec 2012 16:32:24 +0000
Message-Id: <1354638745-4468-5-git-send-email-P@draigBrady.com>
In-Reply-To: <1354638745-4468-1-git-send-email-P@draigBrady.com>
References: <1354066999-17464-1-git-send-email-P@draigBrady.com>
	<1354638745-4468-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: dwalsh@redhat.com
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:32:58 -0000

* src/selinux.c (restorcon): PRESERVE is badly named,
since there is no distinction as to what context is being set.
Also clarify the function comments as to what the boolean
controls exactly.
---
 src/selinux.c |   31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/src/selinux.c b/src/selinux.c
index 565022d..e1c122b 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -138,10 +138,10 @@ quit:
 }
 
 /*
-  This function takes a PATH of an existing file system object, and a boolean
-  that indicates whether the function should preserve the object's label or
-  generate a new label using matchpathcon.  If the function
-  is called with preserve, it will ask the SELinux Kernel what the default label
+  This function takes a PATH of an existing file system object, and a LOCAL
+  boolean that indicates whether the function should set the object's label
+  to the default for the local process, or one using system wide settings.
+  If LOCAL == true, it will ask the SELinux Kernel what the default label
   for all objects created should be and then sets the label on the object.
   Otherwise it calls matchpathcon on the object to ask the system what the
   default label should be, extracts the type field and then modifies the file
@@ -150,7 +150,7 @@ quit:
   Returns -1 on failure.  errno will be set appropriately.
 */
 static int
-restorecon_private (char const *path, bool preserve)
+restorecon_private (char const *path, bool local)
 {
   int rc = -1;
   struct stat sb;
@@ -160,7 +160,7 @@ restorecon_private (char const *path, bool preserve)
   char *constr;
   int fd;
 
-  if (preserve)
+  if (local)
     {
       if (getfscreatecon (&tcon) < 0)
         return rc;
@@ -226,25 +226,26 @@ quit:
 
 /*
   This function takes three parameters:
-  Path of an existing file system object.
-  A boolean indicating whether it should call restorecon_private recursively.
-  A boolean that indicates whether the function should preserve the object's
-  label or generate a new label using matchpathcon.
 
-  If Recurse is selected and the file system object is a directory, restorecon
-  calls restorecon_private on every file system object in the directory.
+  PATH of an existing file system object.
+
+  A RECURSE boolean which if the file system object is a directory, will
+  call restorecon_private on every file system object in the directory.
+
+  A LOCAL boolean that indicates whether the function should set object labels
+  to the default for the local process, or use system wide settings.
 
   Returns false on failure.  errno will be set appropriately.
 */
 bool
-restorecon (char const *path, bool recurse, bool preserve)
+restorecon (char const *path, bool recurse, bool local)
 {
   const char *mypath[2] = { path, NULL };
   FTS *fts;
   bool ok = true;
 
   if (!recurse)
-    return restorecon_private (path, preserve);
+    return restorecon_private (path, local);
 
   fts = fts_open ((char *const *) mypath, FTS_PHYSICAL, NULL);
   while (1)
@@ -263,7 +264,7 @@ restorecon (char const *path, bool recurse, bool preserve)
           break;
         }
 
-      ok &= restorecon_private (fts->fts_path, preserve);
+      ok &= restorecon_private (fts->fts_path, local);
     }
 
   if (fts_close (fts) != 0)
-- 
1.7.6.4



From MAILER-DAEMON Tue Dec 04 11:32:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfvQZ-0001F0-NZ
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 11:32:59 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46624)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQO-00019e-4S
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQF-0002Hg-3g
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:47 -0500
Received: from mx1.redhat.com ([209.132.183.28]:60315)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvQE-0002HT-TK
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:32:39 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GWbOx031638
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:32:37 -0500
Received: from pb-n5110.redhat.com (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GWRGr004916; Tue, 4 Dec 2012 11:32:32 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH 4/6] cp: -Z: tweak comments for selinux routines
Date: Tue,  4 Dec 2012 16:32:23 +0000
Message-Id: <1354638745-4468-4-git-send-email-P@draigBrady.com>
In-Reply-To: <1354638745-4468-1-git-send-email-P@draigBrady.com>
References: <1354066999-17464-1-git-send-email-P@draigBrady.com>
	<1354638745-4468-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: dwalsh@redhat.com
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 16:32:58 -0000

* src/selinux.c: Remove debugging comments and
standardise existing comments a bit.
---
 src/selinux.c |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/src/selinux.c b/src/selinux.c
index 3235309..565022d 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -59,11 +59,11 @@ mode_to_security_class (mode_t m)
 }
 
 /*
-  This function takes a path and a mode and then asks SELinux what the label
+  This function takes a PATH and a MODE and then asks SELinux what the label
   of the path object would be if the current process label created it.
-  it then returns the label.
+  It then returns the label.
 
-  Returns -1 on failure. errno will be set appropriately.
+  Returns -1 on failure.  errno will be set appropriately.
 */
 
 static int
@@ -100,7 +100,7 @@ quit:
   default type into label.  It tells the SELinux Kernel to label all new file
   system objects created by the current process with this label.
 
-  Returns -1 on failure. errno will be set appropriately.
+  Returns -1 on failure.  errno will be set appropriately.
 */
 int
 defaultcon (char const *path, mode_t mode)
@@ -129,7 +129,6 @@ defaultcon (char const *path, mode_t mode)
 
   rc = setfscreatecon (constr);
 
-//  printf("defaultcon %s %s\n", path, context_str(tcontext));
 quit:
   context_free (scontext);
   context_free (tcontext);
@@ -139,8 +138,8 @@ quit:
 }
 
 /*
-  This function takes a path of an existing file system object, and a boolean
-  that indicates whether the function should preserve the objects label or
+  This function takes a PATH of an existing file system object, and a boolean
+  that indicates whether the function should preserve the object's label or
   generate a new label using matchpathcon.  If the function
   is called with preserve, it will ask the SELinux Kernel what the default label
   for all objects created should be and then sets the label on the object.
@@ -148,7 +147,7 @@ quit:
   default label should be, extracts the type field and then modifies the file
   system object.
 
-  Returns -1 on failure. errno will be set appropriately.
+  Returns -1 on failure.  errno will be set appropriately.
 */
 static int
 restorecon_private (char const *path, bool preserve)
@@ -216,7 +215,6 @@ restorecon_private (char const *path, bool preserve)
   else
     rc = lsetfilecon (path, constr);
 
-//  printf("restorcon %s %s\n", path, context_str(tcontext));
 quit:
   close (fd);
   context_free (scontext);
@@ -229,15 +227,14 @@ quit:
 /*
   This function takes three parameters:
   Path of an existing file system object.
-  A boolean indicating whether it should call restorecon_private recursively
-  or not.
+  A boolean indicating whether it should call restorecon_private recursively.
   A boolean that indicates whether the function should preserve the object's
   label or generate a new label using matchpathcon.
 
   If Recurse is selected and the file system object is a directory, restorecon
   calls restorecon_private on every file system object in the directory.
 
-  Returns false on failure. errno will be set appropriately.
+  Returns false on failure.  errno will be set appropriately.
 */
 bool
 restorecon (char const *path, bool recurse, bool preserve)
-- 
1.7.6.4



From MAILER-DAEMON Tue Dec 04 13:19:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tfx5N-00055m-Mr
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 13:19:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42702)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tfx5G-00051v-7g
	for coreutils@gnu.org; Tue, 04 Dec 2012 13:19:12 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tfx56-0003x5-Pq
	for coreutils@gnu.org; Tue, 04 Dec 2012 13:19:06 -0500
Received: from mx.meyering.net ([88.168.87.75]:37937)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tfx56-0003wr-JI
	for coreutils@gnu.org; Tue, 04 Dec 2012 13:18:56 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 2D29060105;
	Tue,  4 Dec 2012 19:18:55 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: df command should suppress duplicates
In-Reply-To: <50BDB07D.8090500@bernhard-voelker.de> (Bernhard Voelker's
	message of "Tue, 04 Dec 2012 09:12:45 +0100")
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de> <506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de> <50BCEABD.3010004@redhat.com>
	<50BDB07D.8090500@bernhard-voelker.de>
Date: Tue, 04 Dec 2012 19:18:55 +0100
Message-ID: <87zk1ty92o.fsf@rho.meyering.net>
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: coreutils@gnu.org, Ondrej Oprala <ooprala@redhat.com>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 18:19:12 -0000

Bernhard Voelker wrote:
> Hi Ondrej,
>
> On 12/03/2012 07:09 PM, Ondrej Oprala wrote:
>> thanks for the rebase :) .
>
> no worries, you're welcome. ;-)
>
>> I've modified the patch a bit, so I dont interfere with output if df -a
>> is specified.
>
> Thanks.
>
> I just had a quick look on the patch and I like the idea
> of combining the filter for "rootfs" with that of the
> duplicate entries.
>
> I don't have time for a detailed review right now.
> A few things certainly need to be straightened, e.g. I think
> we can't ignore a stat failure:
>
>> +static bool
>> +dev_examined (struct devlist *devlist, char *mount_dir, char *devname)
>> +{
>> [...]
>> +  stat (mount_dir, &buf);
>
> and it probably deserves a little more work on the texi
> documentation and on the test (which doesn't cover "rootfs"
> hiding yet).

Thanks to both of you for keeping this thread moving.
I've had very little spare time recently.


From MAILER-DAEMON Tue Dec 04 15:38:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfzGK-0003Bl-4K
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 15:38:40 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51324)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TfzGG-0003B8-Rs
	for coreutils@gnu.org; Tue, 04 Dec 2012 15:38:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TfzGA-0006ar-5w
	for coreutils@gnu.org; Tue, 04 Dec 2012 15:38:36 -0500
Received: from mail-ye0-f169.google.com ([209.85.213.169]:60849)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TfzGA-0006ah-0u
	for coreutils@gnu.org; Tue, 04 Dec 2012 15:38:30 -0500
Received: by mail-ye0-f169.google.com with SMTP id l13so724496yen.0
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 12:38:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type;
	bh=NKKZL66cYfmyz/arSkpBtbf8sxE5/+nKXfhLjPj6iio=;
	b=VRfTzql83VQ1crvuEq6gGMOmIRYLLNMuhrP7CADgfC5DeH7wSTGqnE12KdVeMT8BBZ
	vF+xp4CxNWNQvVNL3DYacbMIoQE3ZOhM4VwsE5ZyrzMCFjSIBKBoG+la2TCMwr2w6P7V
	aRXLk1ldUp4dcXmoEAAr/jyQ0/GNmawEdvAwxPOhKk8UBcxXn4ePNviFx/O+tz34NJnn
	wNkY7FIjzT2G3NzPQqT7MGZ4eQn4P5jemwTxlqlHYyg/2dHPVFh8TnZK5/GFLBUcIBkM
	Qph3uL1za2FWoXzpo0ZrXltDa9P7N8YLZHkt+JyAd0lXXHEP+eyjCvx9vXLQl2mHlSvI
	XKRg==
Received: by 10.236.146.239 with SMTP id r75mr16893154yhj.100.1354653509276;
	Tue, 04 Dec 2012 12:38:29 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id t12sm1928192ane.6.2012.12.04.12.38.28
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 04 Dec 2012 12:38:28 -0800 (PST)
Message-ID: <50BE5F43.7030503@gmail.com>
Date: Tue, 04 Dec 2012 15:38:27 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
In-Reply-To: <50BE2531.2080508@draigBrady.com>
Content-Type: multipart/mixed; boundary="------------060104010008080501070202"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.213.169
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 20:38:39 -0000

This is a multi-part message in MIME format.
--------------060104010008080501070202
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
> On 12/04/2012 04:25 PM, Assaf Gordon wrote:
>=20
> Nothing yet. The plan is to make a numfmt command available with this i=
nterface:
> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>=20

Attached is a stub for such a program (mostly command-line processing, no=
 actual conversion yet).

Please let me know if you're willing to eventually include this program (=
and I'll more functionality, tests, docs, etc.).

I tried to follow the existing code conventions in other programs, but al=
l comments and suggestions are welcomed.

-gordon


--------------060104010008080501070202
Content-Type: text/x-diff;
 name="0001-numfmt-stub-code-for-new-program.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-numfmt-stub-code-for-new-program.patch"

>From bb5162a7521aee6b95c902acc65c1d3800ba4f30 Mon Sep 17 00:00:00 2001
From: Assaf Gordon <assafgordon@gmail.com>
Date: Tue, 4 Dec 2012 15:32:05 -0500
Subject: [PATCH] numfmt: stub code for new program

---
 build-aux/gen-lists-of-programs.sh |    1 +
 src/.gitignore                     |    1 +
 src/numfmt.c                       |  298 ++++++++++++++++++++++++++++++++++++
 3 files changed, 300 insertions(+), 0 deletions(-)
 create mode 100644 src/numfmt.c

diff --git a/build-aux/gen-lists-of-programs.sh b/build-aux/gen-lists-of-programs.sh
index 212ce02..bf63ee3 100755
--- a/build-aux/gen-lists-of-programs.sh
+++ b/build-aux/gen-lists-of-programs.sh
@@ -85,6 +85,7 @@ normal_progs='
     nl
     nproc
     nohup
+    numfmt
     od
     paste
     pathchk
diff --git a/src/.gitignore b/src/.gitignore
index 18cccc1..25573df 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -59,6 +59,7 @@ nice
 nl
 nohup
 nproc
+numfmt
 od
 paste
 pathchk
diff --git a/src/numfmt.c b/src/numfmt.c
new file mode 100644
index 0000000..e513194
--- /dev/null
+++ b/src/numfmt.c
@@ -0,0 +1,298 @@
+/* Reformat numbers like 11505426432 to the more human-readable 11G
+   Copyright (C) 2012 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include <config.h>
+#include <getopt.h>
+#include <stdio.h>
+#include <sys/types.h>
+
+#include "argmatch.h"
+#include "error.h"
+#include "system.h"
+#include "xstrtol.h"
+
+/* The official name of this program (e.g., no 'g' prefix).  */
+#define PROGRAM_NAME "numfmt"
+
+#define AUTHORS proper_name ("XXXX")
+
+#define BUFFER_SIZE (16 * 1024)
+
+enum
+{
+  FROM_OPTION = CHAR_MAX + 1,
+  FROM_UNIT_OPTION,
+  TO_OPTION,
+  TO_UNIT_OPTION,
+  ROUND_OPTION,
+  SUFFIX_OPTION
+};
+
+enum scale_type
+{
+scale_none, /* the default: no scaling */
+scale_auto, /* --from only */
+scale_SI,
+scale_IEC,
+scale_custom  /* --to only, custom scale */
+};
+
+static char const *const scale_from_args[] =
+{
+"auto", "SI", "IEC", NULL
+};
+static enum scale_type const scale_from_types[] =
+{
+scale_auto, scale_SI, scale_IEC
+};
+
+static char const *const scale_to_args[] =
+{
+"SI", "IEC", NULL
+};
+static enum scale_type const scale_to_types[] =
+{
+scale_SI, scale_IEC
+};
+
+
+enum round_type
+{
+round_ceiling,
+round_floor,
+round_nearest
+};
+
+static char const *const round_args[] =
+{
+"ceiling","floor","nearest", NULL
+};
+
+static enum round_type const round_types[] =
+{
+round_ceiling,round_floor,round_nearest
+};
+
+static struct option const longopts[] =
+{
+  {"from", required_argument, NULL, FROM_OPTION},
+  {"from-unit", required_argument, NULL, FROM_UNIT_OPTION},
+  {"to", required_argument, NULL, TO_OPTION},
+  {"to-unit", required_argument, NULL, TO_UNIT_OPTION},
+  {"round", required_argument, NULL, ROUND_OPTION},
+  {"format", required_argument, NULL, 'f'},
+  {"suffix", required_argument, NULL, SUFFIX_OPTION},
+  {GETOPT_HELP_OPTION_DECL},
+  {GETOPT_VERSION_OPTION_DECL},
+  {NULL, 0, NULL, 0}
+};
+
+
+enum scale_type scale_from=scale_none;
+enum scale_type scale_to=scale_none;
+enum round_type _round=round_ceiling;
+char const *format_str = NULL;
+const char *suffix = NULL;
+uintmax_t from_unit_size=1;
+uintmax_t to_unit_size=1;
+
+/* Convert a string of decimal digits, N_STRING, with an optional suffinx
+   to an integral value.  Upon successful conversion,
+   return that value.  If it cannot be converted, give a diagnostic and exit.
+*/
+static uintmax_t
+string_to_integer (const char *n_string)
+{
+  strtol_error s_err;
+  uintmax_t n;
+
+  s_err = xstrtoumax (n_string, NULL, 10, &n, "bkKmMGTPEZY0");
+
+  if (s_err == LONGINT_OVERFLOW)
+    {
+      error (EXIT_FAILURE, 0,
+             _("%s: unit size is so large that it is not representable"),
+                n_string);
+    }
+
+  if (s_err != LONGINT_OK)
+    {
+      error (EXIT_FAILURE, 0, _("%s: invalid unit size"), n_string);
+    }
+  return n;
+}
+
+
+
+void
+usage (int status)
+{
+  if (status != EXIT_SUCCESS)
+    emit_try_help ();
+  else
+    {
+      printf (_("\
+Usage: %s [OPTIONS] [NUMBER]\n\
+"),
+          program_name);
+      fputs (_("\
+Reformats NUMBER(s) to/from human-readable values.\n\
+Numbers can be processed either from stdin or command arguments.\n\
+\n\
+"), stdout);
+      fputs (_("\
+  --from=UNIT     Auto-scale input numbers (auto, SI, IEC)\n\
+                  If not specified, input suffixed are ignored.\n\
+  --from-unit=N   Specifiy the input unit size (instead of the default 1).\n\
+  --to=UNIT       Auto-scale output numbres (SI,IEC,<N>).\n\
+                  If not specified, XXXX\n\
+  --to-unit=N     Specifiy the output unit size (instead of the default 1).\n\
+  --rount=METHOD  Round input numbers. METHOD can be:\n\
+                  ceiling (the default), floor, nearest\n\
+  -f, --format=FORMAT   use printf style output FORMAT.\n\
+                        Default output format is %d .\n\
+  --suffix=SUFFIX       XXXX\n\
+  \n\
+"), stdout);
+      fputs (HELP_OPTION_DESCRIPTION, stdout);
+      fputs (VERSION_OPTION_DESCRIPTION, stdout);
+
+      fputs (_("\
+\n\
+UNIT options:\n\
+ auto ('--from' only):\n\
+      1K  = 1000\n\
+      1Ki = 1024\n\
+      1G  = 1000000\n\
+      1Gi = 1048576\n\
+ SI:\n\
+      1K* = 1000\n\
+      (additional suffixes after K/G/T do not alter the scale)\n\
+ IEC:\n\
+      1K* = 1024\n\
+      (additional suffixes after K/G/T do not alter the scale)\n\
+ <N> ('--to' only):\n\
+      Use number N as the scale.\n\
+\n\
+"), stdout);
+
+      printf (_("\
+\n\
+Examples:\n\
+  %s --to=SI 1000           -> \"1K\"\n\
+  echo 1K | %s --from=SI    -> \"1000\"\n\
+  echo 1K | %s --from=IEC   -> \"1024\"\n\
+"),
+              program_name, program_name, program_name);
+      emit_ancillary_info ();
+    }
+  exit (status);
+}
+
+static void format_number(const char* str)
+{
+  printf("Reformatting: %s\n", str);
+}
+
+int
+main (int argc, char **argv)
+{
+  initialize_main (&argc, &argv);
+  set_program_name (argv[0]);
+  setlocale (LC_ALL, "");
+  bindtextdomain (PACKAGE, LOCALEDIR);
+  textdomain (PACKAGE);
+
+  atexit (close_stdout);
+
+  while (true)
+    {
+      int c = getopt_long (argc, argv, "f:", longopts, NULL);
+
+      if (c == -1)
+        break;
+
+      switch (c)
+        {
+        case FROM_OPTION:
+          scale_from = XARGMATCH ("--from", optarg, scale_from_args, scale_from_types);
+          break;
+
+        case FROM_UNIT_OPTION:
+          from_unit_size = string_to_integer(optarg);
+          break;
+
+        case TO_OPTION:
+          //TODO: add custom handling for numeric/custom scale values
+          scale_to = XARGMATCH ("--to", optarg, scale_to_args, scale_to_types);
+          break;
+
+        case TO_UNIT_OPTION:
+          to_unit_size = string_to_integer(optarg);
+          break;
+
+        case ROUND_OPTION:
+          _round = XARGMATCH ("--round", optarg, round_args, round_types);
+          break;
+
+        case 'f':
+          format_str = optarg;
+          break;
+
+        case SUFFIX_OPTION:
+          suffix = optarg;
+          break;
+
+        case_GETOPT_HELP_CHAR;
+        case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
+
+        default:
+          usage (EXIT_FAILURE);
+        }
+    }
+
+#if 0
+  printf("scale_from = %d\n", scale_from);
+  printf("scale_to = %d\n", scale_to);
+  printf("from_unit_size = %zu\n", from_unit_size);
+  printf("to_unit_size = %zu\n", to_unit_size);
+  printf("round = %d\n", _round);
+  printf("format = '%s'\n", format_str);
+  printf("suffix = '%s'\n", suffix);
+#endif
+
+  if (argc > optind)
+    {
+    for (; optind < argc; optind++)
+      format_number(argv[optind]);
+    }
+  else
+    {
+      char buf[BUFFER_SIZE + 1];
+
+      //TODO: allow multiple values on each line?
+      //TODO: support '--field=NUM' feature
+      while ( fgets(buf,BUFFER_SIZE,stdin) != NULL )
+        format_number(buf);
+
+      if (ferror(stdin))
+        {
+          error(0,errno,_("error reading input"));
+        }
+    }
+
+  exit (EXIT_SUCCESS);
+}
-- 
1.7.7.4


--------------060104010008080501070202--


From MAILER-DAEMON Tue Dec 04 15:48:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfzPr-0006II-7v
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 15:48:31 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53780)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <pawel.lampe@poczta.fm>) id 1Tfvun-0006ky-5E
	for coreutils@gnu.org; Tue, 04 Dec 2012 12:04:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <pawel.lampe@poczta.fm>) id 1Tfvuf-0001Sx-Ed
	for coreutils@gnu.org; Tue, 04 Dec 2012 12:04:13 -0500
Received: from smtpo.poczta.interia.pl ([217.74.65.205]:59408)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <pawel.lampe@poczta.fm>) id 1Tfvuf-0001Sf-3r
	for coreutils@gnu.org; Tue, 04 Dec 2012 12:04:05 -0500
Received: from [150.254.132.80] (s079.wifi.put.poznan.pl [150.254.132.80])
	by www.poczta.fm (INTERIA.PL) with ESMTPA
	for <coreutils@gnu.org>; Tue,  4 Dec 2012 18:04:01 +0100 (CET)
Message-ID: <1354640642.4272.7.camel@scony.netbook>
Subject: New feature in mv
From: =?UTF-8?Q?Pawe=C5=82?= Lampe <pawel.lampe@poczta.fm>
To: coreutils@gnu.org
Date: Tue, 04 Dec 2012 18:04:02 +0100
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) 
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Interia-Antivirus: OK
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl;
	s=biztos; t=1354640642;
	bh=UnxuPtHrXvyU45RqfcSD47nscQdLb8W7J1kMizG/Eew=;
	h=Received:Message-ID:Subject:From:To:Date:Content-Type:X-Mailer:
	Mime-Version:Content-Transfer-Encoding:X-Interia-Antivirus;
	b=b3ZnNv2/LJxMs3SOpFQqgOwvz3nmV7HIhyLEpvI0enLWIG/SIDQNGk7fPrTUIiCNY
	d7ULhbc1YM34vdR0B78eJTDiaMqFsCwvVq6J5IO2P6MbFYP0ux8fGOq/vk2JcYmYGS
	pXIfvgsufnhJwQljug1CmZ98/MWtcQ0s3nkTaNdg=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
	timestamps) [generic]
X-Received-From: 217.74.65.205
X-Mailman-Approved-At: Tue, 04 Dec 2012 15:48:29 -0500
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 17:04:21 -0000

Hi there !

Few minutes ago, my mate asked me 'is there any way to swap two
files ?'. I have realized, that the mv has option -S but it's all about
suffix. I think, there should be also -s for swapping. It should work
like:
mv -s a b
Effect should be like:
a -> tmp
b -> a
tmp -> b

Think about it 



From MAILER-DAEMON Tue Dec 04 16:12:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TfznJ-0004ze-4x
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 16:12:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33154)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TfznH-0004zU-EX
	for coreutils@gnu.org; Tue, 04 Dec 2012 16:12:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TfznF-0007OB-Fa
	for coreutils@gnu.org; Tue, 04 Dec 2012 16:12:43 -0500
Received: from mx1.redhat.com ([209.132.183.28]:21517)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TfznF-0007Nh-6q
	for coreutils@gnu.org; Tue, 04 Dec 2012 16:12:41 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4LCdln008623
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 16:12:39 -0500
Received: from [10.3.113.64] (ovpn-113-64.phx2.redhat.com [10.3.113.64])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4LCcMU027236; Tue, 4 Dec 2012 16:12:39 -0500
Message-ID: <50BE6746.9020601@redhat.com>
Date: Tue, 04 Dec 2012 14:12:38 -0700
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Raphael S Carvalho <raphael.scarv@gmail.com>
Subject: Re: modechange.c (Feature added) - Binary mode support.
References: <CACz=Wed1vHckvVkkjZUfssZ4s_5i5XpQHVEG7qV+Xdwr3KBP7A@mail.gmail.com>
In-Reply-To: <CACz=Wed1vHckvVkkjZUfssZ4s_5i5XpQHVEG7qV+Xdwr3KBP7A@mail.gmail.com>
X-Enigmail-Version: 1.4.6
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig99D20102DE3FEB17090E8917"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 21:12:44 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig99D20102DE3FEB17090E8917
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/23/2012 07:30 PM, Raphael S Carvalho wrote:
> Hi,
> I found some questions on the internet wondering whether chmod tool doe=
s
> support binary numbers as input.
> Even though it doesn't support I downloaded core-utils source and got
> started reading chmode code.
>=20
> Let's to the point: I added binary input support by making changes
> into the*/lib/modechanges.c
> * file.
> PS: (b) prefix is not case sensitive.
>=20
> *Tests:*
> ./chmod* b10111* t*    *

Thanks for the suggestion.  However, I don't think it adds any value, as
bash can already generically process binary numbers at the command line
for ANY application, not just chmod, with just a bit more syntax:

chmod $(printf %o $((2#10111))) t

You can further wrap things in a shell function to reduce your
day-to-day typing:

b2d() {
  case $1 in
    *[!01]*) echo 'invalid input' 2>&1 ;;
    *) eval "printf %d \$((2#$1))" ;;
  esac
}
b2o() {
  case $1 in
    *[!01]*) echo 'invalid input' 2>&1 ;;
    *) eval "printf %o \$((2#$1))" ;;
  esac
}

chmod $(b2o 10111) t

That is, teaching chmod how to parse binary is just code bloat, when you
already have a generic binary parser in your shell.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enig99D20102DE3FEB17090E8917
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBCAAGBQJQvmdGAAoJEKeha0olJ0Nq0MAH/3TW68J6DFt5I9E86Pjytsqa
aBioPvr/TNf4zGkyNcyyDukP5kpHXYi1AmeuyFmwayEwzC3imCiwcl3Q1lXTPW7v
JXXMLV4jofMFHxwbDyuYfRuYDxqUdEDeutoYMlrUocn3uhb8uRIHlpaQTD8H3qYo
8SrF4Qt/h7+hvowRf/QZeGfN6mMSfFh++WqiS3ziyuKGC9eR6yTKu0BsYEbs3B+3
QdcKFb9OqkfjuabnaonkB1nmQK3Su5H97di6qReF2kItwCyWg7t8/S8HYzu/PGjA
nQrQSQduDFeCT+93j9V8Vq8ooLBscDtHuyOFoQ31Qyh33sgOsYkN94sZrEJeY6k=
=gWtD
-----END PGP SIGNATURE-----

--------------enig99D20102DE3FEB17090E8917--


From MAILER-DAEMON Tue Dec 04 18:12:03 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg1el-0008FX-2N
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 18:12:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35442)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg1ei-00089D-ST
	for coreutils@gnu.org; Tue, 04 Dec 2012 18:12:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg1eh-0002xA-9E
	for coreutils@gnu.org; Tue, 04 Dec 2012 18:12:00 -0500
Received: from mx1.redhat.com ([209.132.183.28]:6089)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg1eh-0002wv-2B
	for coreutils@gnu.org; Tue, 04 Dec 2012 18:11:59 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4NBvVO005669
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 18:11:57 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4NBtcS031709
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 18:11:56 -0500
Message-ID: <50BE833A.8040900@draigBrady.com>
Date: Tue, 04 Dec 2012 23:11:54 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
In-Reply-To: <50BE7F7D.7010203@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB4NBvVO005669
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 23:12:02 -0000

On 12/04/2012 10:55 PM, Assaf Gordon wrote:
> Hello,
>
>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>>> Nothing yet. The plan is to make a numfmt command available with this=
 interface:
>>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>>>
>
> Attached is a patch, with a proof-of-concept working 'numfmt'.
>
> Works: from=3DSI/IEC/AUTO, to=3DSI/IEC, from-units, to-units, suffix, r=
ound.
> Doesn't work: format, to=3D<NUMBER>,field=3DN .
>
> The code isn't clean and can be improved.
> Currently, either  every (non-option) command-line parameter is expecte=
d to be a number, or every line on stdin is expected to start with a numb=
er.

Thanks a lot for working on this.
All I'll say at this stage is to take it
as far as you can as per the interface specified
at the above URL with a mind to reusing stuff from
lib/human.c if possible.

We'll review it then with a view to including it ASAP.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 18:35:24 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg21M-0007AV-Ic
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 18:35:24 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40537)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg21H-0006yK-Jq
	for coreutils@gnu.org; Tue, 04 Dec 2012 18:35:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg21G-0008Ua-9L
	for coreutils@gnu.org; Tue, 04 Dec 2012 18:35:19 -0500
Received: from mail-ye0-f169.google.com ([209.85.213.169]:64357)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg21G-0008UV-4T
	for coreutils@gnu.org; Tue, 04 Dec 2012 18:35:18 -0500
Received: by mail-ye0-f169.google.com with SMTP id l13so755700yen.0
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 15:35:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=BXU9up0SVis5gAkVvP6Vlk0iXBEa/vZkPLQYp7Psm7w=;
	b=stRHLeu3RjPUC0mwVV74mAbkRVbwvRDmshqhvic7BrnuhAaA1/4GzBen4DwjtxsoV8
	Nri0vnWTAttaRbDKlm8DA14YfkluBBvK3QotqqWbgxp6Cov953oI9fFyNUyIjACjSals
	GcyR+dirwV7caCOPpuvYNXmtrnZfMig6i2YLzyJ72cTjAO0Ytz99XCLp02W1mTrKJVGz
	ANq07NnvR58BaWm44sf45mogEAYa1eZikkTCjzcviyHzjQ2mfMgglbpfjT3PmktjYfPM
	M1TXqsGkFiFLDoDEKUHhOhT8E84SV6MiW/B6TT/k/ImVoCDHlJjIWgj2uDaVi1w8oKW7
	fojA==
Received: by 10.236.77.39 with SMTP id c27mr17359277yhe.102.1354664117640;
	Tue, 04 Dec 2012 15:35:17 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id u15sm2404683anq.14.2012.12.04.15.35.16
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 04 Dec 2012 15:35:16 -0800 (PST)
Message-ID: <50BE88B3.3080307@gmail.com>
Date: Tue, 04 Dec 2012 18:35:15 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com>
In-Reply-To: <50BE833A.8040900@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.213.169
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2012 23:35:20 -0000

P=E1draig Brady wrote, On 12/04/2012 06:11 PM:
> On 12/04/2012 10:55 PM, Assaf Gordon wrote:
>> Hello,
>>
>>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>>>> Nothing yet. The plan is to make a numfmt command available with thi=
s interface:
>>>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>>>>
>>
>> Attached is a patch, with a proof-of-concept working 'numfmt'.
>>
>=20
> Thanks a lot for working on this.
> All I'll say at this stage is to take it
> as far as you can as per the interface specified
> at the above URL with a mind to reusing stuff from
> lib/human.c if possible.
>=20
> We'll review it then with a view to including it ASAP.

Thanks!

Input-wise, I had to copy and modify the xstrtol implementation, because =
the original function doesn't allow the caller to force SI or IEC or AUTO=
 (it has internal logic to deduce it, based on parameters and user input)=
=2E

Output-wise, "human_readable()" from "lib/human.c" is called as-is (no co=
de modification).

Regarding the advanced options:
1. I'm wondering what is the reason/need for "--to=3D<NUMBER>" ? It base =
different than 1024/1000 would result in values like "4K" that are very u=
nintuitive (since they don't mean 4096/4000).

2. FORMAT: is the only use-case adding spaces before/after the number, an=
d grouping?
"human_readable()" already has support for grouping, and padding might be=
 added with different parameters?

I'm asking about #1 and #2, because if we forgo them, "human_readable()" =
could be used as-is. Otherwise, it will require copy&pasting and some mod=
ifications.

3. "SUFFIX" - is the purpose of this simply to print a string following t=
he number? or are there some more complications?

4. Should nun-suffix characters following a parsed number cause errors, o=
r ignored? e.g. "4KQO"=20







From MAILER-DAEMON Tue Dec 04 19:06:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg2Vk-0004UP-Hv
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:06:48 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47225)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2Vh-0004U2-Vf
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:06:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvB8-00063P-DX
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:17:36 -0500
Received: from mx1.redhat.com ([209.132.183.28]:47350)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TfvB8-00062u-4k
	for coreutils@gnu.org; Tue, 04 Dec 2012 11:17:02 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB4GH0I0014271
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 11:17:00 -0500
Received: from [10.36.116.70] (ovpn-116-70.ams2.redhat.com [10.36.116.70])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB4GGu9A009356
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 11:16:58 -0500
Message-ID: <50BE21F7.9070408@draigBrady.com>
Date: Tue, 04 Dec 2012 16:16:55 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Peng Yu <pengyu.ut@gmail.com>
Subject: Re: fifo unlimited buffer size?
References: <CABrM6wk6O_bo864r9tgS9U5kzSqJ1+x8eLO7pE68vaB-UnTYjQ@mail.gmail.com>
In-Reply-To: <CABrM6wk6O_bo864r9tgS9U5kzSqJ1+x8eLO7pE68vaB-UnTYjQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB4GH0I0014271
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:06:47 -0000

On 12/04/2012 03:46 PM, Peng Yu wrote:
> On Tue, Dec 4, 2012 at 6:24 AM, P=E1draig Brady <P@draigbrady.com> wrot=
e:
>> tag 13075 + notabug
>> close 13075
>> thanks
>>
>> On 12/04/2012 03:19 AM, Peng Yu wrote:
>>>
>>> Hi,
>>>
>>> I have the following script. When the number to the right of 'seq' is
>>> large (as 100000 in the example), the script will hang. But when the
>>> number is small (say 1000), the script can be finished correctly. I
>>> suspect that the problem is that there is a limit on the buffer size
>>> for fifo. Is it so? Is there a way to make the following script work
>>> no matter how large the number is? Thanks!
>>>
>>> ~/linux/test/gnu/gnu/coreutils/mkfifo/tee$ cat main2.sh
>>> #!/usr/bin/env bash
>>>
>>> rm -rf a b c
>>> mkfifo a b c
>>> seq 100000 | tee a > b &
>>> sort -k 1,1n a > c &
>>> join -j 1 <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"} {print $1, $1+10}' < c)
>>> <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"}{print $1, $1+20}' < b)
>>
>>
>> So this is problematic due to `sort`.
>> That's special as it needs to consume all its input before
>> producing any output. Therefore unless the buffers connecting
>> the other commands in || can consume the data, there will be a deadloc=
k.
>
> I can't parse "Therefore unless the buffers connecting the other
> commands in || can consume the data... " What is '||'?

Sorry, parallel.

>> This version doesn't block for example as
>> the input is being generated asynchronously for the sort command.
>>
>> #!/usr/bin/env bash
>> rm -rf a b c
>> mkfifo a b c
>> join -j 1 <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"} {print $1, $1+10}' < c) =
\
>> <(awk 'BEGIN{OFS=3D"\t"; FS=3D"\t"}{print $1, $1+20}' < b) &
>> seq 100000 | sort -k 1,1n > c &
>> seq 100000 > b
>> wait
>>
>> Obviously, if your input is expensive to generate,
>> then you'd be best copying to another file
>> and sorting that.
>
> I should send the message to the regular mailing list. I have two
> implicit requirements.
>
> 1. The input 'seq 100000' can not be run twice, it has to be called onc=
e.

If the input is expensive to generate,
then it would need to be copied.

> 2. There can not be intermediate files generated.

Ah :(

> Given the above requirements, there is no solution?

Not one I can think of.

> The generate question is, there is one input stream fans out to
> multiple streams, which then are under some processing. Then these
> processed streams converge to one program, which outputs one output
> stream. This seems to be general use pattern. This pattern can be
> nested arbitrarily, in which case, the above two requirements are
> better held. Does this make sense?

I understand the structure, but the concurrent pipelines
need separate data sources (process or file copy), or otherwise
deadlock may happen as data overflows various buffers.
I suppose this could be encapsulated in tee(1) with non-blocking
writes and internal buffering, but that would just end up
being a data copy anyway, so I'm not sure it's warranted.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 19:11:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg2ak-00053s-PL
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:11:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48315)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2ai-00053m-Jx
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:11:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2ag-000888-KM
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:11:56 -0500
Received: from mx1.redhat.com ([209.132.183.28]:13805)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2ag-000881-Ct
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:11:54 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB50Bq1b011693
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 19:11:53 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB50BoSM000576
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 19:11:52 -0500
Message-ID: <50BE9146.2080004@draigBrady.com>
Date: Wed, 05 Dec 2012 00:11:50 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
In-Reply-To: <50BE88B3.3080307@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB50Bq1b011693
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:11:57 -0000

On 12/04/2012 11:35 PM, Assaf Gordon wrote:
> P=E1draig Brady wrote, On 12/04/2012 06:11 PM:
>> On 12/04/2012 10:55 PM, Assaf Gordon wrote:
>>> Hello,
>>>
>>>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>>>>> Nothing yet. The plan is to make a numfmt command available with th=
is interface:
>>>>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>>>>>
>>>
>>> Attached is a patch, with a proof-of-concept working 'numfmt'.
>>>
>>
>> Thanks a lot for working on this.
>> All I'll say at this stage is to take it
>> as far as you can as per the interface specified
>> at the above URL with a mind to reusing stuff from
>> lib/human.c if possible.
>>
>> We'll review it then with a view to including it ASAP.
>
> Thanks!
>
> Input-wise, I had to copy and modify the xstrtol implementation, becaus=
e the original function doesn't allow the caller to force SI or IEC or AU=
TO (it has internal logic to deduce it, based on parameters and user inpu=
t).

We can tweak xstrtol() in gnulib if needed
I suppose we can refactor after.

> Output-wise, "human_readable()" from "lib/human.c" is called as-is (no =
code modification).
>
> Regarding the advanced options:
> 1. I'm wondering what is the reason/need for "--to=3D<NUMBER>" ? It bas=
e different than 1024/1000 would result in values like "4K" that are very=
 unintuitive (since they don't mean 4096/4000).

Drats I can't remember now.

> 2. FORMAT: is the only use-case adding spaces before/after the number, =
and grouping?
> "human_readable()" already has support for grouping, and padding might =
be added with different parameters?

we can do padding outside of human_readable() using mbsalign() I think,
and that would be auto enabled with the --field option.

I was thinking that --format would be a central place for tweaking
grouping and spacing etc. of numbers using standard printf format modifie=
rs.

>
> I'm asking about #1 and #2, because if we forgo them, "human_readable()=
" could be used as-is. Otherwise, it will require copy&pasting and some m=
odifications.

We can tweak human_readable() in gnulib if needed
I suppose we can refactor after.

>
> 3. "SUFFIX" - is the purpose of this simply to print a string following=
 the number? or are there some more complications?

That's it basically.
It could be done with --format, but it's such a common requirement
that I thought it warranted a separate option.
Note human_readable() may output a 'B' suffix in certain cases,
which it shouldn't, and we should suppress it if it does as
noted in the spec.

>
> 4. Should nun-suffix characters following a parsed number cause errors,=
 or ignored? e.g. "4KQO"

Ignored I would say.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 19:16:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg2fN-0006wE-R0
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:16:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49934)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2fK-0006ue-B9
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:16:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2fJ-000143-1C
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:16:42 -0500
Received: from mx1.redhat.com ([209.132.183.28]:58808)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2fI-000136-PB
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:16:40 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB50Gd9s016745
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 19:16:39 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB50GbNh009164
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 19:16:39 -0500
Message-ID: <50BE9265.5090007@draigBrady.com>
Date: Wed, 05 Dec 2012 00:16:37 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Peng Yu <pengyu.ut@gmail.com>
Subject: Re: fifo unlimited buffer size? (possibly tee related)
References: <CABrM6wnMQyNRZGBRpeAJECQvRW2ST2+JtBEk_GsP6BAs6YVF0w@mail.gmail.com>
In-Reply-To: <CABrM6wnMQyNRZGBRpeAJECQvRW2ST2+JtBEk_GsP6BAs6YVF0w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB50Gd9s016745
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:16:43 -0000

On 12/04/2012 04:26 PM, Peng Yu wrote:
>> I understand the structure, but the concurrent pipelines
>> need separate data sources (process or file copy), or otherwise
>> deadlock may happen as data overflows various buffers.
>> I suppose this could be encapsulated in tee(1) with non-blocking
>> writes and internal buffering, but that would just end up
>> being a data copy anyway, so I'm not sure it's warranted.
>
> So the point to improve shall be tee? If so, I'm glad that we at least
> figure this out.
>
> Let me explain why file copying can be bad. In my pathological example
> based on sort, sort needs to take all the input before generating any
> output. However, there are many applications which just need to see a
> portion (let's call it lookahead) of input before generating any
> output, in which case copying the whole input is a waste, especially
> when the input is very large (say hundres of GB) and lookahead is much
> smaller (say a few MB).
>
> Could the maintainer of tee see if there is anything can be improved?

I notice something similar with:
http://code.dogmap.org/fdtools/multitee/

but it notes issues with non blocking IO,
and it doesn't seem to handle the buffering I mentioned.

So I would say it's a possible enhancement,
though given the awkwardness of implementation,
and more importantly the esoteric nature of
the use case, it would be way down the priority list.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 19:19:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg2iT-0007Jy-Bh
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:19:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50729)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tg2iQ-0007JO-CS
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:19:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tg2iP-0001nc-1H
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:19:54 -0500
Received: from mx.meyering.net ([88.168.87.75]:38387)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tg2iO-0001nU-Lk
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:19:52 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id EA968602DB;
	Wed,  5 Dec 2012 01:19:51 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?P=E1draig?= Brady <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
In-Reply-To: <50BE9146.2080004@draigBrady.com> (=?iso-8859-1?Q?=22P=E1drai?=
	=?iso-8859-1?Q?g?= Brady"'s message of
	"Wed, 05 Dec 2012 00:11:50 +0000")
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com>
Date: Wed, 05 Dec 2012 01:19:51 +0100
Message-ID: <87ip8hxsd4.fsf@rho.meyering.net>
Lines: 84
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:19:56 -0000

P=E1draig Brady wrote:

> On 12/04/2012 11:35 PM, Assaf Gordon wrote:
>> P=E1draig Brady wrote, On 12/04/2012 06:11 PM:
>>> On 12/04/2012 10:55 PM, Assaf Gordon wrote:
>>>> Hello,
>>>>
>>>>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>>>>>> Nothing yet. The plan is to make a numfmt command available with
>>>>>> this interface:
>>>>>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>>>>>>
>>>>
>>>> Attached is a patch, with a proof-of-concept working 'numfmt'.
>>>>
>>>
>>> Thanks a lot for working on this.
>>> All I'll say at this stage is to take it
>>> as far as you can as per the interface specified
>>> at the above URL with a mind to reusing stuff from
>>> lib/human.c if possible.
>>>
>>> We'll review it then with a view to including it ASAP.
>>
>> Thanks!
>>
>> Input-wise, I had to copy and modify the xstrtol implementation,
>> because the original function doesn't allow the caller to force SI
>> or IEC or AUTO (it has internal logic to deduce it, based on
>> parameters and user input).
>
> We can tweak xstrtol() in gnulib if needed
> I suppose we can refactor after.
>
>> Output-wise, "human_readable()" from "lib/human.c" is called as-is
>> (no code modification).
>>
>> Regarding the advanced options:
>> 1. I'm wondering what is the reason/need for "--to=3D<NUMBER>" ? It
>> base different than 1024/1000 would result in values like "4K" that
>> are very unintuitive (since they don't mean 4096/4000).
>
> Drats I can't remember now.
>
>> 2. FORMAT: is the only use-case adding spaces before/after the
>> number, and grouping?
>> "human_readable()" already has support for grouping, and padding
>> might be added with different parameters?
>
> we can do padding outside of human_readable() using mbsalign() I think,
> and that would be auto enabled with the --field option.
>
> I was thinking that --format would be a central place for tweaking
> grouping and spacing etc. of numbers using standard printf format modifie=
rs.
>
>>
>> I'm asking about #1 and #2, because if we forgo them,
>> "human_readable()" could be used as-is. Otherwise, it will require
>> copy&pasting and some modifications.
>
> We can tweak human_readable() in gnulib if needed
> I suppose we can refactor after.
>
>>
>> 3. "SUFFIX" - is the purpose of this simply to print a string
>> following the number? or are there some more complications?
>
> That's it basically.
> It could be done with --format, but it's such a common requirement
> that I thought it warranted a separate option.
> Note human_readable() may output a 'B' suffix in certain cases,
> which it shouldn't, and we should suppress it if it does as
> noted in the spec.
>
>>
>> 4. Should nun-suffix characters following a parsed number cause
>> errors, or ignored? e.g. "4KQO"
>
> Ignored I would say.

Ignoring trailing bytes for a string like "40000O" could be misleading, no?
I'd rather get a diagnostic that there's this "O" (capital "O") at the
end of my number.   Same thing for 1's vs l's: "9111l" looks a lot like
91,111 in some fonts.


From MAILER-DAEMON Tue Dec 04 19:22:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg2kd-0008N2-Rz
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:22:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51188)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2kY-0008Jq-ND
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:22:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2kX-0002Hp-Ft
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:22:06 -0500
Received: from mx1.redhat.com ([209.132.183.28]:58943)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2kX-0002Hd-8X
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:22:05 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB50M3dA024172
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 19:22:04 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB50M17J011336
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 19:22:03 -0500
Message-ID: <50BE93A9.8050003@draigBrady.com>
Date: Wed, 05 Dec 2012 00:22:01 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: =?UTF-8?B?UGF3ZcWCIExhbXBl?= <pawel.lampe@poczta.fm>
Subject: Re: New feature in mv
References: <1354640642.4272.7.camel@scony.netbook>
In-Reply-To: <1354640642.4272.7.camel@scony.netbook>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB50M3dA024172
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:22:09 -0000

On 12/04/2012 05:04 PM, Pawe=C5=82 Lampe wrote:
> Hi there !
>
> Few minutes ago, my mate asked me 'is there any way to swap two
> files ?'. I have realized, that the mv has option -S but it's all about
> suffix. I think, there should be also -s for swapping. It should work
> like:
> mv -s a b
> Effect should be like:
> a -> tmp
> b -> a
> tmp -> b
>
> Think about it

A fairly useful feature, but something as noted here
that might be more suited to a separate script,
that could be maintained within coreutils under the
recently mentioned contrib/ directory

http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html

thanks,
P=C3=A1draig.


From MAILER-DAEMON Tue Dec 04 19:31:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg2tc-0001Qo-8E
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:31:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53162)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2tZ-0001QZ-55
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:31:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2tX-0004aW-HF
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:31:25 -0500
Received: from mx1.redhat.com ([209.132.183.28]:59451)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg2tX-0004aM-A2
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:31:23 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB50VLwC014583
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 19:31:22 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qB50VJCa016483
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 19:31:20 -0500
Message-ID: <50BE95D7.4080807@draigBrady.com>
Date: Wed, 05 Dec 2012 00:31:19 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
In-Reply-To: <87ip8hxsd4.fsf@rho.meyering.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB50VLwC014583
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:31:27 -0000

On 12/05/2012 12:19 AM, Jim Meyering wrote:
> P=E1draig Brady wrote:
>
>> On 12/04/2012 11:35 PM, Assaf Gordon wrote:
>>> P=E1draig Brady wrote, On 12/04/2012 06:11 PM:
>>>> On 12/04/2012 10:55 PM, Assaf Gordon wrote:
>>>>> Hello,
>>>>>
>>>>>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>>>>>>> Nothing yet. The plan is to make a numfmt command available with
>>>>>>> this interface:
>>>>>>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>>>>>>>
>>>>>
>>>>> Attached is a patch, with a proof-of-concept working 'numfmt'.
>>>>>
>>>>
>>>> Thanks a lot for working on this.
>>>> All I'll say at this stage is to take it
>>>> as far as you can as per the interface specified
>>>> at the above URL with a mind to reusing stuff from
>>>> lib/human.c if possible.
>>>>
>>>> We'll review it then with a view to including it ASAP.
>>>
>>> Thanks!
>>>
>>> Input-wise, I had to copy and modify the xstrtol implementation,
>>> because the original function doesn't allow the caller to force SI
>>> or IEC or AUTO (it has internal logic to deduce it, based on
>>> parameters and user input).
>>
>> We can tweak xstrtol() in gnulib if needed
>> I suppose we can refactor after.
>>
>>> Output-wise, "human_readable()" from "lib/human.c" is called as-is
>>> (no code modification).
>>>
>>> Regarding the advanced options:
>>> 1. I'm wondering what is the reason/need for "--to=3D<NUMBER>" ? It
>>> base different than 1024/1000 would result in values like "4K" that
>>> are very unintuitive (since they don't mean 4096/4000).
>>
>> Drats I can't remember now.
>>
>>> 2. FORMAT: is the only use-case adding spaces before/after the
>>> number, and grouping?
>>> "human_readable()" already has support for grouping, and padding
>>> might be added with different parameters?
>>
>> we can do padding outside of human_readable() using mbsalign() I think=
,
>> and that would be auto enabled with the --field option.
>>
>> I was thinking that --format would be a central place for tweaking
>> grouping and spacing etc. of numbers using standard printf format modi=
fiers.
>>
>>>
>>> I'm asking about #1 and #2, because if we forgo them,
>>> "human_readable()" could be used as-is. Otherwise, it will require
>>> copy&pasting and some modifications.
>>
>> We can tweak human_readable() in gnulib if needed
>> I suppose we can refactor after.
>>
>>>
>>> 3. "SUFFIX" - is the purpose of this simply to print a string
>>> following the number? or are there some more complications?
>>
>> That's it basically.
>> It could be done with --format, but it's such a common requirement
>> that I thought it warranted a separate option.
>> Note human_readable() may output a 'B' suffix in certain cases,
>> which it shouldn't, and we should suppress it if it does as
>> noted in the spec.
>>
>>>
>>> 4. Should nun-suffix characters following a parsed number cause
>>> errors, or ignored? e.g. "4KQO"
>>
>> Ignored I would say.
>
> Ignoring trailing bytes for a string like "40000O" could be misleading,=
 no?
> I'd rather get a diagnostic that there's this "O" (capital "O") at the
> end of my number.   Same thing for 1's vs l's: "9111l" looks a lot like
> 91,111 in some fonts.

Fair point.
Though if someone wanted to use O for octets,
or to count 4KOwls, 2Owls, ..
Hmm, maybe that's another reason I had the separate --suffix option,
so that only that suffix was allowed, and others were rejected.
Let's go with that for now.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 19:45:37 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg37J-0006U8-Gt
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:45:37 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56412)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg37G-0006Tj-NM
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:45:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg37E-0007vF-22
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:45:34 -0500
Received: from mail-wi0-f173.google.com ([209.85.212.173]:55785)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg37D-0007v6-S0
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:45:31 -0500
Received: by mail-wi0-f173.google.com with SMTP id hn17so1050110wib.12
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 16:45:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type:content-transfer-encoding;
	bh=riMTwqyQeaFO1Fd4jqZF7SHfOJvEY9r2Obs3TpJJIfs=;
	b=rz2PMRDtHAOjrbKrS7Y+Y6rMj1+h0CjQW6XQ/IeYB2E/UjvpmTdgbZVViS94UhPA+P
	bnx2AKcRDcn0MLJbIjXzny550n06UyM+Q0gaeTz+Nd3dUq93j5hKnkqC4aKO8XOzaxhc
	Kp5H1oIOuJW1Xxmd6ZCL4pJD8T/ZCmtE71PE8nSeLaF60RjygKKeCcyuzOyOEY30KRTf
	A5CtuDKAGLjDLQu3R1sbUkJRfKUwD+1wulpERqPFU73QFatHT/ROUoua4HRJTHc8M4rO
	o4AhZtFAmvJ/Hq55Okig9FEHydVApyev/eWbN4S8oBX+e/Ss864cQRX9hHqnuuuoVlVG
	Oiyw==
MIME-Version: 1.0
Received: by 10.216.204.162 with SMTP id h34mr5864258weo.213.1354668330289;
	Tue, 04 Dec 2012 16:45:30 -0800 (PST)
Received: by 10.217.82.3 with HTTP; Tue, 4 Dec 2012 16:45:30 -0800 (PST)
In-Reply-To: <CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
Date: Tue, 4 Dec 2012 22:45:30 -0200
Message-ID: <CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
Subject: Re: New feature in mv
From: Raphael S Carvalho <raphael.scarv@gmail.com>
To: coreutils@gnu.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.173
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:45:36 -0000

On Tue, Dec 4, 2012 at 10:22 PM, P=C3=A1draig Brady <P@draigbrady.com> wrot=
e:
> On 12/04/2012 05:04 PM, Pawe=C5=82 Lampe wrote:
>>
>> Hi there !
>>
>> Few minutes ago, my mate asked me 'is there any way to swap two
>> files ?'. I have realized, that the mv has option -S but it's all about
>> suffix. I think, there should be also -s for swapping. It should work
>> like:
>> mv -s a b
>> Effect should be like:
>> a -> tmp
>> b -> a
>> tmp -> b
>>
>> Think about it
>
>
> A fairly useful feature, but something as noted here
> that might be more suited to a separate script,
> that could be maintained within coreutils under the
> recently mentioned contrib/ directory
>
> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>
> thanks,
> P=C3=A1draig.
>

I read this page:
http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
So I would really like to create that program. Is it still even needed?

Att, Raphael SC <raphael.scarv@gmail.com>


From MAILER-DAEMON Tue Dec 04 19:56:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3HV-0001fo-7V
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 19:56:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58581)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg3HS-0001ff-PL
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:56:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg3HR-0001oA-CG
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:56:06 -0500
Received: from mail-vb0-f52.google.com ([209.85.212.52]:35502)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg3HR-0001nw-98
	for coreutils@gnu.org; Tue, 04 Dec 2012 19:56:05 -0500
Received: by mail-vb0-f52.google.com with SMTP id ez10so1180913vbb.39
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 16:56:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=76NMIm4biGfLTlJxxeRZrXhhHOSgZtUX7KzBBgTsnYs=;
	b=P/N8cLourFCT2amvfhpoxJyRu5iYBeuxuZNZM7xFpgGFQgy/KYO+NmOKkCqJZHdGkg
	Y11NJDywLKp6NYE8nqsP+iKhxk20TydHLr58wsv4lV+GeTUjILNK5b/V8kdTMJpBunA4
	iFtgNdr/wFp1tmzjZpwWCND3CKYvEiqhjHT5X5fifPCX43cGVIQ+usPfTaWlptpTxsBL
	shocJWD5qBMeoQYk/9LyPxJSgPOWs07VZA72P0yqyAkYA+7qTnJIQWiV/lBtuAbcHyfZ
	MVt+XR9rs0BsOpwLFxsBJf5/Rso4GTKSC73so3Ii/HT0KW6gKv/RfLKBrLlf6S9VDNgr
	0nfg==
Received: by 10.52.69.39 with SMTP id b7mr11622025vdu.124.1354668964524;
	Tue, 04 Dec 2012 16:56:04 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id qj8sm971695veb.2.2012.12.04.16.56.03
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 04 Dec 2012 16:56:03 -0800 (PST)
Message-ID: <50BE9BA2.70208@gmail.com>
Date: Tue, 04 Dec 2012 19:56:02 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com>
In-Reply-To: <50BE95D7.4080807@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.52
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 00:56:07 -0000

P=E1draig Brady wrote, On 12/04/2012 07:31 PM:
> On 12/05/2012 12:19 AM, Jim Meyering wrote:
>> P=E1draig Brady wrote:
>>> On 12/04/2012 11:35 PM, Assaf Gordon wrote:
>>>> P=E1draig Brady wrote, On 12/04/2012 06:11 PM:
>>>>> On 12/04/2012 10:55 PM, Assaf Gordon wrote:
>>>>>>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:

< snip long discussion >

Would the following be acceptable:
1. remove "--to=3D<NUMBER>" option
2. surplus characters following immediately after converted number trigge=
r a warning (error?),=20
  except if the following characters match exactly the "suffix" parameter=
=2E


Regarding "--format":
The implementation doesn't really use "printf", so "%d" isn't directly us=
able.
One option is to tell the user to use "%s" (instead of "%d"), and we'll s=
imply put the result of "human_readable()" as the string parameter in vas=
nprintf - this will be flexible in terms of alignment.
Another option is the remove "--format" option, and replace it with "--pa=
dding" or similar.

Regarding grouping (thousands separator):
This only has an effect when no using "--to=3DSI" or "--to=3DIEC", right?=

Perhaps we can add a separate option "--grouping", and simply turn on the=
 "human_grouping" flag? (easy to implement).






From MAILER-DAEMON Tue Dec 04 20:05:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3Qp-0003RL-Ej
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:05:47 -0500
Received: from eggs.gnu.org ([208.118.235.92]:32875)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3Qm-0003Q7-Oz
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:05:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3Ql-0004DV-Jx
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:05:44 -0500
Received: from mx1.redhat.com ([209.132.183.28]:51344)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3Ql-0004DL-BL
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:05:43 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB515ewu031254
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 20:05:41 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB515c7c009001
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 20:05:40 -0500
Message-ID: <50BE9DE2.5030403@draigBrady.com>
Date: Wed, 05 Dec 2012 01:05:38 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Raphael S Carvalho <raphael.scarv@gmail.com>
Subject: Re: New feature in mv
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
In-Reply-To: <CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB515ewu031254
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:05:46 -0000

On 12/05/2012 12:45 AM, Raphael S Carvalho wrote:
> On Tue, Dec 4, 2012 at 10:22 PM, P=C3=A1draig Brady <P@draigbrady.com> =
wrote:
>> On 12/04/2012 05:04 PM, Pawe=C5=82 Lampe wrote:
>>>
>>> Hi there !
>>>
>>> Few minutes ago, my mate asked me 'is there any way to swap two
>>> files ?'. I have realized, that the mv has option -S but it's all abo=
ut
>>> suffix. I think, there should be also -s for swapping. It should work
>>> like:
>>> mv -s a b
>>> Effect should be like:
>>> a -> tmp
>>> b -> a
>>> tmp -> b
>>>
>>> Think about it
>>
>>
>> A fairly useful feature, but something as noted here
>> that might be more suited to a separate script,
>> that could be maintained within coreutils under the
>> recently mentioned contrib/ directory
>>
>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>>
>> thanks,
>> P=C3=A1draig.
>>
>
> I read this page:
> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
> So I would really like to create that program. Is it still even needed?

Cool, thanks!

I would prototype a script in shell,
with possibly some of the same considerations as in this "rewrite" script=
,
http://lists.gnu.org/archive/html/bug-coreutils/2010-03/txtNTX6owUFov.txt

thanks,
P=C3=A1draig.


From MAILER-DAEMON Tue Dec 04 20:25:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3jy-0007hJ-7I
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:25:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37820)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg3jv-0007hD-Qo
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:25:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg3ju-0000ZH-HM
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:25:31 -0500
Received: from mail-we0-f169.google.com ([74.125.82.169]:36369)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg3ju-0000Z7-8Q
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:25:30 -0500
Received: by mail-we0-f169.google.com with SMTP id t49so2130186wey.0
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 17:25:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=z86nRnkFNNZD3pJqV3qX58mpsg9VwvcX3j5C+fOC0JA=;
	b=qNCJz39xeHBxhDZJk+LQWkX2Iy+Zzw8VnW8CABaJYJGLGEv77l83Ummnms923dirfT
	zjuY9TRvJzRTVg/9ZN1RiT5Nm0MpS7yyFyq91EJAUpe7jm9dlhBfObBZQlAYlNliqyxw
	4hZVTbBlYrg7xRLumZS9p0FjWUP4Tb1Oj5Q7XkIHDukPMxXxqycli9mJWhmz+ojac4n/
	8FKuIR9eOFnGwHeS4ELLy+k+qr3ri6o41taUj8R3URRu5HkDc8ll3rpFNHKJxOd/d35D
	PV8Yr6/U0HulNzFrqZVJglWs8sLM7JrRsJ32iSpCVl2heh8U5vK40bJ58OvrZ7V2D+nK
	2KLw==
MIME-Version: 1.0
Received: by 10.216.27.135 with SMTP id e7mr5204049wea.164.1354670729287; Tue,
	04 Dec 2012 17:25:29 -0800 (PST)
Received: by 10.217.82.3 with HTTP; Tue, 4 Dec 2012 17:25:29 -0800 (PST)
In-Reply-To: <50BE9DE2.5030403@draigBrady.com>
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
	<50BE9DE2.5030403@draigBrady.com>
Date: Tue, 4 Dec 2012 23:25:29 -0200
Message-ID: <CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
Subject: Re: New feature in mv
From: Raphael S Carvalho <raphael.scarv@gmail.com>
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigbrady.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 74.125.82.169
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:25:33 -0000

On Tue, Dec 4, 2012 at 11:05 PM, P=C3=A1draig Brady <P@draigbrady.com> wrot=
e:
> On 12/05/2012 12:45 AM, Raphael S Carvalho wrote:
>>
>> On Tue, Dec 4, 2012 at 10:22 PM, P=C3=A1draig Brady <P@draigbrady.com> w=
rote:
>>>
>>> On 12/04/2012 05:04 PM, Pawe=C5=82 Lampe wrote:
>>>>
>>>>
>>>> Hi there !
>>>>
>>>> Few minutes ago, my mate asked me 'is there any way to swap two
>>>> files ?'. I have realized, that the mv has option -S but it's all abou=
t
>>>> suffix. I think, there should be also -s for swapping. It should work
>>>> like:
>>>> mv -s a b
>>>> Effect should be like:
>>>> a -> tmp
>>>> b -> a
>>>> tmp -> b
>>>>
>>>> Think about it
>>>
>>>
>>>
>>> A fairly useful feature, but something as noted here
>>> that might be more suited to a separate script,
>>> that could be maintained within coreutils under the
>>> recently mentioned contrib/ directory
>>>
>>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>>>
>>> thanks,
>>> P=C3=A1draig.
>>>
>>
>> I read this page:
>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>> So I would really like to create that program. Is it still even needed?
>
>
> Cool, thanks!
>
> I would prototype a script in shell,
> with possibly some of the same considerations as in this "rewrite" script=
,
> http://lists.gnu.org/archive/html/bug-coreutils/2010-03/txtNTX6owUFov.txt
>
> thanks,
> P=C3=A1draig.

I was thinking about writing such a program using C language, though
I'm not sure if it would be the best choice. I could search for the
best data exchange algorithm, so making the program fast and useful.
I'm not sure if they(maintainers) would accept a new program in the
core-utils. As I'm seeing, the program would provide a way to exchange
data between two files, besides changing filenames. Should another
one(feature) be implemented?
I also thought about using Python.

Regards, Raphael S.Carvalho <raphael.scarv@gmail.com>


From MAILER-DAEMON Tue Dec 04 20:28:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3mn-0008Bv-Md
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:28:29 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38269)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3mj-00089S-EX
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:28:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3mi-00013M-Ap
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:28:25 -0500
Received: from mx1.redhat.com ([209.132.183.28]:52992)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3mi-000136-3Q
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:28:24 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB51P2Dv014867
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 20:25:03 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB51OxjC011709
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 20:25:00 -0500
Message-ID: <50BEA26A.60905@draigBrady.com>
Date: Wed, 05 Dec 2012 01:24:58 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
In-Reply-To: <50BE9BA2.70208@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB51P2Dv014867
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:28:27 -0000

On 12/05/2012 12:56 AM, Assaf Gordon wrote:
> P=E1draig Brady wrote, On 12/04/2012 07:31 PM:
>> On 12/05/2012 12:19 AM, Jim Meyering wrote:
>>> P=E1draig Brady wrote:
>>>> On 12/04/2012 11:35 PM, Assaf Gordon wrote:
>>>>> P=E1draig Brady wrote, On 12/04/2012 06:11 PM:
>>>>>> On 12/04/2012 10:55 PM, Assaf Gordon wrote:
>>>>>>>> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>
> < snip long discussion >
>
> Would the following be acceptable:
> 1. remove "--to=3D<NUMBER>" option

I wish I could find my notes on this.
Yes ignore for now. I might remember what
I was thinking here later.

> 2. surplus characters following immediately after converted number trig=
ger a warning (error?),
>    except if the following characters match exactly the "suffix" parame=
ter.

Right. Might as well error as give a warning?

> Regarding "--format":
> The implementation doesn't really use "printf", so "%d" isn't directly =
usable.

So we lose zero padding, base conversion, etc. but...

> One option is to tell the user to use "%s" (instead of "%d"), and we'll=
 simply put the result of "human_readable()" as the string parameter in v=
asnprintf - this will be flexible in terms of alignment.
> Another option is the remove "--format" option, and replace it with "--=
padding" or similar.


> Regarding grouping (thousands separator):
> This only has an effect when no using "--to=3DSI" or "--to=3DIEC", righ=
t?
> Perhaps we can add a separate option "--grouping", and simply turn on t=
he "human_grouping" flag? (easy to implement).

... such features may be better with explicit options
for --padding, --grouping, --base.
Yes grouping wouldn't make much sense with --to=3DSI

cheers,
P=E1draig.


From MAILER-DAEMON Tue Dec 04 20:29:04 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3nM-0008Eu-RE
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:29:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38344)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tg3nJ-0008Dg-4k
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:29:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tg3nG-00017T-Vi
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:29:01 -0500
Received: from moutng.kundenserver.de ([212.227.17.9]:60449)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tg3nG-00017P-LC
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:28:58 -0500
Received: from [192.168.1.11] (p4FF765A0.dip.t-dialin.net [79.247.101.160])
	by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis)
	id 0Lr4CZ-1T244Z0L59-00eRxx; Wed, 05 Dec 2012 02:28:56 +0100
Message-ID: <50BEA356.7020306@bernhard-voelker.de>
Date: Wed, 05 Dec 2012 02:28:54 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>, Ondrej Oprala <ooprala@redhat.com>
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
	<50BCEABD.3010004@redhat.com>
	<50BDB07D.8090500@bernhard-voelker.de>
	<87zk1ty92o.fsf@rho.meyering.net>
In-Reply-To: <87zk1ty92o.fsf@rho.meyering.net>
Content-Type: multipart/mixed; boundary="------------090008070205030806030404"
X-Provags-ID: V02:K0:nGRvh5Ma39A1OAndqqCiqcMrOSYxIWaRs4yPZIpNhJB
	dlSjDKiE/kVt2GayhrZXj22Qpc/TpSo4vgE8UGKRDuWmc7aig3
	7MK9Z4GPlxXIOZx5RwB16Eq8T+qO2bWjmdo+HoT62JS8KxqKnH
	HXUdJS5MBchc6bO29ep7O8nq5aK1bd6q/60qz77FJtLmL5Ts7D
	BAIDuPByM4IA/vCHQigpR9yiU5AaKIixH9BnXhkmL69WZd5K5b
	O7N9HQ4Ky44OxlLtJCBCcj8Ztm8ZzkwIsy11VBBKzON7D8UxnL
	0sA90INYDxnhijvIuTfnpwA+0IYD2mP266AzBlP5jYU37Imhjt
	dYiD/7EfHtpu/uLkmQPj/xPPVbKpq9ZTC8d1UziXs
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.9
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:29:03 -0000

This is a multi-part message in MIME format.
--------------090008070205030806030404
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit



On 12/04/2012 07:18 PM, Jim Meyering wrote:

> Thanks to both of you for keeping this thread moving.

Thanks.

I have moved the change around "a bit" to make the overall
change in df.c smaller. I thought that it would be better
to keep such filtering stuff in get_dev() as all the other
filters, e.g. --local.

A also added some other test cases and another test that
examines rootfs hiding.
Finally, I added some texi documentation.

In the end, that change wasn't that small actually, so I
added a "Co-authored" line to the patch. ;-)

Ondrej (and others): WDYT?

Have a nice day,
Berny


--------------090008070205030806030404
Content-Type: text/x-patch;
 name="df-duplicates-and-rootfs.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="df-duplicates-and-rootfs.patch"

>From b8e311fde1803e900b2f894364922eb9cdd9841c Mon Sep 17 00:00:00 2001
From: Ondrej Oprala <ooprala@redhat.com>
Date: Wed, 5 Dec 2012 01:39:44 +0100
Subject: [PATCH] df: do not print duplicate entries and rootfs by default

* src/df.c (struct devlist): Add new struct for storing already-
examined device numbers.
(devlist_head): Add new store of the above type.
(show_rootfs): Add new global boolean to not skip rootfs.
(dev_examined): Add new function to check if the device has
already been traversed.
(get_dev): Filter out rootfs unless "-t rootfs" or the -a
option is specified. Filter out duplicate entries by calling
the above new dev_examined unless the -a option is specified.
(main): Set the show_rootfs variable appropriately when the -t
option is specified for rootfs. Free device list (guarded by
IF_LINT).
* tests/df/skip-duplicates.sh: Add test to exercise the skipping
of duplicate entries.
* tests/df/skip-rootfs.sh: Add test to exercise the skipping
of the rootfs pseudo file system.
* tests/local.mk: Add the above new tests.
* NEWS (Changes in behavior): Mention the changes.
* doc/coreutils.texi (df invocation): Document df's behavior about
skipping rootfs and duplicate entries.

Co-authored-by: Bernhard Voelker.
---
 NEWS                        |    6 +++
 doc/coreutils.texi          |    8 ++++
 src/df.c                    |   58 ++++++++++++++++++++++++++++++++
 tests/df/skip-duplicates.sh |   77 +++++++++++++++++++++++++++++++++++++++++++
 tests/df/skip-rootfs.sh     |   46 +++++++++++++++++++++++++
 tests/local.mk              |    2 +
 6 files changed, 197 insertions(+), 0 deletions(-)
 create mode 100755 tests/df/skip-duplicates.sh
 create mode 100755 tests/df/skip-rootfs.sh

diff --git a/NEWS b/NEWS
index d4aebeb..0694ec5 100644
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,12 @@ GNU coreutils NEWS                                    -*- outline -*-
   field can be in any column.  If there is no source column, then df
   prints 'total' into the target column.
 
+  df now properly outputs file system information with bind mounts present on
+  the system by skipping duplicate entries (identified by the device number).
+
+  df now skips the early-boot pseudo file system type "rootfs" unless either the
+  -a option or "-t rootfs" is specified.
+
   nl no longer supports the --page-increment option which was deprecated
   since coreutils-7.5.  Use --line-increment instead.
 
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 46d3680..21400ad 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10600,6 +10600,14 @@ Normally the disk space is printed in units of
 1024 bytes, but this can be overridden (@pxref{Block size}).
 Non-integer quantities are rounded up to the next higher unit.
 
+For bind mounts and without arguments, @command{df} only outputs the statistics
+for the first occurence of that device in the list of file systems (@var{mtab}),
+i.e., it hides duplicate entries, unless the @option{-a} option is specified.
+
+By default, @command{df} omits the early-boot pseudo file system type
+@samp{rootfs}, unless the @option{-a} option is specified or that file system
+type is explicitly to be included by using the @option{-t} option.
+
 @cindex disk device file
 @cindex device file, disk
 If an argument @var{file} is a disk device file containing a mounted
diff --git a/src/df.c b/src/df.c
index cac26b7..63c8b31 100644
--- a/src/df.c
+++ b/src/df.c
@@ -43,6 +43,17 @@
   proper_name ("David MacKenzie"), \
   proper_name ("Paul Eggert")
 
+/* Filled with device numbers of examined file systems to avoid
+   duplicities in output.  */
+struct devlist
+{
+  dev_t dev_num;
+  struct devlist *next;
+};
+
+/* Store of already-processed device numbers.  */
+static struct devlist *devlist_head;
+
 /* If true, show even file systems with zero size or
    uninteresting types.  */
 static bool show_all_fs;
@@ -54,6 +65,12 @@ static bool show_local_fs;
    command line argument -- even if it's a dummy (automounter) entry.  */
 static bool show_listed_fs;
 
+/* If true, include rootfs in the output.  */
+static bool show_rootfs;
+
+/* The literal name of the initial root file system.  */
+static char const *ROOTFS = "rootfs";
+
 /* Human-readable options for output.  */
 static int human_output_opts;
 
@@ -589,6 +606,29 @@ excluded_fstype (const char *fstype)
   return false;
 }
 
+/* Check if the device was already examined.  */
+
+static bool
+dev_examined (char const *mount_dir, char const *devname)
+{
+  struct stat buf;
+  if (-1 == stat (mount_dir, &buf))
+    return false;
+
+  struct devlist *devlist = devlist_head;
+  for ( ; devlist; devlist = devlist->next)
+    if (devlist->dev_num == buf.st_dev)
+      return true;
+
+  /* Add the device number to the global list devlist.  */
+  devlist = xmalloc (sizeof *devlist);
+  devlist->dev_num = buf.st_dev;
+  devlist->next = devlist_head;
+  devlist_head = devlist;
+
+  return false;
+}
+
 /* Return true if N is a known integer value.  On many file systems,
    UINTMAX_MAX represents an unknown value; on AIX, UINTMAX_MAX - 1
    represents unknown.  Use a rule that works on AIX file systems, and
@@ -758,6 +798,15 @@ get_dev (char const *disk, char const *mount_point,
   if (!selected_fstype (fstype) || excluded_fstype (fstype))
     return;
 
+  if (process_all && !show_all_fs && !show_listed_fs)
+    {
+      /* No arguments nor "df -a", then check if df has to ...  */
+      if (!show_rootfs && STREQ (disk, ROOTFS))
+        return; /* ... skip rootfs: (unless -trootfs is given.  */
+      if (dev_examined (mount_point, disk))
+        return; /* ... skip duplicate entries (bind mounts).  */
+    }
+
   /* If MOUNT_POINT is NULL, then the file system is not mounted, and this
      program reports on the file system that the special file is on.
      It would be better to report on the unmounted file system,
@@ -1283,6 +1332,7 @@ main (int argc, char **argv)
           /* Accept -F as a synonym for -t for compatibility with Solaris.  */
         case 't':
           add_fs_type (optarg);
+          show_rootfs = selected_fstype (ROOTFS);
           break;
 
         case 'v':		/* For SysV compatibility.  */
@@ -1457,6 +1507,14 @@ main (int argc, char **argv)
     }
 
   IF_LINT (free (columns));
+  IF_LINT (
+    while (devlist_head)
+      {
+        struct devlist *devlist = devlist_head->next;
+        free (devlist_head);
+        devlist_head = devlist;
+      }
+    );
 
   exit (exit_status);
 }
diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh
new file mode 100755
index 0000000..0c5ada2
--- /dev/null
+++ b/tests/df/skip-duplicates.sh
@@ -0,0 +1,77 @@
+#!/bin/sh
+# Test df's behavior when the mount list contains duplicate entries.
+# This test is skipped on systems that lack LD_PRELOAD support; that's fine.
+
+# Copyright (C) 2012 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ df
+
+df || skip_ "df fails"
+
+# Simulate an mtab file with two entries of the same device number.
+cat > k.c <<'EOF' || framework_failure_
+#include <stdio.h>
+#include <mntent.h>
+
+struct mntent *getmntent (FILE *fp)
+{
+  /* Prove that LD_PRELOAD works. */
+  static int done = 0;
+  if (!done)
+    {
+      fclose (fopen ("x", "w"));
+      ++done;
+    }
+
+  static struct mntent mntent;
+
+  while (done++ < 3)
+    {
+      mntent.mnt_fsname = "fsname";
+      mntent.mnt_dir = "/";
+      mntent.mnt_type = "-";
+
+      return &mntent;
+    }
+  return NULL;
+}
+EOF
+
+# Then compile/link it:
+gcc --std=gnu99 -shared -fPIC -ldl -O2 k.c -o k.so \
+  || skip_ "getmntent hack does not work on this platform"
+
+# Test if LD_PRELOAD works:
+LD_PRELOAD=./k.so df
+test -f x || skip_ "internal test failure: maybe LD_PRELOAD doesn't work?"
+
+# The fake mtab file should only contain 2 entries, both
+# having the same device number; thus the output should
+# consist of a header and one entry.
+LD_PRELOAD=./k.so df >out || fail=1
+test $(wc -l <out) -eq 2 || fail=1
+
+# Ensure that filtering duplicates does not affect -a processing.
+LD_PRELOAD=./k.so df -a >out || fail=1
+test $(wc -l <out) -eq 3 || fail=1
+
+# Ensure that filtering duplcates does not affect
+# argument processing (now without the fake getmntent()).
+df '.' '.' >out || fail=1
+test $(wc -l <out) -eq 3 || fail=1
+
+Exit $fail
diff --git a/tests/df/skip-rootfs.sh b/tests/df/skip-rootfs.sh
new file mode 100755
index 0000000..9ba2716
--- /dev/null
+++ b/tests/df/skip-rootfs.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+# Test df's behavior for skipping the pseudo "rootfs" file system.
+
+# Copyright (C) 2012 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ df
+
+df || skip_ "df fails"
+
+# Verify that rootfs is in mtab (and shown when the -a option is specified).
+df -a >out || fail=1
+grep '^rootfs' out || skip_ "no rootfs in mtab"
+
+# Ensure that rootfs is supressed when no options is specified.
+df >out || fail=1
+grep '^rootfs' out && { fail=1; cat out; }
+
+# Ensure that the rootfs is shown when explicitly specifying "-t rootfs".
+df -t rootfs >out || fail=1
+grep '^rootfs' out || { fail=1; cat out; }
+
+# Ensure that the rootfs is shown when explicitly specifying "-t rootfs",
+# even when the -a option is specified.
+df -t rootfs -a >out || fail=1
+grep '^rootfs' out || { fail=1; cat out; }
+
+# Ensure that the rootfs is omitted in all_fs mode when it is explicitly
+# black-listed.
+df -a -x rootfs >out || fail=1
+grep '^rootfs' out && { fail=1; cat out; }
+
+Exit $fail
diff --git a/tests/local.mk b/tests/local.mk
index 1b0ace4..d5bb6f7 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -457,6 +457,8 @@ all_tests =					\
   tests/df/unreadable.sh			\
   tests/df/total-unprocessed.sh			\
   tests/df/no-mtab-status.sh			\
+  tests/df/skip-duplicates.sh			\
+  tests/df/skip-rootfs.sh			\
   tests/dd/direct.sh				\
   tests/dd/misc.sh				\
   tests/dd/nocache.sh				\
-- 
1.7.7


--------------090008070205030806030404--


From MAILER-DAEMON Tue Dec 04 20:34:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3sw-000140-RW
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:34:50 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39606)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3st-00013i-Px
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:34:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3ss-0002X4-Mq
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:34:47 -0500
Received: from mx1.redhat.com ([209.132.183.28]:11144)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg3ss-0002X0-E5
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:34:46 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB51YixY025260
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 20:34:45 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB51YfU4022725
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 20:34:43 -0500
Message-ID: <50BEA4B1.5050200@draigBrady.com>
Date: Wed, 05 Dec 2012 01:34:41 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Raphael S Carvalho <raphael.scarv@gmail.com>
Subject: Re: New feature in mv
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
	<50BE9DE2.5030403@draigBrady.com>
	<CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
In-Reply-To: <CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB51YixY025260
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:34:49 -0000

On 12/05/2012 01:25 AM, Raphael S Carvalho wrote:
> On Tue, Dec 4, 2012 at 11:05 PM, P=C3=A1draig Brady <P@draigbrady.com> =
wrote:
>> On 12/05/2012 12:45 AM, Raphael S Carvalho wrote:
>>>
>>> On Tue, Dec 4, 2012 at 10:22 PM, P=C3=A1draig Brady <P@draigbrady.com=
> wrote:
>>>>
>>>> On 12/04/2012 05:04 PM, Pawe=C5=82 Lampe wrote:
>>>>>
>>>>>
>>>>> Hi there !
>>>>>
>>>>> Few minutes ago, my mate asked me 'is there any way to swap two
>>>>> files ?'. I have realized, that the mv has option -S but it's all a=
bout
>>>>> suffix. I think, there should be also -s for swapping. It should wo=
rk
>>>>> like:
>>>>> mv -s a b
>>>>> Effect should be like:
>>>>> a -> tmp
>>>>> b -> a
>>>>> tmp -> b
>>>>>
>>>>> Think about it
>>>>
>>>>
>>>>
>>>> A fairly useful feature, but something as noted here
>>>> that might be more suited to a separate script,
>>>> that could be maintained within coreutils under the
>>>> recently mentioned contrib/ directory
>>>>
>>>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.htm=
l
>>>>
>>>> thanks,
>>>> P=C3=A1draig.
>>>>
>>>
>>> I read this page:
>>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>>> So I would really like to create that program. Is it still even neede=
d?
>>
>>
>> Cool, thanks!
>>
>> I would prototype a script in shell,
>> with possibly some of the same considerations as in this "rewrite" scr=
ipt,
>> http://lists.gnu.org/archive/html/bug-coreutils/2010-03/txtNTX6owUFov.=
txt
>>
>> thanks,
>> P=C3=A1draig.
>
> I was thinking about writing such a program using C language, though
> I'm not sure if it would be the best choice. I could search for the
> best data exchange algorithm, so making the program fast and useful.
> I'm not sure if they(maintainers) would accept a new program in the
> core-utils. As I'm seeing, the program would provide a way to exchange
> data between two files, besides changing filenames. Should another
> one(feature) be implemented?
> I also thought about using Python.

The idea here is that swapping files would be just a thin
wrapper around the mv or cp or ln utilities which
already do the heavy lifting in C for copying data
around (often using complicated techniques), or
in fact just renaming as appropriate.

thanks,
P=C3=A1draig.


From MAILER-DAEMON Tue Dec 04 20:41:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg3zR-0003Ws-2A
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:41:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41098)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tg3zO-0003Wk-32
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:41:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tg3zN-000498-0D
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:41:29 -0500
Received: from moutng.kundenserver.de ([212.227.17.8]:57295)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tg3zM-00048w-Md
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:41:28 -0500
Received: from [192.168.1.11] (p4FF765A0.dip.t-dialin.net [79.247.101.160])
	by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis)
	id 0LhDFP-1Ss8G21tn5-00oIoS; Wed, 05 Dec 2012 02:41:25 +0100
Message-ID: <50BEA644.1050204@bernhard-voelker.de>
Date: Wed, 05 Dec 2012 02:41:24 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
Subject: Re: New feature in mv
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
	<50BE9DE2.5030403@draigBrady.com>
	<CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
	<50BEA4B1.5050200@draigBrady.com>
In-Reply-To: <50BEA4B1.5050200@draigBrady.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:Fzr1HG637aO6pCCVa0KiG1Znvvg4NFRNSnHhiR6MGvW
	cHBsqpjOgA95agRPawuTvVQKgShBwlQdXAAQgqK/+/+g/oeIfK
	WUtLwf/7y7OxmwGNuvG4VohS0jjixKhu1P4dif4+jdcSOyBZzT
	EKyEQUnXr5P/VzD+xmN7x+zOyVcNZ5Nf98bcI9nJFKc85dz3UN
	qbIytQEX21A0mvQVJkGh6AUpdNK2Kv78BbLXfq4cpTWWgACA8c
	8ihgVB1yoXquqkw3L8rdT76SpPL80DRhO7kKO64g/SlRaeWcdd
	KjaxvTw+kj09lSIeFZHush1RSYqAVRiTrF8TyKGMncTps+glPG
	umQoWFT3vZ5Kr52Z9np/2AbdWWOgIEerf2RpwJ0kR
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.8
Cc: Raphael S Carvalho <raphael.scarv@gmail.com>, coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:41:32 -0000

On 12/05/2012 02:34 AM, PÃ¡draig Brady wrote:
> On 12/05/2012 01:25 AM, Raphael S Carvalho wrote:
>> I was thinking about writing such a program using C language,
>> [...]


> The idea here is that swapping files would be just a thin
> wrapper around the mv or cp or ln utilities which
> already do the heavy lifting in C for copying data
> around (often using complicated techniques), or
> in fact just renaming as appropriate.

Well, maybe a C program execing mv/cp/ln would be easier
to maintain than a shell script regarding portability ...
;-)

Have a nice day,
Berny


From MAILER-DAEMON Tue Dec 04 20:48:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg46W-0004zm-4h
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 20:48:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43249)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg46T-0004zP-F3
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:48:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg46S-0005z6-0s
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:48:49 -0500
Received: from mail-wi0-f179.google.com ([209.85.212.179]:41465)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <raphael.scarv@gmail.com>) id 1Tg46R-0005yz-QT
	for coreutils@gnu.org; Tue, 04 Dec 2012 20:48:47 -0500
Received: by mail-wi0-f179.google.com with SMTP id o1so916372wic.12
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 17:48:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=4vj7UuwHIXMEHAtkMWndPU7yJDKHlG9TXmUYc1gHWLY=;
	b=QOPi6kvthYU2tfpSjslu/9qbfBvLAx7/9NkoEJT/ToozXjdwFUWWyZgE6V4SBUVqeE
	l2b/XatSgDunfvVnhlbPOLgxys/qz4gCLosk/rapxDq8a8LDCb/86A7iWcsd4A0Wh5PN
	HWx+e11m6EZWB58hjbv3jyWBanhWxfXECmMFZHyzL/kdtu8bKRGiZOTZciLtG1bS2NLT
	/G7egkIiTFY5rExopj+GThUpdOhK7NetCQUVuD49qVjCJvT6ppWfw6JOIxBllStti0KL
	XEaYDllOFANLtJyW2rPQ25h2GElOm6eVWSlLLC86IsNHKjrXryGdn+jWfo+eTUPoTH/9
	o4cQ==
MIME-Version: 1.0
Received: by 10.216.211.73 with SMTP id v51mr5982484weo.74.1354672126858; Tue,
	04 Dec 2012 17:48:46 -0800 (PST)
Received: by 10.217.82.3 with HTTP; Tue, 4 Dec 2012 17:48:46 -0800 (PST)
In-Reply-To: <50BEA4B1.5050200@draigBrady.com>
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
	<50BE9DE2.5030403@draigBrady.com>
	<CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
	<50BEA4B1.5050200@draigBrady.com>
Date: Tue, 4 Dec 2012 23:48:46 -0200
Message-ID: <CACz=Wee_GRj3KTeygGAd-zAR2PH091vywJ0tedSRNiUTNQUBJw@mail.gmail.com>
Subject: Re: New feature in mv
From: Raphael S Carvalho <raphael.scarv@gmail.com>
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigbrady.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.179
Cc: mail@bernhard-voelker.de, coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 01:48:51 -0000

On Tue, Dec 4, 2012 at 11:34 PM, P=C3=A1draig Brady <P@draigbrady.com> wrot=
e:
> On 12/05/2012 01:25 AM, Raphael S Carvalho wrote:
>>
>> On Tue, Dec 4, 2012 at 11:05 PM, P=C3=A1draig Brady <P@draigbrady.com> w=
rote:
>>>
>>> On 12/05/2012 12:45 AM, Raphael S Carvalho wrote:
>>>>
>>>>
>>>> On Tue, Dec 4, 2012 at 10:22 PM, P=C3=A1draig Brady <P@draigbrady.com>=
 wrote:
>>>>>
>>>>>
>>>>> On 12/04/2012 05:04 PM, Pawe=C5=82 Lampe wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi there !
>>>>>>
>>>>>> Few minutes ago, my mate asked me 'is there any way to swap two
>>>>>> files ?'. I have realized, that the mv has option -S but it's all
>>>>>> about
>>>>>> suffix. I think, there should be also -s for swapping. It should wor=
k
>>>>>> like:
>>>>>> mv -s a b
>>>>>> Effect should be like:
>>>>>> a -> tmp
>>>>>> b -> a
>>>>>> tmp -> b
>>>>>>
>>>>>> Think about it
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> A fairly useful feature, but something as noted here
>>>>> that might be more suited to a separate script,
>>>>> that could be maintained within coreutils under the
>>>>> recently mentioned contrib/ directory
>>>>>
>>>>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>>>>>
>>>>> thanks,
>>>>> P=C3=A1draig.
>>>>>
>>>>
>>>> I read this page:
>>>> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00014.html
>>>> So I would really like to create that program. Is it still even needed=
?
>>>
>>>
>>>
>>> Cool, thanks!
>>>
>>> I would prototype a script in shell,
>>> with possibly some of the same considerations as in this "rewrite"
>>> script,
>>> http://lists.gnu.org/archive/html/bug-coreutils/2010-03/txtNTX6owUFov.t=
xt
>>>
>>> thanks,
>>> P=C3=A1draig.
>>
>>
>> I was thinking about writing such a program using C language, though
>> I'm not sure if it would be the best choice. I could search for the
>> best data exchange algorithm, so making the program fast and useful.
>> I'm not sure if they(maintainers) would accept a new program in the
>> core-utils. As I'm seeing, the program would provide a way to exchange
>> data between two files, besides changing filenames. Should another
>> one(feature) be implemented?
>> I also thought about using Python.
>
>
> The idea here is that swapping files would be just a thin
> wrapper around the mv or cp or ln utilities which
> already do the heavy lifting in C for copying data
> around (often using complicated techniques), or
> in fact just renaming as appropriate.
>
> thanks,
> P=C3=A1draig.

So what do you think? Which language should I use? I'm going to sleep
in few minutes, so I would get started tomorrow.

As Bernhard Voelker we could create a C program which would use those
tools (mv, cp, ln).

Anyway, thanks for answering.
Raphael S.Carvalho <raphael.scarv@gmail.com>


From MAILER-DAEMON Tue Dec 04 21:27:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg4iN-0006f3-BG
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 21:27:59 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52833)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg4iL-0006eK-4V
	for coreutils@gnu.org; Tue, 04 Dec 2012 21:27:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg4iK-0007Ou-2m
	for coreutils@gnu.org; Tue, 04 Dec 2012 21:27:57 -0500
Received: from mx1.redhat.com ([209.132.183.28]:12629)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tg4iJ-0007Oq-RO
	for coreutils@gnu.org; Tue, 04 Dec 2012 21:27:56 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB52RoWS005275
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 4 Dec 2012 21:27:51 -0500
Received: from [10.36.116.48] (ovpn-116-48.ams2.redhat.com [10.36.116.48])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB520ZLf013931
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 4 Dec 2012 21:00:37 -0500
Message-ID: <50BEAAC3.7080006@draigBrady.com>
Date: Wed, 05 Dec 2012 02:00:35 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: New feature in mv
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
	<50BE9DE2.5030403@draigBrady.com>
	<CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
	<50BEA4B1.5050200@draigBrady.com>
	<50BEA644.1050204@bernhard-voelker.de>
In-Reply-To: <50BEA644.1050204@bernhard-voelker.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB52RoWS005275
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Raphael S Carvalho <raphael.scarv@gmail.com>, coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 02:27:58 -0000

On 12/05/2012 01:41 AM, Bernhard Voelker wrote:
> On 12/05/2012 02:34 AM, P=C3=A1draig Brady wrote:
>> On 12/05/2012 01:25 AM, Raphael S Carvalho wrote:
>>> I was thinking about writing such a program using C language,
>>> [...]
>
>
>> The idea here is that swapping files would be just a thin
>> wrapper around the mv or cp or ln utilities which
>> already do the heavy lifting in C for copying data
>> around (often using complicated techniques), or
>> in fact just renaming as appropriate.
>
> Well, maybe a C program execing mv/cp/ln would be easier
> to maintain than a shell script regarding portability ...
> ;-)

Sure.

But shell would be a good prototype for this at least.
Also having scripts like this portable to the vast
majority of shells would be a good source of robust
shell examples that use coreutils to the fullest.
They would also ensure to some extent that we were
providing appropriate interfaces from the C utilities,
to be robustly and efficiently used by shell scripts.

cheers,
P=C3=A1draig.


From MAILER-DAEMON Tue Dec 04 21:46:19 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tg507-00039X-4f
	for mharc-coreutils@gnu.org; Tue, 04 Dec 2012 21:46:19 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56676)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg503-00039D-T2
	for coreutils@gnu.org; Tue, 04 Dec 2012 21:46:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg1PE-0007Zf-T3
	for coreutils@gnu.org; Tue, 04 Dec 2012 17:56:22 -0500
Received: from mail-gh0-f169.google.com ([209.85.160.169]:56315)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tg1PE-0007ZT-Fj
	for coreutils@gnu.org; Tue, 04 Dec 2012 17:56:00 -0500
Received: by mail-gh0-f169.google.com with SMTP id r11so738582ghr.0
	for <coreutils@gnu.org>; Tue, 04 Dec 2012 14:55:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type;
	bh=MhUumkDxk7mheSda+Hfs33qCOdokexiu1sZLD1LD+Xo=;
	b=fq+ReViRhTPQBJ2W5OlxyMrQMouHE9TRR2qKWITJ7mw35ndaC825g9NMM4kmLGh3zv
	lOtWj5+dMpg8FZKdpPm4PcwBZG3aEMNxfQMPLCfQbJIcOw/Q2Adr0dTitEeRFoLZ41Lz
	J0me3tREhyrbDSgAApOAGVZOSwTN7VacbeCxrDwnHnGxYOy+LrRQy4cGvIONiDa0xTFK
	O8pDggbzrpzXTEvWa34xD0R9S6jSOafXEWIJCXmWB8MZGdhmd4bKCfTyeQNB0ojmnkFt
	Ab6D9fvA3+61cB3EFspUGH6m+MNf7ETnTXGZ2MqZ4fAw3dmW0KxpDGtlHJtL+ci8DL8W
	QAmg==
Received: by 10.101.133.30 with SMTP id k30mr4845535ann.10.1354661759462;
	Tue, 04 Dec 2012 14:55:59 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id n40sm2298675ani.16.2012.12.04.14.55.58
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 04 Dec 2012 14:55:58 -0800 (PST)
Message-ID: <50BE7F7D.7010203@gmail.com>
Date: Tue, 04 Dec 2012 17:55:57 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com>
In-Reply-To: <50BE5F43.7030503@gmail.com>
Content-Type: multipart/mixed; boundary="------------060005030901010204060806"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.160.169
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 02:46:18 -0000

This is a multi-part message in MIME format.
--------------060005030901010204060806
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

> P=E1draig Brady wrote, On 12/04/2012 11:30 AM:
>> Nothing yet. The plan is to make a numfmt command available with this =
interface:
>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00085.html
>>

Attached is a patch, with a proof-of-concept working 'numfmt'.

Works: from=3DSI/IEC/AUTO, to=3DSI/IEC, from-units, to-units, suffix, rou=
nd.
Doesn't work: format, to=3D<NUMBER>,field=3DN .

The code isn't clean and can be improved.
Currently, either  every (non-option) command-line parameter is expected =
to be a number, or every line on stdin is expected to start with a number=
=2E
=20
Comments are welcomed,
 -gordon


Examples;
=3D=3D=3D=3D
$ ./src/numfmt --from=3Dauto 2K
2000
$ ./src/numfmt --from=3Dauto 2Ki
2048
$ ./src/numfmt --from=3DSI 2K   =20
2000
$ ./src/numfmt --from=3DSI 2Ki
2000
$ ./src/numfmt --from=3DIEC  2Ki
2048
$ ./src/numfmt --from=3DSI --to=3DIEC 2Ki
2.0K
$ ./src/numfmt --from=3DIEC --to=3DSI 2K=20
2.1k
$ ./src/numfmt --from=3DIEC 1M       =20
1048576
$ ./src/numfmt --from=3DIEC --to=3DSI 1M
1.1M
$ ./src/numfmt --from=3DIEC --to-unit=3D20 1M
52429
=2E/src/numfmt --from-unit=3D512 --to=3DIEC 4
2.0K
$ ./src/numfmt --round=3Dceiling --to=3DIEC 2000
2.0K
$ ./src/numfmt --round=3Dfloor --to=3DIEC 2000
1.9K
=3D=3D=3D=3D

Help screen
=3D=3D=3D
$ ./src/numfmt --help=20
Usage: ./src/numfmt [OPTIONS] [NUMBER]
Reformats NUMBER(s) to/from human-readable values.
Numbers can be processed either from stdin or command arguments.

  --from=3DUNIT     Auto-scale input numbers (auto, SI, IEC)
                  If not specified, input suffixed are ignored.
  --from-unit=3DN   Specifiy the input unit size (instead of the default =
1).
  --to=3DUNIT       Auto-scale output numbres (SI,IEC,<N>).
                  If not specified, XXXX
  --to-unit=3DN     Specifiy the output unit size (instead of the default=
 1).
  --rount=3DMETHOD  Round input numbers. METHOD can be:
                  ceiling (the default), floor, nearest
  -f, --format=3DFORMAT   use printf style output FORMAT.
                        Default output format is %d .
  --suffix=3DSUFFIX       XXXX
 =20
      --help     display this help and exit
      --version  output version information and exit

UNIT options:
 auto ('--from' only):
      1K  =3D 1000
      1Ki =3D 1024
      1G  =3D 1000000
      1Gi =3D 1048576
 SI:
      1K* =3D 1000
      (additional suffixes after K/G/T do not alter the scale)
 IEC:
      1K* =3D 1024
      (additional suffixes after K/G/T do not alter the scale)
 <N> ('--to' only):
      Use number N as the scale.


Examples:
  ./src/numfmt --to=3DSI 1000           -> "1K"
  echo 1K | ./src/numfmt --from=3DSI    -> "1000"
  echo 1K | ./src/numfmt --from=3DIEC   -> "1024"

Report numfmt bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report numfmt translation bugs to <http://translationproject.org/team/>
For complete documentation, run: info coreutils 'numfmt invocation'
=3D=3D=3D


--------------060005030901010204060806
Content-Type: text/x-diff;
 name="numfmt1.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="numfmt1.patch"

 build-aux/gen-lists-of-programs.sh |    1 +
 src/.gitignore                     |    1 +
 src/numfmt.c                       |  549 ++++++++++++++++++++++++++++++++++++
 3 files changed, 551 insertions(+), 0 deletions(-)

diff --git a/build-aux/gen-lists-of-programs.sh b/build-aux/gen-lists-of-programs.sh
index 212ce02..bf63ee3 100755
--- a/build-aux/gen-lists-of-programs.sh
+++ b/build-aux/gen-lists-of-programs.sh
@@ -85,6 +85,7 @@ normal_progs='
     nl
     nproc
     nohup
+    numfmt
     od
     paste
     pathchk
diff --git a/src/.gitignore b/src/.gitignore
index 18cccc1..25573df 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -59,6 +59,7 @@ nice
 nl
 nohup
 nproc
+numfmt
 od
 paste
 pathchk
diff --git a/src/numfmt.c b/src/numfmt.c
new file mode 100644
index 0000000..99b1450
--- /dev/null
+++ b/src/numfmt.c
@@ -0,0 +1,549 @@
+/* Reformat numbers like 11505426432 to the more human-readable 11G
+   Copyright (C) 2012 Free Software Foundation, Inc.
+
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#include <config.h>
+#include <getopt.h>
+#include <stdio.h>
+#include <sys/types.h>
+
+#include "argmatch.h"
+#include "error.h"
+#include "system.h"
+#include "xstrtol.h"
+#include "human.h"
+
+/* The official name of this program (e.g., no 'g' prefix).  */
+#define PROGRAM_NAME "numfmt"
+
+#define AUTHORS proper_name ("XXXX")
+
+#define BUFFER_SIZE (16 * 1024)
+
+enum
+{
+  FROM_OPTION = CHAR_MAX + 1,
+  FROM_UNIT_OPTION,
+  TO_OPTION,
+  TO_UNIT_OPTION,
+  ROUND_OPTION,
+  SUFFIX_OPTION
+};
+
+enum scale_type
+{
+scale_none, /* the default: no scaling */
+scale_auto, /* --from only */
+scale_SI,
+scale_IEC,
+scale_custom  /* --to only, custom scale */
+};
+
+static char const *const scale_from_args[] =
+{
+"auto", "SI", "IEC", NULL
+};
+static enum scale_type const scale_from_types[] =
+{
+scale_auto, scale_SI, scale_IEC
+};
+
+static char const *const scale_to_args[] =
+{
+"SI", "IEC", NULL
+};
+static enum scale_type const scale_to_types[] =
+{
+scale_SI, scale_IEC
+};
+
+
+enum round_type
+{
+round_ceiling,
+round_floor,
+round_nearest
+};
+
+static char const *const round_args[] =
+{
+"ceiling","floor","nearest", NULL
+};
+
+static enum round_type const round_types[] =
+{
+round_ceiling,round_floor,round_nearest
+};
+
+static struct option const longopts[] =
+{
+  {"from", required_argument, NULL, FROM_OPTION},
+  {"from-unit", required_argument, NULL, FROM_UNIT_OPTION},
+  {"to", required_argument, NULL, TO_OPTION},
+  {"to-unit", required_argument, NULL, TO_UNIT_OPTION},
+  {"round", required_argument, NULL, ROUND_OPTION},
+  {"format", required_argument, NULL, 'f'},
+  {"suffix", required_argument, NULL, SUFFIX_OPTION},
+  {GETOPT_HELP_OPTION_DECL},
+  {GETOPT_VERSION_OPTION_DECL},
+  {NULL, 0, NULL, 0}
+};
+
+
+enum scale_type scale_from=scale_none;
+enum scale_type scale_to=scale_none;
+enum round_type _round=round_ceiling;
+char const *format_str = NULL;
+const char *suffix = NULL;
+uintmax_t from_unit_size=1;
+uintmax_t to_unit_size=1;
+int human_print_options=0; /* see enum in 'human.c' */
+
+/*
+   Converts a string to a long-long-int, optionally handling suffixes.
+   Mostly copied from <gnulib>/lib/xstdtol.c, with modified functionality.
+ */
+
+/* xstrtoll.c and xstrtoull.c, which include this file, require that
+   ULLONG_MAX, LLONG_MAX, LLONG_MIN are defined, but <limits.h> does not
+   define them on all platforms.  */
+#ifndef ULLONG_MAX
+# define ULLONG_MAX TYPE_MAXIMUM (unsigned long long)
+#endif
+#ifndef LLONG_MAX
+# define LLONG_MAX TYPE_MAXIMUM (long long int)
+#endif
+#ifndef LLONG_MIN
+# define LLONG_MIN TYPE_MINIMUM (long long int)
+#endif
+
+//The following #defines are copied from "xstrtoll.c"
+#define STRTOL_T_MINIMUM LLONG_MIN
+#define STRTOL_T_MAXIMUM LLONG_MAX
+#undef __strtol_t
+#define __strtol_t long long int
+#define __strtol strtoll
+
+static strtol_error
+bkm_scale (__strtol_t *x, int scale_factor)
+{
+  if (TYPE_SIGNED (__strtol_t) && *x < STRTOL_T_MINIMUM / scale_factor)
+    {
+      *x = STRTOL_T_MINIMUM;
+      return LONGINT_OVERFLOW;
+    }
+  if (STRTOL_T_MAXIMUM / scale_factor < *x)
+    {
+      *x = STRTOL_T_MAXIMUM;
+      return LONGINT_OVERFLOW;
+    }
+  *x *= scale_factor;
+  return LONGINT_OK;
+}
+
+static strtol_error
+bkm_scale_by_power (__strtol_t *x, int base, int power)
+{
+  strtol_error err = LONGINT_OK;
+  while (power--)
+    err |= bkm_scale (x, base);
+  return err;
+}
+
+static strtol_error
+human_xstrtol (const char *s, char **ptr,
+           __strtol_t *val, enum scale_type scaling)
+{
+  char *t_ptr;
+  char **p;
+  __strtol_t tmp;
+  strtol_error err = LONGINT_OK;
+  int base=1000;
+  int overflow=0;
+
+  const int strtol_base = 10 ; //TODO: allow user-changable base?
+
+
+  p = (ptr ? ptr : &t_ptr);
+
+  /* TODO: support negative numbers? */
+#if 0
+  if (! TYPE_SIGNED (__strtol_t))
+    {
+      const char *q = s;
+      unsigned char ch = *q;
+      while (isspace (ch))
+        ch = *++q;
+      if (ch == '-')
+        return LONGINT_INVALID;
+    }
+#endif
+
+  errno = 0;
+  tmp = __strtol (s, p, strtol_base);
+
+  if (*p == s)
+    {
+      /* No digits found */
+        return LONGINT_INVALID;
+    }
+  else if (errno != 0)
+    {
+      if (errno != ERANGE)
+        return LONGINT_INVALID;
+      err = LONGINT_OVERFLOW;
+    }
+
+  if (**p == '\0')
+    {
+      /* no suffixes after the number */
+      *val = tmp;
+      return err;
+    }
+
+  switch(scaling)
+    {
+    case scale_none:
+      /* Ignore any suffixes */
+      *val = tmp;
+      return err;
+
+    case scale_SI:
+      base = 1000 ;
+      break;
+
+    case scale_IEC:
+      base = 1024;
+      break;
+
+    case scale_auto:
+      base = (p[0][1]=='i') ? 1024 : 1000 ;
+      break;
+
+    case scale_custom:
+      /* should never happen. assert? */
+      error(EXIT_FAILURE,0,_("Internal error, scaling==scale_custom"));
+    }
+
+  switch (**p)
+    {
+    case 'K': /* kilo/kibi */
+      overflow = bkm_scale_by_power (&tmp, base, 1);
+      break;
+
+    case 'M': /* mega or mebi */
+      overflow = bkm_scale_by_power (&tmp, base, 2);
+      break;
+
+    case 'G': /* giga or gibi */
+      overflow = bkm_scale_by_power (&tmp, base, 3);
+      break;
+
+    case 'T': /* tera or tebi */
+      overflow = bkm_scale_by_power (&tmp, base, 4);
+      break;
+
+    case 'P': /* peta or pebi */
+      overflow = bkm_scale_by_power (&tmp, base, 5);
+      break;
+
+    case 'E': /* exa or exbi */
+      overflow = bkm_scale_by_power (&tmp, base, 6);
+      break;
+
+    case 'Z': /* zetta or 2**70 */
+      overflow = bkm_scale_by_power (&tmp, base, 7);
+      break;
+
+    case 'Y': /* yotta or 2**80 */
+      overflow = bkm_scale_by_power (&tmp, base, 8);
+      break;
+
+    default:
+      *val = tmp;
+      return err | LONGINT_INVALID_SUFFIX_CHAR;
+    }
+
+  err |= overflow;
+
+  /* TODO: check for surplus suffix characters, and skip them? */
+#if 0
+  *p += suffixes;
+  if (**p)
+    err |= LONGINT_INVALID_SUFFIX_CHAR;
+#endif
+
+  *val = tmp;
+  return err;
+}
+
+static void
+human_xstrtol_fatal (enum strtol_error err,
+                     char const *input_str)
+{
+  char const *msgid;
+
+  switch (err)
+    {
+    default:
+      abort ();
+
+    case LONGINT_INVALID:
+      msgid = N_("invalid input number '%s'");
+      break;
+
+    case LONGINT_INVALID_SUFFIX_CHAR:
+    case LONGINT_INVALID_SUFFIX_CHAR_WITH_OVERFLOW:
+      msgid = N_("invalid suffix in input number '%s'");
+      break;
+
+    case LONGINT_OVERFLOW:
+      msgid = N_("input value too large '%s'");
+      break;
+    }
+  error(EXIT_FAILURE,0,gettext(msgid), input_str);
+}
+
+/* Convert a string of decimal digits, N_STRING, with an optional suffinx
+   to an integral value.  Upon successful conversion,
+   return that value.  If it cannot be converted, give a diagnostic and exit.
+*/
+static uintmax_t
+string_to_integer (const char *n_string)
+{
+  strtol_error s_err;
+  uintmax_t n;
+
+  s_err = xstrtoumax (n_string, NULL, 10, &n, "bkKmMGTPEZY0");
+
+  if (s_err == LONGINT_OVERFLOW)
+    {
+      error (EXIT_FAILURE, 0,
+             _("%s: unit size is so large that it is not representable"),
+                n_string);
+    }
+
+  if (s_err != LONGINT_OK)
+    {
+      error (EXIT_FAILURE, 0, _("%s: invalid unit size"), n_string);
+    }
+  return n;
+}
+
+
+
+void
+usage (int status)
+{
+  if (status != EXIT_SUCCESS)
+    emit_try_help ();
+  else
+    {
+      printf (_("\
+Usage: %s [OPTIONS] [NUMBER]\n\
+"),
+          program_name);
+      fputs (_("\
+Reformats NUMBER(s) to/from human-readable values.\n\
+Numbers can be processed either from stdin or command arguments.\n\
+\n\
+"), stdout);
+      fputs (_("\
+  --from=UNIT     Auto-scale input numbers (auto, SI, IEC)\n\
+                  If not specified, input suffixed are ignored.\n\
+  --from-unit=N   Specifiy the input unit size (instead of the default 1).\n\
+  --to=UNIT       Auto-scale output numbres (SI,IEC,<N>).\n\
+                  If not specified, XXXX\n\
+  --to-unit=N     Specifiy the output unit size (instead of the default 1).\n\
+  --rount=METHOD  Round input numbers. METHOD can be:\n\
+                  ceiling (the default), floor, nearest\n\
+  -f, --format=FORMAT   use printf style output FORMAT.\n\
+                        Default output format is %d .\n\
+  --suffix=SUFFIX       XXXX\n\
+  \n\
+"), stdout);
+      fputs (HELP_OPTION_DESCRIPTION, stdout);
+      fputs (VERSION_OPTION_DESCRIPTION, stdout);
+
+      fputs (_("\
+\n\
+UNIT options:\n\
+ auto ('--from' only):\n\
+      1K  = 1000\n\
+      1Ki = 1024\n\
+      1G  = 1000000\n\
+      1Gi = 1048576\n\
+ SI:\n\
+      1K* = 1000\n\
+      (additional suffixes after K/G/T do not alter the scale)\n\
+ IEC:\n\
+      1K* = 1024\n\
+      (additional suffixes after K/G/T do not alter the scale)\n\
+ <N> ('--to' only):\n\
+      Use number N as the scale.\n\
+\n\
+"), stdout);
+
+      printf (_("\
+\n\
+Examples:\n\
+  %s --to=SI 1000           -> \"1K\"\n\
+  echo 1K | %s --from=SI    -> \"1000\"\n\
+  echo 1K | %s --from=IEC   -> \"1024\"\n\
+"),
+              program_name, program_name, program_name);
+      emit_ancillary_info ();
+    }
+  exit (status);
+}
+
+static void format_number(const char* str)
+{
+  char *ptr;
+  __strtol_t val=0;
+  strtol_error err = human_xstrtol(str,&ptr,&val,scale_from);
+  if (err != LONGINT_OK)
+    human_xstrtol_fatal (err, str);
+#if 0
+  printf("Parsing input = '%s' => %lld\n", str,val);
+#endif
+
+  char buf[LONGEST_HUMAN_READABLE + 1];
+  fputs(human_readable(val, buf, human_print_options,
+                        from_unit_size,to_unit_size),stdout);
+  if (suffix)
+          fputs(suffix,stdout);
+  fputs("\n",stdout);
+}
+
+int
+main (int argc, char **argv)
+{
+  initialize_main (&argc, &argv);
+  set_program_name (argv[0]);
+  setlocale (LC_ALL, "");
+  bindtextdomain (PACKAGE, LOCALEDIR);
+  textdomain (PACKAGE);
+
+  atexit (close_stdout);
+
+  while (true)
+    {
+      int c = getopt_long (argc, argv, "f:", longopts, NULL);
+
+      if (c == -1)
+        break;
+
+      switch (c)
+        {
+        case FROM_OPTION:
+          scale_from = XARGMATCH ("--from", optarg, scale_from_args, scale_from_types);
+          break;
+
+        case FROM_UNIT_OPTION:
+          from_unit_size = string_to_integer(optarg);
+          break;
+
+        case TO_OPTION:
+          //TODO: add custom handling for numeric/custom scale values
+          scale_to = XARGMATCH ("--to", optarg, scale_to_args, scale_to_types);
+          break;
+
+        case TO_UNIT_OPTION:
+          to_unit_size = string_to_integer(optarg);
+          break;
+
+        case ROUND_OPTION:
+          _round = XARGMATCH ("--round", optarg, round_args, round_types);
+          break;
+
+        case 'f':
+          format_str = optarg;
+          break;
+
+        case SUFFIX_OPTION:
+          suffix = optarg;
+          break;
+
+        case_GETOPT_HELP_CHAR;
+        case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
+
+        default:
+          usage (EXIT_FAILURE);
+        }
+    }
+
+  switch(_round)
+    {
+    case round_ceiling:
+      human_print_options |= human_ceiling;
+      break;
+    case round_floor:
+      human_print_options |= human_floor;
+      break;
+    case round_nearest:
+      human_print_options |= human_round_to_nearest;
+      break;
+    }
+
+  switch(scale_to)
+    {
+    case scale_SI:
+      human_print_options |= human_autoscale | human_SI;
+      break;
+    case scale_IEC:
+      human_print_options |= human_autoscale | human_base_1024 | human_SI ;
+      break;
+    case scale_custom:
+      /* TODO ?*/
+      break;
+    case scale_none:
+    case scale_auto:
+      /* should never happen. assert? */
+      break;
+    }
+
+#if 0
+  printf("scale_from = %d\n", scale_from);
+  printf("scale_to = %d\n", scale_to);
+  printf("from_unit_size = %zu\n", from_unit_size);
+  printf("to_unit_size = %zu\n", to_unit_size);
+  printf("round = %d\n", _round);
+  printf("format = '%s'\n", format_str);
+  printf("suffix = '%s'\n", suffix);
+#endif
+
+  if (argc > optind)
+    {
+    for (; optind < argc; optind++)
+      format_number(argv[optind]);
+    }
+  else
+    {
+      char buf[BUFFER_SIZE + 1];
+
+      //TODO: allow multiple values on each line?
+      //TODO: support '--field=NUM' feature
+      while ( fgets(buf,BUFFER_SIZE,stdin) != NULL )
+        format_number(buf);
+
+      if (ferror(stdin))
+        {
+          error(0,errno,_("error reading input"));
+        }
+    }
+
+  exit (EXIT_SUCCESS);
+}

--------------060005030901010204060806--


From MAILER-DAEMON Wed Dec 05 03:37:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgATt-0002Ve-6P
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 03:37:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48234)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ooprala@redhat.com>) id 1TgATq-0002SY-9j
	for coreutils@gnu.org; Wed, 05 Dec 2012 03:37:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ooprala@redhat.com>) id 1TgATp-0001vZ-CE
	for coreutils@gnu.org; Wed, 05 Dec 2012 03:37:22 -0500
Received: from mx1.redhat.com ([209.132.183.28]:57468)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ooprala@redhat.com>) id 1TgATp-0001vS-4A
	for coreutils@gnu.org; Wed, 05 Dec 2012 03:37:21 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB58bGCT025222
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 5 Dec 2012 03:37:16 -0500
Received: from [10.34.4.104] (unused-4-104.brq.redhat.com [10.34.4.104])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB58bEZq032495
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Wed, 5 Dec 2012 03:37:15 -0500
Message-ID: <50BF07BA.1000808@redhat.com>
Date: Wed, 05 Dec 2012 09:37:14 +0100
From: Ondrej Oprala <ooprala@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
	<50BCEABD.3010004@redhat.com>
	<50BDB07D.8090500@bernhard-voelker.de>
	<87zk1ty92o.fsf@rho.meyering.net>
	<50BEA356.7020306@bernhard-voelker.de>
In-Reply-To: <50BEA356.7020306@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 08:37:23 -0000

On 12/04/2012 07:18 PM, Jim Meyering wrote:
> Thanks to both of you for keeping this thread moving.
Thank you.

On 12/05/2012 02:28 AM, Bernhard Voelker wrote:
> Ondrej (and others): WDYT?
Looks good to me :) .

Thanks,
Ondrej


From MAILER-DAEMON Wed Dec 05 14:34:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgKjy-00025k-9o
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 14:34:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55491)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dwalsh@redhat.com>) id 1TgKjs-00022g-Tw
	for coreutils@gnu.org; Wed, 05 Dec 2012 14:34:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dwalsh@redhat.com>) id 1TgKjl-0002In-Hd
	for coreutils@gnu.org; Wed, 05 Dec 2012 14:34:36 -0500
Received: from mx1.redhat.com ([209.132.183.28]:44009)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dwalsh@redhat.com>) id 1TgKjl-0002IX-9k
	for coreutils@gnu.org; Wed, 05 Dec 2012 14:34:29 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB5JYQa5026148
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 5 Dec 2012 14:34:27 -0500
Received: from [10.16.60.53] (redsox.boston.devel.redhat.com [10.16.60.53])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qB5JYPm5025497; Wed, 5 Dec 2012 14:34:26 -0500
Message-ID: <50BFA1BF.4040003@redhat.com>
Date: Wed, 05 Dec 2012 14:34:23 -0500
From: Daniel J Walsh <dwalsh@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Make mv work better with SELinux.
References: <50733664.5000503@redhat.com> <50BE18FD.7090507@draigBrady.com>
In-Reply-To: <50BE18FD.7090507@draigBrady.com>
X-Enigmail-Version: 1.4.6
Content-Type: text/plain; charset=ISO-8859-1
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB5JYQa5026148
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 19:34:40 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2012 10:38 AM, P=E1draig Brady wrote:
> On 10/08/2012 09:24 PM, Daniel J Walsh wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>=20
>> One of if not the most common problem people hit with SELinux is the m=
v=20
>> command, which maintains the file context of the source destination.
>>=20
>> mv /home/dwalsh/index.html /var/www/html/
>>=20
>> This blows up on everybody and then the users have no idea why.
>>=20
>> I was thinking about adding -Z (--restorecon) to mv and having it
>> basically do a internal restorecon on the destination.
>>=20
>> Then we could suggest people who get burnt by this to:
>>=20
>> alias mv=3D"mv -Z"
>>=20
>> In Fedora 18 we have greatly enhanced matchpathcon, by pre-compiling t=
he=20
>> regex, so there should be very little slow down in doing this.
>=20
> A question on performance. So there was a large matchpathcon() performa=
nce
> issue in Fedora 11 time, where we had a 20x slow down if
> matchpathcon_init_prefix() wasn't called=20
> https://bugzilla.redhat.com/show_bug.cgi?id=3D479502#c24
>=20
That should be fixed:

In Fedora 18 we have greatly enhanced matchpathcon, by pre-compiling the
regex, so there should be very little slow down in doing this.

We have seen a 40x speed up using the new version of matchpathcon.

> Does calling matchpathcon_init_prefix() still provide benefit on Fedora
> 18? More importantly, since the new selinux::restorecon_private() doesn=
't=20
> call matchpathcon_init_prefix(), will it have the large performance iss=
ues
> on Fedora <=3D 17 and other SELinux supporting platforms?
>=20
Yes, if you have a tight loop of mv -Z X Y, then you would take a hit on =
each
invocation.  Since this is optional, I do not see this as a problem.  The
install version was not optional, so a "make install" was exhibiting a hu=
ge
overhead.  Basically almost .33/sec slow down.  As of Fedora 18, there sh=
ould
be very limited overhead so this should not be a problem.

matchpathcon_init_prefix theoretically would still give you a speed up, b=
ut I
don't believe it is measurable with the new libraries.

> Not a huge issue since install(1) enables setdefaultfilecon() by defaul=
t,=20
> whereas the new proposal would only enable when -Z is specified.
Yes I missed this, I though install had disabled this functionality altog=
ether.
> That's an inconsistency in the patch in this thread actually. install -=
Z
> runs the new restorecon(), while also running the old setdefaultfilecon=
().
> Seems like we may need to drop the new install -Z code for now, and
> possible in future merge restorecon() and setdefaultfilecon()
Yes I agree.  This was my mistake
>=20
> cheers, P=E1draig.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC/ob8ACgkQrlYvE4MpobNZRQCfa0hlo19AOY8IGnRARqpQfHZO
gbcAnRX9S8YD+TPdXpKZK/kVct5HqUIm
=3DHU0c
-----END PGP SIGNATURE-----


From MAILER-DAEMON Wed Dec 05 14:44:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgKt9-0006nj-FQ
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 14:44:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58284)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dwalsh@redhat.com>) id 1TgKt5-0006mQ-UG
	for coreutils@gnu.org; Wed, 05 Dec 2012 14:44:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dwalsh@redhat.com>) id 1TgKt3-0005Ej-6V
	for coreutils@gnu.org; Wed, 05 Dec 2012 14:44:07 -0500
Received: from mx1.redhat.com ([209.132.183.28]:30186)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dwalsh@redhat.com>) id 1TgKt2-0005Ed-V8
	for coreutils@gnu.org; Wed, 05 Dec 2012 14:44:05 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB5Ji3cq006167
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 5 Dec 2012 14:44:03 -0500
Received: from [10.16.60.53] (redsox.boston.devel.redhat.com [10.16.60.53])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB5Ji2TW004070; Wed, 5 Dec 2012 14:44:02 -0500
Message-ID: <50BFA400.8060506@redhat.com>
Date: Wed, 05 Dec 2012 14:44:00 -0500
From: Daniel J Walsh <dwalsh@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Make mv work better with SELinux.
References: <50733664.5000503@redhat.com> <50BE18FD.7090507@draigBrady.com>
	<50BE1D19.2060907@draigBrady.com>
In-Reply-To: <50BE1D19.2060907@draigBrady.com>
X-Enigmail-Version: 1.4.6
Content-Type: text/plain; charset=ISO-8859-1
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB5Ji3cq006167
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 19:44:11 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/04/2012 10:56 AM, P=E1draig Brady wrote:
> On 12/04/2012 03:38 PM, P=E1draig Brady wrote:
>> On 10/08/2012 09:24 PM, Daniel J Walsh wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>=20
>>> One of if not the most common problem people hit with SELinux is the
>>> mv command, which maintains the file context of the source
>>> destination.
>>>=20
>>> mv /home/dwalsh/index.html /var/www/html/
>>>=20
>>> This blows up on everybody and then the users have no idea why.
>>>=20
>>> I was thinking about adding -Z (--restorecon) to mv and having it
>>> basically do a internal restorecon on the destination.
>>>=20
>>> Then we could suggest people who get burnt by this to:
>>>=20
>>> alias mv=3D"mv -Z"
>>>=20
>>> In Fedora 18 we have greatly enhanced matchpathcon, by pre-compiling
>>> the regex, so there should be very little slow down in doing this.
>>=20
>> A question on performance. So there was a large matchpathcon()
>> performance issue in Fedora 11 time, where we had a 20x slow down if
>> matchpathcon_init_prefix() wasn't called=20
>> https://bugzilla.redhat.com/show_bug.cgi?id=3D479502#c24
>>=20
>> Does calling matchpathcon_init_prefix() still provide benefit on Fedor=
a
>> 18? More importantly, since the new selinux::restorecon_private()
>> doesn't call matchpathcon_init_prefix(), will it have the large
>> performance issues on Fedora <=3D 17 and other SELinux supporting
>> platforms?
>>=20
>> Not a huge issue since install(1) enables setdefaultfilecon() by
>> default, whereas the new proposal would only enable when -Z is
>> specified. That's an inconsistency in the patch in this thread actuall=
y.=20
>> install -Z runs the new restorecon(), while also running the old=20
>> setdefaultfilecon(). Seems like we may need to drop the new install -Z=
=20
>> code for now, and possible in future merge restorecon() and
>> setdefaultfilecon()
>=20
> Also could you comment on the different schemes used by restorecon() an=
d
> setdefaultfilecon(). The old setdefaultfilecon() sets the context of th=
e
> dest files to that returned by matchpathcon directly, whereas the new=20
> restorecon() only uses the "type" portion of the context from
> matchpathcon() and inserts that into the exisiting context for the dest
> file.
>=20
> thanks, P=E1draig.

restorecon says set the file to the system default, and does not take int=
o
account the level of the currently running process.

Lets imaging you have a process running as staff_u:sysadm_r:sysadm_t:s0:c=
1,c2
 on an MLS box.

cp ~dwalsh/resolv.conf /etc

The file would be created as staff_u:object_r:etc_t:s0:c1,c2

If we went with the traditional restorecon command,

cp -Z ~dwalsh/resolv.conf /etc

The file would be created as

system_u:object_r:resolv_conf_t:s0

With the new method it will be created as:

staff_u:object_r:resolv_conf_t:s0:c1,c2

Which means it would honor the intent of MLS to preserve the MLS level of=
 the
data and preserve the user identity of the data.

Which seems to be more correct.


restorecon /etc/resolv.conf

In F18 also does not change the MLS level or SELinux User by default,  It=
 only
changes the type field.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC/pAAACgkQrlYvE4MpobPuJwCgrOF4kv+KdXDknZXXlnGqDOkU
6d4AoLRi5SNQSrfsFflIy4PAJMxwpWs3
=3DodVY
-----END PGP SIGNATURE-----


From MAILER-DAEMON Wed Dec 05 16:02:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgM7D-0005L6-OF
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 16:02:47 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58958)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TgM7A-0005Iy-Hr
	for coreutils@gnu.org; Wed, 05 Dec 2012 16:02:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TgM79-0006uD-Gh
	for coreutils@gnu.org; Wed, 05 Dec 2012 16:02:44 -0500
Received: from joseki.proulx.com ([216.17.153.58]:46150)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TgM79-0006tu-Ai
	for coreutils@gnu.org; Wed, 05 Dec 2012 16:02:43 -0500
Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119])
	by joseki.proulx.com (Postfix) with ESMTP id A8768211D6
	for <coreutils@gnu.org>; Wed,  5 Dec 2012 14:02:41 -0700 (MST)
Received: by hysteria.proulx.com (Postfix, from userid 1000)
	id 6C95D2DCD4; Wed,  5 Dec 2012 14:02:41 -0700 (MST)
Date: Wed, 5 Dec 2012 14:02:41 -0700
From: Bob Proulx <bob@proulx.com>
To: coreutils@gnu.org
Subject: Re: New feature in mv
Message-ID: <20121205210240.GA21002@hysteria.proulx.com>
Mail-Followup-To: coreutils@gnu.org
References: <1354640642.4272.7.camel@scony.netbook>
	<50BE93A9.8050003@draigBrady.com>
	<CACz=WeddCz_473WDpheJh4-VCBCgXkFOKauLAeQs5Db=miJcBA@mail.gmail.com>
	<CACz=Wee9KaQ5jKER8aCcc7eQfyPhKik8Eo2+9n_-_UYcCxA_PA@mail.gmail.com>
	<50BE9DE2.5030403@draigBrady.com>
	<CACz=WefEYYNFckpC9mrMkKNeAUMahVLLKkUTqg=NC5iTLaDpZA@mail.gmail.com>
	<50BEA4B1.5050200@draigBrady.com>
	<CACz=Wee_GRj3KTeygGAd-zAR2PH091vywJ0tedSRNiUTNQUBJw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACz=Wee_GRj3KTeygGAd-zAR2PH091vywJ0tedSRNiUTNQUBJw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 216.17.153.58
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 21:02:46 -0000

Raphael S Carvalho wrote:
> So what do you think? Which language should I use? I'm going to sleep
> in few minutes, so I would get started tomorrow.
> 
> As Bernhard Voelker we could create a C program which would use those
> tools (mv, cp, ln).

It would be hard to object to a C program.  But this is such a simple
task that I think anything other than a shell script would be
tremendous overkill.

Bob


From MAILER-DAEMON Wed Dec 05 18:13:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgO9Z-0001rn-Ra
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 18:13:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57536)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgO9X-0001qT-2q
	for coreutils@gnu.org; Wed, 05 Dec 2012 18:13:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgO9V-00085q-TB
	for coreutils@gnu.org; Wed, 05 Dec 2012 18:13:19 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:41831)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgO9V-00085l-Nm
	for coreutils@gnu.org; Wed, 05 Dec 2012 18:13:17 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so5966239vcb.0
	for <coreutils@gnu.org>; Wed, 05 Dec 2012 15:13:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type;
	bh=0anzsrXis0PeDWMme5HGzYaMZCmZ36Ula5wb5QpwXQQ=;
	b=ACYv0Mjbya6tlzsE6oLgqC+/Vm2FmQN76H2l+bHpV0Eus8pi33QqHsnFpemMbJS/T9
	Pu5tyBLFht0nocbjYo6oK+HNNwQNST8+YMXS9cjYahagb6hMh3eOJ7itG4Z1EMZw2J3q
	dwlo24s0Mr29gz8WNbfsPmOCUkqFz6kUZokPNkSfVbsMtZQW7rtiWVEntg53e24P8/wP
	6+PLAkx5CRPy832xUYUt6k7eGhQana/4lGX1+qjssRAqj7TSsltO6tmI8tDyZC9VGVvW
	2Mit6I6CXMIbHmvbCbspYjplP3Cp/JfRNQFD7uHkn3c8ykYnR8arS+mB06g/07bBILav
	egLw==
Received: by 10.52.93.146 with SMTP id cu18mr14624916vdb.37.1354749196039;
	Wed, 05 Dec 2012 15:13:16 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id r10sm2483183vdh.1.2012.12.05.15.13.13
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 05 Dec 2012 15:13:14 -0800 (PST)
Message-ID: <50BFD508.3010104@gmail.com>
Date: Wed, 05 Dec 2012 18:13:12 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com>
In-Reply-To: <50BEA26A.60905@draigBrady.com>
Content-Type: multipart/mixed; boundary="------------060108080605040002020804"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Dec 2012 23:13:20 -0000

This is a multi-part message in MIME format.
--------------060108080605040002020804
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

Attached is a working version of numfmt.

The following are implemented:
===
Usage: ./src/numfmt [OPTIONS] [NUMBER]
Reformats NUMBER(s) to/from human-readable values.
Numbers can be processed either from stdin or command arguments.

  --from=UNIT     Auto-scale input numbers to UNITs. Default is 'none'.
                  See UNIT below.
  --from-unit=N   Specify the input unit size (instead of the default 1).
  --to=UNIT       Auto-scale output numbers to UNITs.
                  See UNIT below.
  --to-unit=N     Specify the output unit size (instead of the default 1).
  --round=METHOD  Round input numbers. METHOD can be:
                  ceiling (the default), floor, nearest
  --suffix=SUFFIX Add SUFFIX to output numbers, and accept optional SUFFIX
                  in input numbers.
  --padding=N     Pad the output to N characters.
                  Default is right-aligned. Negative N will left-align.
                  Note: if N is too small, the output will be truncated,
                  and a warning will be printed to stderr.
  --grouping      Group digits together (e.g. 1,000,000).
                  Uses the locale-defined grouping (i.e. have no effect
                  in C/POSIX locales).
  --field N       Replace the number in input field N (default is 1)
  -d, --delimiter=X  use X instead of whitespace for field delimiter
===

Also included in the patch is a test file, testing all sorts of combination of the parameters (hopefully catches most of the corner cases).

There's also an undocumented option "--debug" that will show what's going on:
===
$ /src/numfmt --debug --field 2 --suffix=Foo --from=SI --to=IEC "Hello 70MFoo World"
Extracting Fields:
  input: 'Hello 70MFoo World'
  field: 2
  prefix: 'Hello'
  number: '70MFoo'
  suffix: 'World'
Trimming suffix 'Foo'
Parsing number:
  input string: '70M'
  remaining characters: ''
  numeric value: 70000000
Formatting output:
  value: 70000000
  humanized: '67M'
Hello 67MFoo World
===

Comments are welcomed,
 -gordon


--------------060108080605040002020804
Content-Type: application/x-gzip;
 name="numfmt3.patch.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt3.patch.gz"

H4sIAIzUv1AAA6Q7a3PayLLf/SsmnDrmYYHBeV5n2V1iY4eKjV2AzyYnSamENIDKIHElEdtn
N//99mNGGglhe89la2M06u7pnun3DGK68Zde09ncH85l0Fz6cRI3w1lzHYXzyFnFrXgh/hLw
6YiDPRFH7mFr7if+PAgjKco+eeBgs5qtkpZbCkrAb9+9EQfP+OyJRAJvh8vQdZat1e0TkzPw
yo9THtbLbeCjl0ciN8drMfOXMhbuwgnm0rNEp33UEX4QyyjxwyCuHdQt0RaeXEp+btb39jx/
NhPNJqyLcA6fsZ7TZwDt+YEn78VR58iV7aNWazp781LKl8BP++3r13vNZvNZc+2BVM+b7/ff
RfPdaws2A/59K+ARtnjlLG0EirvVPVqzYKn+wqirvoaLzXrvgL7SSvNw6PHftRMnUn9NFu7i
Nr9eBZWaFgbUOnTeufDptFpHr1+/fenNcB3evHql1qGAwjIXBlG+1/+D8sG/LJ/vAmMoEYug
hDrQUqAEivudnKf6Pc097gXyjjRJrEJPamZZlDZ/Wq23716+mb2bkgyHnvwB2MulwXxKDFlv
W21x0LHQWn7/fe/gsCFGcoYblOCqT2UUi6V/C1N1Xrdfvzp68wo0OwlFskAWYF0Xm5UTNCPp
eM50iWDntGUn4foh8ueLRNRO6uKo3TkSZ5GUYhzOkjsH8M7CTeA5qOuWGARua++A8CYLPxZK
fQR8nSFSrJCOxUO4Ea4TiEh6oGuRP90kUuCiBd5hGOGi+LMHIgSDMIGMiNNERqtYhDN6OB/e
iHMZyMhZiuvNdOm74gJ2DExRODA3jsQ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whgp2NHgJ1DS6JZNji1oyuQvY
luoEog+mGVQQ/hyLooB8ywDxjl+f8uNBPBWeOi4tVvfnY0SzXyUnjulqLvEteQI1qUE1GTBS
sEA5YrdjZpVhqM+JNxiUOceAdZapXPd8qsJxIRr55uCn/B0xF4z5ZyaJCe6ymI+0MpV04mNj
4DLp2MFRwafaXCuF7OI74DlnV5BrySCSN6t4Gcui4KqgKiYSqqqqorDOEhtNdQ01Tp8/AACI
H5nOPvLTxTKewRg1OOlGXvUA4ldEuMupiBuGVE3osLNmTRExgitDBifyE1d61QAdzef81In+
GQ0Nl1yyiliyELmlDcyFTK/+ilepCDwU5d/kClHEgIuY09tZ+/L0+UyG1/GfrPH86OR5A3Lu
MX884493H6HhegMP879M2xY0dAVW66kZ46yDMu+GBy67Q1S/YJ1DBpmFBm3JABDNpp/js3V8
uYSKRDsQ1nNy9H5ydjqJ3pzcyBCjz/HqPMUC7tjg/eTd49cnkxsV2rOzmCZQYWN1fSUjJ5s7
tGYf/tlmv4shbZtU2xoeZh0OEuI9+Nv/AANS0ogwegAA
--------------060108080605040002020804--


From MAILER-DAEMON Wed Dec 05 19:36:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgPSP-0007je-MB
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 19:36:53 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42539)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgPSM-0007jL-Ph
	for coreutils@gnu.org; Wed, 05 Dec 2012 19:36:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgPSL-00027e-Sc
	for coreutils@gnu.org; Wed, 05 Dec 2012 19:36:50 -0500
Received: from mail-vb0-f52.google.com ([209.85.212.52]:42324)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgPSL-00027Y-PE
	for coreutils@gnu.org; Wed, 05 Dec 2012 19:36:49 -0500
Received: by mail-vb0-f52.google.com with SMTP id ez10so2568753vbb.39
	for <coreutils@gnu.org>; Wed, 05 Dec 2012 16:36:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject:references
	:in-reply-to:content-type:content-transfer-encoding;
	bh=m5hbSHcjs0pTWvmADyVoPjMon+al/7Bw0Jsrbp/1DKU=;
	b=frs72yYKAOIMh+fOBexO5lYE917ioMy1e6TZPZLP0e5F6FVMhVKYINtXiEIzrQWqvY
	sLh3AqhaNgbhe/vhnWh70HvUwFty0tHtJuiuYLjCEBZ2pwApwAIx5dtgdQz9jvw2B5iS
	7PMQ93Y6U/q7C5mxTarVbmREvGPHA4Q+c9SNqBWycoASTIQhorb//uqJdCp6FJVTDbq5
	NfUBKL/NrjvDymazSIBFszf3cq6FBBd20H9xkviaH+ZoKZQoJ1FnR9G+maG9zxZDSrDG
	4Q20Uk6InP9sLBymjznY/ixMCmLXe1q1GP1ITEcvjqjk37GH39Rz1bkqVnDGmhYvbAOr
	Kr+Q==
Received: by 10.220.108.79 with SMTP id e15mr16531519vcp.61.1354754209024;
	Wed, 05 Dec 2012 16:36:49 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id jx16sm2298689veb.5.2012.12.05.16.36.47
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 05 Dec 2012 16:36:48 -0800 (PST)
Message-ID: <50BFE89F.3050608@gmail.com>
Date: Wed, 05 Dec 2012 19:36:47 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
In-Reply-To: <50BFD508.3010104@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 00:36:53 -0000

Assaf Gordon wrote, On 12/05/2012 06:13 PM:
> Attached is a working version of numfmt.

Somewhat related:
How do I add a rule to build the man page (I'm working on passing 'make syntax-check').

I've added the following line to 'man/local.mk':
    man/numfmt.1:    src/numfmt 

But it doesn't get build (after bootstrap+configure+make).

Thanks,
 -gordon





From MAILER-DAEMON Wed Dec 05 19:58:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgPnB-0002m9-2Z
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 19:58:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44705)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TgPn8-0002ki-8x
	for coreutils@gnu.org; Wed, 05 Dec 2012 19:58:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TgPn7-0007HZ-C0
	for coreutils@gnu.org; Wed, 05 Dec 2012 19:58:18 -0500
Received: from mx.meyering.net ([88.168.87.75]:40267)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TgPn7-0007HR-4r
	for coreutils@gnu.org; Wed, 05 Dec 2012 19:58:17 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id A53146011B;
	Thu,  6 Dec 2012 01:58:15 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
In-Reply-To: <50BFE89F.3050608@gmail.com> (Assaf Gordon's message of "Wed, 05
	Dec 2012 19:36:47 -0500")
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50BFE89F.3050608@gmail.com>
Date: Thu, 06 Dec 2012 01:58:15 +0100
Message-ID: <87hao0vvx4.fsf@rho.meyering.net>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 00:58:19 -0000

Assaf Gordon wrote:
> Assaf Gordon wrote, On 12/05/2012 06:13 PM:
>> Attached is a working version of numfmt.
>
> Somewhat related:
> How do I add a rule to build the man page (I'm working on passing 'make syntax-check').
>
> I've added the following line to 'man/local.mk':
>     man/numfmt.1:    src/numfmt
>
> But it doesn't get build (after bootstrap+configure+make).

You'll have to add "numfmt" to the list of programs in
build-aux/gen-lists-of-programs.sh

Then, be sure to run "make syntax-check", and it'll cross-check
a few other things that have to be synced with that list.


From MAILER-DAEMON Wed Dec 05 20:40:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgQRk-00006g-7F
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 20:40:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49521)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgQRh-00005i-1x
	for coreutils@gnu.org; Wed, 05 Dec 2012 20:40:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgQRf-0000OM-Uy
	for coreutils@gnu.org; Wed, 05 Dec 2012 20:40:12 -0500
Received: from mail-vb0-f52.google.com ([209.85.212.52]:34876)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgQRf-0000OI-Q3
	for coreutils@gnu.org; Wed, 05 Dec 2012 20:40:11 -0500
Received: by mail-vb0-f52.google.com with SMTP id ez10so2636688vbb.39
	for <coreutils@gnu.org>; Wed, 05 Dec 2012 17:40:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=3RmocMO3MhjrJAuv51Rta/3NYa+dX/Yi31wCBbI7cXw=;
	b=uqAfjloAFfDq1EPsLJ9tpzWZ6hMLBOzHPGSFCchDcAkmqnpuHwomqFA0YaTzOujqMG
	mXn+3Nd2pG5RwZLdevNcNeNZlbcsy+5SRYnaC1laLQ10wiucSitqNW43De0X/ghfkUyO
	ep3l5JxGaDlDrBtSPOjgKJ7Rk+GRlIET3UF0Svhc0oM09XHbl0KkcwU5vMMNkDyIvupq
	F4BbpW4cqdV3rKpkmQ0ZCireD/NukfIOejPRhy025hOVD9eZ96IbrD5/lLuVqHq3X8gC
	A0xjaxLbnjtFf/+nAjUEpIQPxlkoQ96IVOqQN4cb+SMoFE/ak1DTMiSPGbWjWQwJ8L2C
	8zRQ==
Received: by 10.52.175.167 with SMTP id cb7mr14706795vdc.58.1354758011116;
	Wed, 05 Dec 2012 17:40:11 -0800 (PST)
Received: from [192.168.1.102] ([143.48.64.234])
	by mx.google.com with ESMTPS id jx16sm2359436veb.5.2012.12.05.17.40.10
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 05 Dec 2012 17:40:10 -0800 (PST)
Message-ID: <50BFF9A4.2090908@gmail.com>
Date: Wed, 05 Dec 2012 20:49:24 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.7) Gecko/20120922 Icedove/10.0.7
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50BFE89F.3050608@gmail.com> <87hao0vvx4.fsf@rho.meyering.net>
In-Reply-To: <87hao0vvx4.fsf@rho.meyering.net>
Content-Type: text/plain; charset=windows-1255; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.52
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 01:40:15 -0000


On 12/05/12 19:58, Jim Meyering wrote:
> Assaf Gordon wrote:
>> Somewhat related:
>> How do I add a rule to build the man page (I'm working on passing 'make syntax-check').
>>
>> I've added the following line to 'man/local.mk':
>>      man/numfmt.1:    src/numfmt
>>
>> But it doesn't get build (after bootstrap+configure+make).
> You'll have to add "numfmt" to the list of programs in
> build-aux/gen-lists-of-programs.sh
>
> Then, be sure to run "make syntax-check", and it'll cross-check
> a few other things that have to be synced with that list.
I already added it to "gen-lists-of-programs.sh" (under "normal_progs") - and the compilation works fine.
I've also added a line to "tests/local.mk" and "make checks" works fine.
But the man page part seems to be ignored.

The strange thing is that "make" doesn't complain about the job, it simply ignores it:
===
$ grep numfmt man/local.mk
man/numfmt.1:    src/numfmt
$ ls man/numfmt.1
ls: cannot access man/numfmt.1: No such file or directory
$ make man/numfmt.1
gordon@tango:~/projects/coreutils$ ls man/numfmt.1
ls: cannot access man/numfmt.1: No such file or directory
===

When I add "-d" to make, it ends with these messages:
===
$ make -d man/numfmt.1
< snip >
    Prerequisite `src/numfmt.o' is older than target `src/numfmt'.
    Prerequisite `src/libver.a' is older than target `src/numfmt'.
    Prerequisite `lib/libcoreutils.a' is older than target `src/numfmt'.
    Prerequisite `lib/libcoreutils.a' is older than target `src/numfmt'.
    Prerequisite `src/.dirstamp' is older than target `src/numfmt'.
   No need to remake target `src/numfmt'.
  Finished prerequisites of target file `man/numfmt.1'.
Must remake target `man/numfmt.1'.
Successfully remade target file `man/numfmt.1'.
===

But the man file is not created.

Thanks,
  -gordon



From MAILER-DAEMON Wed Dec 05 20:48:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgQZt-000193-Cs
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 20:48:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50395)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgQZq-00018C-SK
	for coreutils@gnu.org; Wed, 05 Dec 2012 20:48:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgQZp-0001xM-Qz
	for coreutils@gnu.org; Wed, 05 Dec 2012 20:48:38 -0500
Received: from mail-vb0-f52.google.com ([209.85.212.52]:42054)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgQZp-0001xH-ML
	for coreutils@gnu.org; Wed, 05 Dec 2012 20:48:37 -0500
Received: by mail-vb0-f52.google.com with SMTP id ez10so2644677vbb.39
	for <coreutils@gnu.org>; Wed, 05 Dec 2012 17:48:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=i+ru2aKxoLsPI6YHD7+e28ftU8D2AHEdXqD71Yd0OD4=;
	b=U/uPiGZLQCUk/tK1taYe93505XN2sOqyA49oswhhXAxTb5Syq/qWoMPYI4b0wKnMTY
	8qttwnTXRJ364y0nd/6aYYMuMwSfdjswD2qp3D8lPedeBTAtPOWKkxXuTUTwyzjsWQ8T
	RfLwyP/cKSsjMX5PcHrqpB63kmDfOFGY/RZ9WgysRzDFsT1xXTYcsuE5FlbC54gz0iJZ
	0LEz69LP8nWGDjmrivZlsN2lKQxrZ0N7wUfoN9Uf+rv+6soSl3bwxNcDl68Yhris9Dek
	PFacf7e3Ok3UXTlmK6X1wAT0ACVXpUXGR0uJJDp5vr+tKk8QgW434x7gL0QDXuXZ38k7
	hQ6Q==
Received: by 10.220.153.80 with SMTP id j16mr16664517vcw.21.1354758517164;
	Wed, 05 Dec 2012 17:48:37 -0800 (PST)
Received: from [192.168.1.102] ([143.48.64.234])
	by mx.google.com with ESMTPS id h4sm2644166vdv.17.2012.12.05.17.48.36
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 05 Dec 2012 17:48:36 -0800 (PST)
Message-ID: <50BFFB9E.2050603@gmail.com>
Date: Wed, 05 Dec 2012 20:57:50 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.7) Gecko/20120922 Icedove/10.0.7
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50BFE89F.3050608@gmail.com> <87hao0vvx4.fsf@rho.meyering.net>
	<50BFF9A4.2090908@gmail.com>
In-Reply-To: <50BFF9A4.2090908@gmail.com>
Content-Type: text/plain; charset=windows-1255; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.52
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 01:48:39 -0000

On 12/05/12 20:49, Assaf Gordon wrote:
>
> On 12/05/12 19:58, Jim Meyering wrote:
>> Assaf Gordon wrote:
>>> Somewhat related:
>>> How do I add a rule to build the man page (I'm working on passing 'make syntax-check').
>> You'll have to add "numfmt" to the list of programs in
>> build-aux/gen-lists-of-programs.sh
>>
> I already added it to "gen-lists-of-programs.sh" (under "normal_progs") - and the compilation works fine.
> I've also added a line to "tests/local.mk" and "make checks" works fine.
> But the man page part seems to be ignored.
Nevermind - figured it out:
A stub "man/numfmt.x" file is required.



From MAILER-DAEMON Wed Dec 05 21:56:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgRda-0002xd-Pl
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 21:56:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58405)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgRdW-0002xW-US
	for coreutils@gnu.org; Wed, 05 Dec 2012 21:56:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgRdV-0000z4-Gu
	for coreutils@gnu.org; Wed, 05 Dec 2012 21:56:30 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:58914)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgRdV-0000yz-B7
	for coreutils@gnu.org; Wed, 05 Dec 2012 21:56:29 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so6266987vcb.0
	for <coreutils@gnu.org>; Wed, 05 Dec 2012 18:56:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject:references
	:in-reply-to:content-type;
	bh=Om4em/abRi2GlbrHnVsXad/nh9NQ9qH39mRywUQRTgQ=;
	b=K+fon7eSlJeIUtAiH03ESs5et59Z+I7GrhRJ7wIjA/6RpryiltyLSYVHxJFvgI8lAd
	5XaQTvwNG43aDKKFVoEmu36V24Co2B/Z9/5kvdJjsUi0INs0l/rkzccHQVHfdHkXexe+
	uG8aUF0YbN1SCllMXKEcEAVwuxxbIiCENITFvTxOXAnc9/gmD+ywS5wW+p9G1vzH4TOo
	RyaK2RQ/mSAKeLrGQNiAi6TupzZdX9aSb4AbI3+wClYUkV9+9F9SNOZlvJKGAWA8bj9z
	mByif8P1f/jAO7TND8svvW/20T36r/y1zWr03v0EPzJ9crwsKiIzl+jCC7xJ3uRIoUyX
	HMaQ==
Received: by 10.58.162.130 with SMTP id ya2mr83857veb.2.1354762588716;
	Wed, 05 Dec 2012 18:56:28 -0800 (PST)
Received: from [192.168.1.102] ([143.48.64.234])
	by mx.google.com with ESMTPS id n4sm2723477vdf.10.2012.12.05.18.56.27
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 05 Dec 2012 18:56:27 -0800 (PST)
Message-ID: <50C00B85.2080803@gmail.com>
Date: Wed, 05 Dec 2012 22:05:41 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.7) Gecko/20120922 Icedove/10.0.7
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
In-Reply-To: <50BFD508.3010104@gmail.com>
Content-Type: multipart/mixed; boundary="------------050204030306070305070501"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 02:56:33 -0000

This is a multi-part message in MIME format.
--------------050204030306070305070501
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

With the attached patch, numfmt passes "make syntax-check" and almost passes "make check" and "make distcheck".

Regarding the checks: "tests/misc/numfmt.pl" passes all tests successfully.

But:

1. When running "make check", "tests/df/total-verify.sh" fails, so the check isn't complete.

2. When running "make check TESTS=tests/misc/numfmt VERBOSE=yes", the tests script passes, but the process later fails with this error:
====
$ make check TESTS=tests/misc/numfmt VERBOSE=yes
   GEN    public-submodule-commit
make  check-recursive
make[1]: Entering directory `/home/gordon/projects/coreutils'
Making check in po
make[2]: Entering directory `/home/gordon/projects/coreutils/po'
make[2]: Leaving directory `/home/gordon/projects/coreutils/po'
Making check in .
make[2]: Entering directory `/home/gordon/projects/coreutils'
make  check-TESTS check-local
make[3]: Entering directory `/home/gordon/projects/coreutils'
make[4]: Entering directory `/home/gordon/projects/coreutils'
PASS: tests/misc/numfmt.pl
=============
1 test passed
=============
make[4]: Leaving directory `/home/gordon/projects/coreutils'
   GEN    check-README
   GEN    check-duplicate-no-install
   GEN    sc-avoid-builtin
   GEN    sc-avoid-io
   GEN    sc-avoid-non-zero
   GEN    sc-avoid-path
   GEN    sc-avoid-timezone
   GEN    sc-avoid-zeroes
   GEN    sc-exponent-grouping
   GEN    sc-lower-case-var
   GEN    sc-use-small-caps-NUL
   GEN    check-texinfo
make[3]: Leaving directory `/home/gordon/projects/coreutils'
make[2]: Leaving directory `/home/gordon/projects/coreutils'
Making check in gnulib-tests
make[2]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'
make  check-recursive
make[3]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'

< snip >

make[5]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make  check-TESTS
make[5]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'
make[6]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'
make[6]: *** No rule to make target `tests/misc/numfmt.log', needed by `test-suite.log'.  Stop.
make[6]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/gordon/projects/coreutils'
make: *** [check] Error 2

## Strangely, the log file does exist:
$ ls -l tests/misc/numfmt.log
-rw-r--r-- 1 gordon gordon 1069 Dec  5 21:51 tests/misc/numfmt.log
====


Any advice is appreciated,
  -gordon


--------------050204030306070305070501
Content-Type: application/x-gzip;
 name="numfmt4.patch.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt4.patch.gz"

H4sIAFwEwFAAA6w7+XfaSNK/81fUsG9isMXlK7EzzKxjY4cvNvYDvJNMkscTUgu0FpJGh4+Z
yf/+VVV3owOwM7vrnQBqdVVXVdfdvXByO35/PRzBM39/0UcHdiow7J2cXfWemysnH8JOowLT
1PXshpk+tmbCb3hunMSNwGmEUTCLzEXcjOc51AvTb3mBZXrNxd2LdNBkP104i6T5+NzkfZoc
Bq2b6/F5/7I3arr+C5jjyGo1Z27izvwgEt8xWZFhbSbj9esj2PmOvwokAkX0vBSyxeXkhRsv
aQi91cm7+7tQWKPTBsf1RAzW3PRnwjZwZG8fXD8WUeIGflzbqRuwB7bwhHxu1CsV23UcaDRQ
MGC2tMpM9a+K69viEQ4OdsWRvd9s2s5uRxy1EXP7cH+/0mg0MqgKUpGD/Oc/oXGwa6DC4Odr
wEfftcQxnJn3rg1XpvVB+H+4ogK+dwwjK0gSeGdGCeqPsWZOME/DY/g/dwFX4klErj/DQdQ3
6xgu3DQWYSgQSeTem35Q2ZFiO4aTODYduAgiO/ArENhlDKEZJxlJTejPfTNZs3xoJnNrfncM
N2bqQW82Q4muTDOKyAuCVeY1VT+UWNtHR4cds91s7naso2l7ryhWNVVKVT2QUDsdA9WOP/Fx
PBeg7Q6SuZmAZfowFWyjCTy4yRyH3Rh5sO7MmQAzEscVVCErDj2kzUoTsM1EgG2D7YDtRvTP
CrwgiumXby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WIG
LwGbgu7w5FmkDk/+BHa5OoVL/3EGNXfvYiqix5cMYO/w6IyfIOIxOcw4t1gRn4+RnespKPEM
WnOKr0kTiEkOqkmAkWcEwqHVjpl1eaGeJV4c2MR59qw3TcW856oKB4dhZ/HhAbTxo25lWRCG
Jpo5UURnFvMxl0aUSvYrtX1yPWN5uGDbNmdNDsKxFVCvCaeWWyKe43gW38SitrYsSoqxfbIy
KVWgucFGY1WZbA6/OD4FABDKMZ78Cb86Hk9g3EocdUmn/kMoCUWenFG0LiQqQofNOStT8AbO
FhF9yM9i6XUJpDWd8mMp+nYUaLhvEqW5kgvKrCxhImB6/U88SykGkIqqiVkjkQEVMce3OQ/l
qnPthtfxX6z0un/6ugRp55hBnfHH1edo3N7DQ/3NlDdI6Bos2zMzslgFQz4ODZx3D6l6wWo9
Bgl1Bm5BACDNxnfxCH6UHSr3bEKEzWn/l8HobDA8Pr0X0T538ew8xTro2OCXwcmLo9PBvYyy
2byAnwHvwa+QiyDG8qZdCQ+/VtjvNKQVE2tFgQetw0FCeM+++x/ZfKbECoMAAA==
--------------050204030306070305070501--


From MAILER-DAEMON Wed Dec 05 22:51:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgSUS-00033M-Ax
	for mharc-coreutils@gnu.org; Wed, 05 Dec 2012 22:51:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36410)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgSUP-00031j-Gx
	for coreutils@gnu.org; Wed, 05 Dec 2012 22:51:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgSUO-0005GX-C7
	for coreutils@gnu.org; Wed, 05 Dec 2012 22:51:09 -0500
Received: from mail-vb0-f52.google.com ([209.85.212.52]:60958)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgSUO-0005GS-6t
	for coreutils@gnu.org; Wed, 05 Dec 2012 22:51:08 -0500
Received: by mail-vb0-f52.google.com with SMTP id ez10so2755411vbb.39
	for <coreutils@gnu.org>; Wed, 05 Dec 2012 19:51:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=JfwXu1bGT7/2JruBCWEgc8JvE7lvCh7B+ISOuc9eADM=;
	b=ra3+FnxADLg4tOpA+aBpatf8dFh01KmZE1QxhMktKDEp4BGWYMMZxywAc9ouywV7cC
	jaVPC65HuTAjEl/u+8dtGQbi+kjZP1f4ISA6P4c2ZYQIBb+uV67u6VK6o3Z6B5dGxTwT
	/8pz6j1mb4bPTcfwvnxfnu4p/wgWIOGpgzOx2XwmfYQa27YD3K34Jz3zdFSBi/32KniP
	Q3bg1j9LfBiq8Mu9glcm9fGAnd22ds0tIoXcnJF68XUFIs62t6WotDBU7bmrYfZW1jlW
	1PhCiHe7k1uQQFvR3bFxtjJTltPWadPFhZ5BYX9tTdFv1mFlZ5CwmcS3E7Byh830pp1m
	N62g==
Received: by 10.220.106.196 with SMTP id y4mr80073vco.60.1354765866217;
	Wed, 05 Dec 2012 19:51:06 -0800 (PST)
Received: from [192.168.1.102] ([143.48.64.234])
	by mx.google.com with ESMTPS id in19sm2479355vec.1.2012.12.05.19.51.05
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 05 Dec 2012 19:51:05 -0800 (PST)
Message-ID: <50C01853.9080404@gmail.com>
Date: Wed, 05 Dec 2012 23:00:19 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.7) Gecko/20120922 Icedove/10.0.7
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: Suggestion: update README/HACKING regarding tests
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.52
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 03:51:10 -0000

As per: http://lists.gnu.org/archive/html/coreutils/2012-09/msg00144.html ,

Perhaps you'll agree to update README/HACKING about how to run individual tests:
===
diff --git a/HACKING b/HACKING
index de8cd7b..01e7605 100644
--- a/HACKING
+++ b/HACKING
@@ -438,9 +438,11 @@ Nearly every significant change must be accompanied by a test suite
  addition that exercises it.  If you fix a bug, add at least one test that
  fails without the patch, but that succeeds once your patch is applied.
  If you add a feature, add tests to exercise as much of the new code
-as possible. Note to run tests/misc/new-test in isolation you can do:
+as possible. If you add a new test file (as opposed to adding a test to an
+existing test file) add the new test file to 'tests/local.mk'.
+Note to run tests/misc/new-test in isolation you can do:
  
-  (cd tests && make check TESTS=misc/new-test VERBOSE=yes)
+  make TESTS=tests/misc/new-test SUBDIRS=. VERBOSE=yes
  
  Variables that are significant for tests with their default values are:
  
diff --git a/README b/README
index 21c9b03..15ed29b 100644
--- a/README
+++ b/README
@@ -176,7 +176,7 @@ in verbose mode for each failing test.  For example,
  if the test that fails is tests/misc/df, then you would
  run this command:
  
-  (cd tests && make check TESTS=misc/df VERBOSE=yes) >> log 2>&1
+  make check TESTS=tests/misc/df SUBDIRS=. VERBOSE=yes >> log 2>&1
  
  For some tests, you can get even more detail by adding DEBUG=yes.
  Then include the contents of the file 'log' in your bug report.
===


Regards,
-gordon


From MAILER-DAEMON Thu Dec 06 04:34:03 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgXqF-0006o2-OV
	for mharc-coreutils@gnu.org; Thu, 06 Dec 2012 04:34:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54455)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgXq8-0006nf-TK
	for coreutils@gnu.org; Thu, 06 Dec 2012 04:34:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgXpp-0005jP-Hw
	for coreutils@gnu.org; Thu, 06 Dec 2012 04:33:56 -0500
Received: from mx1.redhat.com ([209.132.183.28]:9824)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgXpp-0005jG-AB
	for coreutils@gnu.org; Thu, 06 Dec 2012 04:33:37 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB69XZ9i019689
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 6 Dec 2012 04:33:35 -0500
Received: from [10.36.116.69] (ovpn-116-69.ams2.redhat.com [10.36.116.69])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB69XXvJ009862
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Thu, 6 Dec 2012 04:33:34 -0500
Message-ID: <50C0666C.70906@draigBrady.com>
Date: Thu, 06 Dec 2012 09:33:32 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com>
In-Reply-To: <50C00B85.2080803@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB69XZ9i019689
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 09:34:03 -0000

On 12/06/2012 03:05 AM, Assaf Gordon wrote:
> Hello,
>
> With the attached patch, numfmt passes "make syntax-check" and almost p=
asses "make check" and "make distcheck".

Excellent, we'll review from there so.

> Regarding the checks: "tests/misc/numfmt.pl" passes all tests successfu=
lly.
>
> But:
>
> 1. When running "make check", "tests/df/total-verify.sh" fails, so the =
check isn't complete.

I see you've reported this separately at:
http://bugs.gnu.org/13099

> 2. When running "make check TESTS=3Dtests/misc/numfmt VERBOSE=3Dyes", t=
he tests script passes, but the process later fails with this error:

 > make[6]: Entering directory `/home/gordon/projects/coreutils/gnulib-te=
sts'
 > make[6]: *** No rule to make target `tests/misc/numfmt.log', needed by=
 `test-suite.log'.  Stop.

Instructions were out of date, sorry.
I'm going to apply the following now.

thanks!
P=E1draig.

commit 65ea59cf8a5c23c76b691bdd6e288c6340be40b5
Author: P=E1draig Brady <P@draigBrady.com>
Date:   Thu Dec 6 09:29:34 2012 +0000

     maint: adjust instructions to run a single test

     * README: Adjust as per the recent changes introduced
     when switching to non recursive make.

diff --git a/README b/README
index 09961a0..3b5f576 100644
--- a/README
+++ b/README
@@ -176,7 +176,7 @@ in verbose mode for each failing test.  For example,
  if the test that fails is tests/misc/df, then you would
  run this command:

-  (cd tests && make check TESTS=3Dmisc/df VERBOSE=3Dyes) >> log 2>&1
+  make check TESTS=3Dtests/df/df-P.sh VERBOSE=3Dyes SUBDIRS=3D. >> log 2=
>&1

  For some tests, you can get even more detail by adding DEBUG=3Dyes.
  Then include the contents of the file 'log' in your bug report.




From MAILER-DAEMON Thu Dec 06 04:51:20 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgY6y-0006Ko-7W
	for mharc-coreutils@gnu.org; Thu, 06 Dec 2012 04:51:20 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56822)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgY6p-0006Hv-IN
	for coreutils@gnu.org; Thu, 06 Dec 2012 04:51:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgY6k-0001sO-AL
	for coreutils@gnu.org; Thu, 06 Dec 2012 04:51:11 -0500
Received: from mx1.redhat.com ([209.132.183.28]:32683)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgY6k-0001sK-2n
	for coreutils@gnu.org; Thu, 06 Dec 2012 04:51:06 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB69p428027721
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 6 Dec 2012 04:51:04 -0500
Received: from [10.36.116.69] (ovpn-116-69.ams2.redhat.com [10.36.116.69])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB69p1C7014179
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Thu, 6 Dec 2012 04:51:03 -0500
Message-ID: <50C06A85.6050705@draigBrady.com>
Date: Thu, 06 Dec 2012 09:51:01 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Suggestion: update README/HACKING regarding tests
References: <50C01853.9080404@gmail.com>
In-Reply-To: <50C01853.9080404@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB69p428027721
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 09:51:18 -0000

On 12/06/2012 04:00 AM, Assaf Gordon wrote:
> As per: http://lists.gnu.org/archive/html/coreutils/2012-09/msg00144.ht=
ml ,
>
> Perhaps you'll agree to update README/HACKING about how to run individu=
al tests:
> =3D=3D=3D
> diff --git a/HACKING b/HACKING
> index de8cd7b..01e7605 100644
> --- a/HACKING
> +++ b/HACKING
> @@ -438,9 +438,11 @@ Nearly every significant change must be accompanie=
d by a test suite
>   addition that exercises it.  If you fix a bug, add at least one test =
that
>   fails without the patch, but that succeeds once your patch is applied.
>   If you add a feature, add tests to exercise as much of the new code
> -as possible. Note to run tests/misc/new-test in isolation you can do:
> +as possible. If you add a new test file (as opposed to adding a test t=
o an
> +existing test file) add the new test file to 'tests/local.mk'.
> +Note to run tests/misc/new-test in isolation you can do:
>
> -  (cd tests && make check TESTS=3Dmisc/new-test VERBOSE=3Dyes)
> +  make TESTS=3Dtests/misc/new-test SUBDIRS=3D. VERBOSE=3Dyes
>
>   Variables that are significant for tests with their default values ar=
e:
>
> diff --git a/README b/README
> index 21c9b03..15ed29b 100644
> --- a/README
> +++ b/README
> @@ -176,7 +176,7 @@ in verbose mode for each failing test.  For example=
,
>   if the test that fails is tests/misc/df, then you would
>   run this command:
>
> -  (cd tests && make check TESTS=3Dmisc/df VERBOSE=3Dyes) >> log 2>&1
> +  make check TESTS=3Dtests/misc/df SUBDIRS=3D. VERBOSE=3Dyes >> log 2>=
&1
>
>   For some tests, you can get even more detail by adding DEBUG=3Dyes.
>   Then include the contents of the file 'log' in your bug report.
> =3D=3D=3D

Oops, I applied much the same as the above to README,
before I got to this mail. Sorry.
http://git.sv.gnu.org/gitweb/?p=3Dcoreutils.git;a=3Dcommitdiff;h=3Ddf9065=
e

I agree with your change to HACKING and will apply in your name.

thanks,
P=E1draig.


From MAILER-DAEMON Thu Dec 06 05:07:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgYMt-0005Ll-C0
	for mharc-coreutils@gnu.org; Thu, 06 Dec 2012 05:07:47 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58927)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgYMl-0005K6-QT
	for coreutils@gnu.org; Thu, 06 Dec 2012 05:07:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgYMZ-0006Cb-IE
	for coreutils@gnu.org; Thu, 06 Dec 2012 05:07:39 -0500
Received: from moutng.kundenserver.de ([212.227.17.10]:62357)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgYMZ-0006CX-8j
	for coreutils@gnu.org; Thu, 06 Dec 2012 05:07:27 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis)
	id 0MARiQ-1Ts3cs2Zdy-00BE31; Thu, 06 Dec 2012 11:07:24 +0100
Message-ID: <50C06E5C.3090802@bernhard-voelker.de>
Date: Thu, 06 Dec 2012 11:07:24 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com> <50C0666C.70906@draigBrady.com>
In-Reply-To: <50C0666C.70906@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:Rj3sv1yQCohMitATB6IQi/qbCVROEMvTLR0S/TWGNL1
	nal6zari8gUNw2aicXjStBDRGcF07cC/Q+Qc25LH1htL2+ayI1
	ttxnmVSV29oxUe991i1P5RlhYitUOcLr0x+P9/Ya4A5rIz5wfq
	YpddNiV1Ysh+tb6efzIrEOgmC81nyVXgtlmXl/GtjrUhMLsJM0
	4uprXkTdnx91RYbI54V41r3VgaQuCIdtFsL52NcIHVB1uWZpLU
	A+mdRH3F416pMlOvmJhPFif12niSJ4GRqBY7Kz/9MpFgJhWv4a
	0wB1biiJQyQJfZ+8Vz1HS8CJTgxlKxzvmHWHgzlPI6n4CvEsZ0
	ube356LHAt4TPLyl7FK2cC6xKafoiZzvTqNZRbv3p
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.10
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 10:07:45 -0000

On 12/06/2012 10:33 AM, Pádraig Brady wrote:
> -  (cd tests && make check TESTS=misc/df VERBOSE=yes) >> log 2>&1
> +  make check TESTS=tests/df/df-P.sh VERBOSE=yes SUBDIRS=. >> log 2>&1

BTW: when one wants to run several tests, e.g. all df tests,
then the following can be used:

  $ make check TESTS="$( echo tests/df/*.sh )" SUBDIRS=.

Please not that the quotes around $( ... ) are necessary, and
that you need echo because it won't work with ls.

Have a nice day,
Berny


From MAILER-DAEMON Thu Dec 06 11:55:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgejF-0002BP-4k
	for mharc-coreutils@gnu.org; Thu, 06 Dec 2012 11:55:17 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52536)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tgej1-00022B-L4
	for coreutils@gnu.org; Thu, 06 Dec 2012 11:55:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tgeir-0001oq-Ov
	for coreutils@gnu.org; Thu, 06 Dec 2012 11:55:03 -0500
Received: from mx1.redhat.com ([209.132.183.28]:61065)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tgeir-0001oS-GP
	for coreutils@gnu.org; Thu, 06 Dec 2012 11:54:53 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB6GsolX016667
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 6 Dec 2012 11:54:50 -0500
Received: from pb-n5110.redhat.com (ovpn-116-69.ams2.redhat.com [10.36.116.69])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qB6GsmlL021593; Thu, 6 Dec 2012 11:54:49 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH] maint: fix a referenced coreutils version in a test comment
Date: Thu,  6 Dec 2012 16:54:47 +0000
Message-Id: <1354812887-1891-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Dec 2012 16:55:14 -0000

* tests/misc/cut.pl: This particular bug existed up to v8.10.
---
 tests/misc/cut.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/misc/cut.pl b/tests/misc/cut.pl
index a402a75..0f0a3a3 100755
--- a/tests/misc/cut.pl
+++ b/tests/misc/cut.pl
@@ -166,7 +166,7 @@ my @Tests =
    {ERR=>$no_endpoint}],
   ['inval5', '-f', '1-,-', {IN=>''}, {OUT=>''}, {EXIT=>1}, {ERR=>$no_endpoint}],
   ['inval6', '-f', '-1,-', {IN=>''}, {OUT=>''}, {EXIT=>1}, {ERR=>$no_endpoint}],
-  # This would evoke a segfault from 5.3.0..6.10
+  # This would evoke a segfault from 5.3.0..8.10
   ['big-unbounded-b', '--output-d=:', '-b1234567890-', {IN=>''}, {OUT=>''}],
   ['big-unbounded-c', '--output-d=:', '-c1234567890-', {IN=>''}, {OUT=>''}],
   ['big-unbounded-f', '--output-d=:', '-f1234567890-', {IN=>''}, {OUT=>''}],
-- 
1.7.6.4



From MAILER-DAEMON Thu Dec 06 19:00:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TglMN-00070S-V7
	for mharc-coreutils@gnu.org; Thu, 06 Dec 2012 19:00:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49557)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TglMG-0006wD-Td
	for coreutils@gnu.org; Thu, 06 Dec 2012 19:00:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TglMD-0005M5-54
	for coreutils@gnu.org; Thu, 06 Dec 2012 19:00:00 -0500
Received: from mx1.redhat.com ([209.132.183.28]:34479)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TglMC-0005LE-GS
	for coreutils@gnu.org; Thu, 06 Dec 2012 18:59:56 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB6NxrUu012837
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 6 Dec 2012 18:59:53 -0500
Received: from [10.36.116.31] (ovpn-116-31.ams2.redhat.com [10.36.116.31])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qB6NxoHD021868
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 6 Dec 2012 18:59:52 -0500
Message-ID: <50C13176.9070901@draigBrady.com>
Date: Thu, 06 Dec 2012 23:59:50 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com>
In-Reply-To: <50C00B85.2080803@gmail.com>
Content-Type: multipart/mixed; boundary="------------000101080306000408050600"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 00:00:06 -0000

This is a multi-part message in MIME format.
--------------000101080306000408050600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id qB6NxrUu012837

Generally it's best to get git to send email
or send around formats that git can apply directly,
which includes commit messages and references new files etc.
The handiest way to do that is:

   git format-patch --stdout -1 | gzip > numfmt.5.patch.gz

Then it can be applied on a new branch like:

   gzip -dc numfmt.5.patch.gz | git am

I've attached such a patch to this mail that also includes
the following couple of tweaks to NEWS, scripts/git-hooks/commit-msg
and man/.gitignore. Note to enable the updated commit-msg git hook
without having to rerun bootstrap, just:

   cp --backup=3Dnumbered scripts/git-hooks/commit-msg .git/hooks


So on to some initial observations...

I noticed This command will core dump:
$ /bin/ls -l | src/numfmt --to-unit=3D1 --field=3D5

That's because there are only 2 fields on the first "total" line from ls.
Also I was hit by a similar issue when trying to process the output from =
df.
I.E. the first line is non numeric and would ideally be skipped.
This is very similar to the --header option to implemented for `join`,
so I'm thinking `numfmt` should support --header too.

OK so avoiding the segfault by stripping the first line,
let's go through examples processing this data:

$ /bin/ls -l | tail -n+2 | head -n3
-rw-rw-r--.  1 padraig padraig   93787 Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig   49630 Dec  6 22:32 aclocal.m4
-rw-rw-r--.  1 padraig padraig    3669 Dec  6 22:29 AUTHORS

The following should essentially be a noop with this data,
but notice how the original spacing wasn't taken
into account, and thus the alignment is broken:

$ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to-unit=3D1 --field=3D=
5
-rw-rw-r--.  1 padraig padraig 93787 Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig 49630 Dec  6 22:32 aclocal.m4
-rw-rw-r--.  1 padraig padraig 3669 Dec  6 22:29 AUTHORS

With this the alignment is broken as before,
but I also notice the differing width output of each number.

$ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DSI --field=3D5
-rw-rw-r--.  1 padraig padraig 94k Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig 50k Dec  6 22:32 aclocal.m4
-rw-rw-r--.  1 padraig padraig 3.7k Dec  6 22:29 AUTHORS

I expect the algorithm for the above would be to determine the
available width of the field when parsing the first number,
and fit each number to it, but for these auto scaled units,
not to go over a width of 6 for SI or 7 for IEC, so output like:

$ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DSI --field=3D5
-rw-rw-r--.  1 padraig padraig 94.0K Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig 50.0K Dec  6 22:32 aclocal.m4
-rw-rw-r--.  1 padraig padraig  3.7K Dec  6 22:29 AUTHORS

Notice in the above I've used capital K for SI.
I think human() from gnulib may be using k for 1000 and K for 1024.
That's non standard and ambiguous and I see no need to do that.
So for IEC we'd have:

$ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DIEC --field=3D5
-rw-rw-r--.  1 padraig padraig 92.0Ki Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig 49.0Ki Dec  6 22:32 aclocal.m4
-rw-rw-r--.  1 padraig padraig  3.6Ki Dec  6 22:29 AUTHORS

And with a suffix:

$ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DIEC --field=3D5 -=
-suffix=3DB
-rw-rw-r--.  1 padraig padraig 92.0KiB Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig 49.0KiB Dec  6 22:32 aclocal.m4
-rw-rw-r--.  1 padraig padraig  3.6KiB Dec  6 22:29 AUTHORS

Another thing I thought of there, was it would be
good to be able to parse number formats that it can generate:

$ echo '1,234' | src/numfmt --from=3Dauto
src/numfmt: invalid suffix in input '1,234': ',234'
$ echo '3.7K' | src/numfmt --from=3Dauto
src/numfmt: invalid suffix in input '3.7K': '.7K'

While I said before it would be better to error rather than warn
on parse error, on consideration it's probably best to write a
warning to stderr on parse error, and leave the original number in place.

thanks,
P=E1draig.


--------------000101080306000408050600
Content-Type: application/x-gzip;
 name="numfmt.5.patch.gz"
Content-Disposition: attachment;
 filename="numfmt.5.patch.gz"
Content-Transfer-Encoding: base64

H4sIABIxwVAAA6w7+1fiyNK/81fUes+uoLxFVGZZl1F0+EbRA3h3ZmfmcELSgVxDksnDxz7+
96+quhOSADpz9zojJN1V1VXV9ezEC99dQtsUM3HQPjoSon2snYjjI3HYEodGu2EcH7UOmi1d
nGjawQyuXQfGwoPGEdTrHf4PzXq9UbhAMh3ont5NLirHp19Pb7tnB91ew/A1a95t1t/6mvF8
2oWfb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l9esaFtrIsT
XYhCV/5Q4pm30enrJ+hZQJhO1QyCZGxaBxfQbwHO8/b+0UlbAZAUs0bPKHMsY4u3UUUCFzr0
0xZT+KoUTaPUwyIoySmP0I7tKWSBbBYeHviOPT3axfhmMv1SuRpeXuKdXicT7jD1ecME4/Cn
47k2Ec5GHI46ReZDsuA05sMZ+oDYGRMB1AwAKavGuLJ8YOuAaEBJTB2koAKuqXkhtUdOBsSy
ywldgFNS9GX6cTjddXZIR92iyxpoQ05edNiIOaGTfuy5i7PpzaFRnbHwVp+toE/V0pVd+oe9
t2dQLQ4lSi89U3Suxmbr8XnVF4YdkWfKzoivD4/fnakB7SOibIkh3A7T8bWWWSsxpGURoYxU
tQ4FD3hLhcIMX+JoGro3p0Aj9eYUbmB/Vqd46d/LsObubcpF9EBk4PQOj87Agkh77DCD2VJF
fFgjN9dTYhIotPYWvydOSCa1qDYCVp4REoelnbDr8mI9S7o4cJEL9Nlgm8p9D6yKhkNnZ7bx
gNz4ybRyNAiLE+2cKMYzS2HNlRKlk/1KzRDdQFnuzDi27V2TA3FqhdgbxLnlioznOJ6k16ms
ra2KklJsn6pMyhVorqlRT1cmm+JP5A4QAIZy9Pp/4C/kpn1ctxIMXTKp/xhKwpEnZxyti4mK
2OHxVJQ5eIN2i4w+BFtsPCohtQYDMEvJt6NB432TLM01vODMyhIlAo5Hf6eTMccAclE1uWvU
YIhFCuM9nsZy1YG78XX6pyi92jt9VcK0c8qgzuBx5Rkpt3f40Hyz6Y0UGqFme2ZHFutgyB+D
A8w9GFS/EOstgQl11tgSARw0692mXfwFYazc8xgjbE73fm13z9qd49M7Ge1zm07Ox1QHnRr8
2j55fnTavlNRNo8v8Bd0W/g7vjKIsfzYrYRHXxPxnpc0sUdNNHjkOlokgvf0UaUiHtXWt9Y3
1xuPHv0PtRjOVY2LAAA=
--------------000101080306000408050600--


From MAILER-DAEMON Fri Dec 07 03:25:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgtFi-00052S-W4
	for mharc-coreutils@gnu.org; Fri, 07 Dec 2012 03:25:46 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60173)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgtFb-00051z-Az
	for coreutils@gnu.org; Fri, 07 Dec 2012 03:25:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgtFa-0003gs-Ak
	for coreutils@gnu.org; Fri, 07 Dec 2012 03:25:39 -0500
Received: from moutng.kundenserver.de ([212.227.17.10]:61886)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgtFa-0003gn-0I
	for coreutils@gnu.org; Fri, 07 Dec 2012 03:25:38 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis)
	id 0MXFZN-1TdMRn2VjZ-00VwRN; Fri, 07 Dec 2012 09:25:34 +0100
Message-ID: <50C1A7FE.9050606@bernhard-voelker.de>
Date: Fri, 07 Dec 2012 09:25:34 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com> <50C13176.9070901@draigBrady.com>
In-Reply-To: <50C13176.9070901@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:Aoae3Izm0EYbJcW7UUQl+lIMQMTG8jY7b0MHnTvaK+x
	RvFpH9wQeBAGxTVV4mhhPKkv+RyngveFdm+KzYkTiooNFVysF3
	wfoM6l/C0n+6SkZc6t2v6O08DgTur68JeBS/8bxTedouP+j21U
	HYJG5mOk9uwgHzEwUKqsWXuxktimQdC3+fFhtM/nTTlBdRd7GY
	OR41P07Z9pkgQmHZaMMrpHUeairMJyFJ0NAWWvhH0/AXkCS/Bs
	dWZJOtmMYigJEWsis6bUJ77PA6Xv3D3EzooDS0l2p/Kqq1rGB6
	zAHjkZZF8+abApsDSEn02unkJ3+xOjVBhdboHGstOQxAXvn4W6
	FN/w6U4o8tCDpbRC54Gln2HkJaV+UH9Uv54i6gFIW
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.10
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 08:25:45 -0000

On 12/07/2012 12:59 AM, Pádraig Brady wrote:
> So on to some initial observations...

Hi Assaf and Padraig,

numfmt claims itself (in --help):
  Reformats NUMBER(s) to/from human-readable values.

and in the first line in numfmt.c:
  Reformat numbers like 11505426432 to the more human-readable 11G

Therefore this is my first test:

  $ echo 11505426432 | src/numfmt
  11505426432

Hmm, shouldn't it converting that to a human-readable
number then? ;-)


Looking at scale_from_args: I'd favor lower-case arguments,
i.e. "si" and "iec" instead of "SI" and "IEC".
WDYT?

Have a nice day,
Berny


From MAILER-DAEMON Fri Dec 07 05:07:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tgupg-0004JW-Q6
	for mharc-coreutils@gnu.org; Fri, 07 Dec 2012 05:07:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48340)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tgupb-0004H7-5E
	for coreutils@gnu.org; Fri, 07 Dec 2012 05:06:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgupV-00056i-9w
	for coreutils@gnu.org; Fri, 07 Dec 2012 05:06:55 -0500
Received: from mx1.redhat.com ([209.132.183.28]:64931)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TgupV-00056c-22
	for coreutils@gnu.org; Fri, 07 Dec 2012 05:06:49 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB7A6eHd027523
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 7 Dec 2012 05:06:40 -0500
Received: from [10.36.116.89] (ovpn-116-89.ams2.redhat.com [10.36.116.89])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB7A6b67009581
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 7 Dec 2012 05:06:39 -0500
Message-ID: <50C1BFAD.70405@draigBrady.com>
Date: Fri, 07 Dec 2012 10:06:37 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com> <50C13176.9070901@draigBrady.com>
	<50C1A7FE.9050606@bernhard-voelker.de>
In-Reply-To: <50C1A7FE.9050606@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB7A6eHd027523
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 10:06:59 -0000

On 12/07/2012 08:25 AM, Bernhard Voelker wrote:
> On 12/07/2012 12:59 AM, P=E1draig Brady wrote:
>> So on to some initial observations...
>
> Hi Assaf and Padraig,
>
> numfmt claims itself (in --help):
>    Reformats NUMBER(s) to/from human-readable values.

Yes I was going to get to descriptions and docs at the end.
But for above I'd probably s| to/from human-readable values||

> and in the first line in numfmt.c:
>    Reformat numbers like 11505426432 to the more human-readable 11G
>
> Therefore this is my first test:
>
>    $ echo 11505426432 | src/numfmt
>    11505426432
>
> Hmm, shouldn't it converting that to a human-readable
> number then? ;-)

Heh, given my amendment above no :)
I suppose you could think of numfmt as
a number validator in default mode?
It should probably also convert from 1,234 to 1234 also.

> Looking at scale_from_args: I'd favor lower-case arguments,
> i.e. "si" and "iec" instead of "SI" and "IEC".
> WDYT?

Yes, that's probably a bit easier on the eyes/fingers

thanks,
P=E1draig.


From MAILER-DAEMON Fri Dec 07 08:06:43 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tgxdb-0006vs-Fe
	for mharc-coreutils@gnu.org; Fri, 07 Dec 2012 08:06:43 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51699)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgxdT-0006u7-Qu
	for coreutils@gnu.org; Fri, 07 Dec 2012 08:06:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgxdL-0008Bn-O6
	for coreutils@gnu.org; Fri, 07 Dec 2012 08:06:33 -0500
Received: from moutng.kundenserver.de ([212.227.126.186]:49965)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TgxdL-0008Ba-Ep
	for coreutils@gnu.org; Fri, 07 Dec 2012 08:06:27 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis)
	id 0MJkSC-1Ti4601VdU-001FBR; Fri, 07 Dec 2012 14:06:24 +0100
Message-ID: <50C1E9CF.7000308@bernhard-voelker.de>
Date: Fri, 07 Dec 2012 14:06:23 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com> <50C13176.9070901@draigBrady.com>
	<50C1A7FE.9050606@bernhard-voelker.de>
	<50C1BFAD.70405@draigBrady.com>
In-Reply-To: <50C1BFAD.70405@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:QzPj4lNZ9hBCn350gqeMleuLcZeXvw9uat2bu36UrAy
	CkBuH+ujLhiJPl7AinRW3Mz71UzLmhep5LbFlp53bTEpaolQcI
	AFJVNY/ZT+sdxJsAdnXovPK29mg5zWGIoYeYgQejxdO7CDXeFl
	9EB/K/YNyhI+ju3yDuCMwKk6hWyuMzPUbECls/qS543NfLxd1A
	tVoIDh6ZlEJgBdSAzXnRpeQ2y2IfXF0L0OPZdlnD5aBXF3MEtM
	cA++8+1idghIjVq1UAknHQ4uNubCfHB3Sf1oyph+mBc+zlWfeG
	/kCtED2W/FiDdUGFZLdO+QxQ6iu/zNbOvWCUI+Lag/6YnIEDhT
	BlKrUt55E21QHU+wFLLiJpY4xOtc84jeLbudnZerY
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.186
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 13:06:41 -0000

On 12/07/2012 11:06 AM, Pádraig Brady wrote:
> On 12/07/2012 08:25 AM, Bernhard Voelker wrote:
>> Therefore this is my first test:
>>
>>    $ echo 11505426432 | src/numfmt
>>    11505426432
>>
>> Hmm, shouldn't it converting that to a human-readable
>> number then? 

> Heh, given my amendment above no 

what a pity ;-/

> It should probably also convert from 1,234 to 1234 also.

... depending on the locale, yes. E.g. in German (or European?)
locale it's 1.234 which equals 1234, but 1,234 is 1 + (234/1000).

Have a nice day,
Berny


From MAILER-DAEMON Fri Dec 07 10:08:14 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TgzXC-0003rh-17
	for mharc-coreutils@gnu.org; Fri, 07 Dec 2012 10:08:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42247)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgzX1-0003pB-Rn
	for coreutils@gnu.org; Fri, 07 Dec 2012 10:08:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgzWx-0006zd-3A
	for coreutils@gnu.org; Fri, 07 Dec 2012 10:08:03 -0500
Received: from mail-vb0-f41.google.com ([209.85.212.41]:54020)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TgzWw-0006zX-Qu
	for coreutils@gnu.org; Fri, 07 Dec 2012 10:07:59 -0500
Received: by mail-vb0-f41.google.com with SMTP id l22so611631vbn.0
	for <coreutils@gnu.org>; Fri, 07 Dec 2012 07:07:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=o2OY2MTH+zuko4VW+5S8bCa7yNhrmvYQOh469zLGkLo=;
	b=b7H5hieWeXTGqCOgdZS9PkBfLhmotHxaopniDv4YmYxintihGjaHTFlzOloor1zwlN
	83cqE35d+VsV9FLk3C2aNxqHFLd7RzmiBUaLLonv9WdEaHrVi9oBOUiISUEcQUtzf9j9
	XKzVpfzCTJHYVBK968ajxJ9J15mhumUN4lpHat9WvLbKEjNibqxceGYTfMrzXeif8v+5
	mhS3oYYqqkvoRn6+Eb6MjRXmhfsIFxBr08+pRT6WOHL8yn7QUTTPR4HyFwgMu1Tfalh+
	6XdZE8RrTQ4bRbqrRnH7UrbQ7xvT9rG/+y/qvt8w6zdkebFUUZRHdOOSFuP38LkYTpGt
	DZrQ==
Received: by 10.52.73.193 with SMTP id n1mr3483040vdv.109.1354892877815;
	Fri, 07 Dec 2012 07:07:57 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id a6sm4024836vdw.16.2012.12.07.07.07.56
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 07 Dec 2012 07:07:56 -0800 (PST)
Message-ID: <50C2064B.6050604@gmail.com>
Date: Fri, 07 Dec 2012 10:07:55 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com> <50C13176.9070901@draigBrady.com>
In-Reply-To: <50C13176.9070901@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.41
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 15:08:11 -0000

Thank you for your feedback.
I'm working on fixing those issues.


Some comments/questions:

P=E1draig Brady wrote, On 12/06/2012 06:59 PM:
> I noticed This command will core dump:
> $ /bin/ls -l | src/numfmt --to-unit=3D1 --field=3D5
> <snip>
> so I'm thinking `numfmt` should support --header too.
>=20
I'll add --header.


> The following should essentially be a noop with this data,
> but notice how the original spacing wasn't taken
> into account, and thus the alignment is broken:
>=20
> $ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to-unit=3D1 --field=3D=
5
> -rw-rw-r--.  1 padraig padraig 93787 Aug 23  2011 ABOUT-NLS
> -rw-rw-r--.  1 padraig padraig 49630 Dec  6 22:32 aclocal.m4
> -rw-rw-r--.  1 padraig padraig 3669 Dec  6 22:29 AUTHORS

I'm a bit wary of adding automatic/heuristic kind of padding - could lead=
 to some weird outputs,
and also (when combined with header) will not produce proper output (beca=
use the header will be skipped, but the lines would re-padded?).

Wouldn't it be better to either force the user to specify '--padding', or=
 switch from 'white-space' to an explicit delimiter, and then let "expand=
" handle the expanding correctly?

e.g.
=3D=3D=3D
$ cat white-space-data.txt | \
    sed 's/  */\t/g' | \
    numfmt --field=3D5 --delimiter=3D$'\t' --to=3DSI | \
    expand > output
=3D=3D=3D

A bit more convoluted, but more reliable?

>=20
> With this the alignment is broken as before,
> but I also notice the differing width output of each number.
>=20
> $ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DSI --field=3D5
> -rw-rw-r--.  1 padraig padraig 94k Aug 23  2011 ABOUT-NLS
> -rw-rw-r--.  1 padraig padraig 50k Dec  6 22:32 aclocal.m4
> -rw-rw-r--.  1 padraig padraig 3.7k Dec  6 22:29 AUTHORS
>=20

Again this is the automatic padding issue -
For example "94K" vs "3.7K" - should we always pad SI/IEC output to 5 cha=
racters (e.g. " 94K") even if the user didn't specify padding?
This would conflict with non-whitespace delimiters... e.g.:

Hello:94000:world

Would be converted to:

Hello:<space>94K:world

Which is not intuitive at all

Or perhaps the whole 'auto' padding should be enabled IFF delimiter is no=
t specified (and defaults to white-space) ?

>=20
> Notice in the above I've used capital K for SI.
> I think human() from gnulib may be using k for 1000 and K for 1024.
> That's non standard and ambiguous and I see no need to do that.

> So for IEC we'd have:
>=20
> $ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DIEC --field=3D5=

> -rw-rw-r--.  1 padraig padraig  3.6Ki Dec  6 22:29 AUTHORS
>=20

I tried to use 'human_readable()' as-is, but I guess this is not sufficie=
nt.
I'll duplicate the code, and modify it to avoid this issue (lower/upper c=
ase K, and the "i" suffix)

=20
> Another thing I thought of there, was it would be
> good to be able to parse number formats that it can generate:

Sounds like two separate (but related) issues:

> $ echo '1,234' | src/numfmt --from=3Dauto
> src/numfmt: invalid suffix in input '1,234': ',234'

1. Is there already a gnulib function that can accept locale-grouped valu=
es? can the "xstrtoXXX" functions handle that?

> $ echo '3.7K' | src/numfmt --from=3Dauto
> src/numfmt: invalid suffix in input '3.7K': '.7K'

2. Would you recommend switching internal representation to doubles (from=
 the current uintmax_t),
 or just add special code to detect decimal point (which, as Bernhard men=
tioned, is also locale dependent).

> While I said before it would be better to error rather than warn
> on parse error, on consideration it's probably best to write a
> warning to stderr on parse error, and leave the original number in plac=
e.

I'll change the code accordingly.=20


Regarding Bernhard's comments (from a different email):

Bernhard Voelker wrote, On 12/07/2012 03:25 AM:
> On 12/07/2012 12:59 AM, P=E1draig Brady wrote:
>=20
> Therefore this is my first test:
>   $ echo 11505426432 | src/numfmt
>   11505426432
> Hmm, shouldn't it converting that to a human-readable
> number then? ;-)

=46rom P=E1draig's original specification ( http://lists.gnu.org/archive/=
html/coreutils/2012-02/msg00085.html ) I assumed that the default of both=
 "--from" and "--to" is not to scale - So one needs to explicitly use "--=
to" or "--from".

But those defaults can be changed, if you prefer.

> Looking at scale_from_args: I'd favor lower-case arguments,
> i.e. "si" and "iec" instead of "SI" and "IEC".
> WDYT?

I'll change those.


Regarding the help text and documentation:
I copied many of the texts from previous emails (the "Reformat numbers li=
ke 11505426432 to the more human-readable 11G" comes verbatim from one of=
 Jim Meyering's emails) - all of them would require better phrasing later=
=2E


Thanks,
 -gordon






From MAILER-DAEMON Fri Dec 07 13:14:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Th2Ro-0000U0-D6
	for mharc-coreutils@gnu.org; Fri, 07 Dec 2012 13:14:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54484)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Th2Rl-0000Qq-Du
	for coreutils@gnu.org; Fri, 07 Dec 2012 13:14:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Th2Rj-0000M6-No
	for coreutils@gnu.org; Fri, 07 Dec 2012 13:14:49 -0500
Received: from mx1.redhat.com ([209.132.183.28]:54392)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Th2Me-0007dx-0T
	for coreutils@gnu.org; Fri, 07 Dec 2012 13:09:32 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB7I9Tm6011297
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 7 Dec 2012 13:09:29 -0500
Received: from [10.36.116.89] (ovpn-116-89.ams2.redhat.com [10.36.116.89])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB7I9R57015184
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 7 Dec 2012 13:09:28 -0500
Message-ID: <50C230D7.8060401@draigBrady.com>
Date: Fri, 07 Dec 2012 18:09:27 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Command-line program to convert 'human' sizes?
References: <50BE23EF.9080200@gmail.com> <50BE2531.2080508@draigBrady.com>
	<50BE5F43.7030503@gmail.com> <50BE7F7D.7010203@gmail.com>
	<50BE833A.8040900@draigBrady.com> <50BE88B3.3080307@gmail.com>
	<50BE9146.2080004@draigBrady.com> <87ip8hxsd4.fsf@rho.meyering.net>
	<50BE95D7.4080807@draigBrady.com> <50BE9BA2.70208@gmail.com>
	<50BEA26A.60905@draigBrady.com> <50BFD508.3010104@gmail.com>
	<50C00B85.2080803@gmail.com> <50C13176.9070901@draigBrady.com>
	<50C2064B.6050604@gmail.com>
In-Reply-To: <50C2064B.6050604@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB7I9Tm6011297
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 18:14:51 -0000

On 12/07/2012 03:07 PM, Assaf Gordon wrote:
> Thank you for your feedback.
> I'm working on fixing those issues.
>
>
> Some comments/questions:
>
> P=E1draig Brady wrote, On 12/06/2012 06:59 PM:
>> I noticed This command will core dump:
>> $ /bin/ls -l | src/numfmt --to-unit=3D1 --field=3D5
>> <snip>
>> so I'm thinking `numfmt` should support --header too.
>>
> I'll add --header.
>
>
>> The following should essentially be a noop with this data,
>> but notice how the original spacing wasn't taken
>> into account, and thus the alignment is broken:
>>
>> $ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to-unit=3D1 --field=
=3D5
>> -rw-rw-r--.  1 padraig padraig 93787 Aug 23  2011 ABOUT-NLS
>> -rw-rw-r--.  1 padraig padraig 49630 Dec  6 22:32 aclocal.m4
>> -rw-rw-r--.  1 padraig padraig 3669 Dec  6 22:29 AUTHORS
>
> I'm a bit wary of adding automatic/heuristic kind of padding - could le=
ad to some weird outputs,
> and also (when combined with header) will not produce proper output (be=
cause the header will be skipped, but the lines would re-padded?).

> Wouldn't it be better to either force the user to specify '--padding', =
or switch from 'white-space' to an explicit delimiter, and then let "expa=
nd" handle the expanding correctly?
>
> e.g.
> =3D=3D=3D
> $ cat white-space-data.txt | \
>      sed 's/  */\t/g' | \
>      numfmt --field=3D5 --delimiter=3D$'\t' --to=3DSI | \
>      expand > output
> =3D=3D=3D

That doesn't right align numbers unfortunately.

Skipping the header, means skipping the parsing,
but not necessarily skipping the repadding.
Repadding would handle most common cases easily.
I.E. when converting to one of the autoscaled formats,
these have a fixed with, so you could repad according to that.
In the uncommon case of going from autoscaled human format,
you don't know what any row may increase the column width to,
so you'd lose alignment in that case unless --padding was set.

> A bit more convoluted, but more reliable?
>
>>
>> With this the alignment is broken as before,
>> but I also notice the differing width output of each number.
>>
>> $ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DSI --field=3D5
>> -rw-rw-r--.  1 padraig padraig 94k Aug 23  2011 ABOUT-NLS
>> -rw-rw-r--.  1 padraig padraig 50k Dec  6 22:32 aclocal.m4
>> -rw-rw-r--.  1 padraig padraig 3.7k Dec  6 22:29 AUTHORS
>>
>
> Again this is the automatic padding issue -
> For example "94K" vs "3.7K" - should we always pad SI/IEC output to 5 c=
haracters (e.g. " 94K") even if the user didn't specify padding?
> This would conflict with non-whitespace delimiters... e.g.:
>
> Hello:94000:world
>
> Would be converted to:
>
> Hello:<space>94K:world
>
> Which is not intuitive at all
>
> Or perhaps the whole 'auto' padding should be enabled IFF delimiter is =
not specified (and defaults to white-space) ?

Right, that makes sense.

>> Notice in the above I've used capital K for SI.
>> I think human() from gnulib may be using k for 1000 and K for 1024.
>> That's non standard and ambiguous and I see no need to do that.
>
>> So for IEC we'd have:
>>
>> $ /bin/ls -l | tail -n+2 | head -n3 | src/numfmt --to=3DIEC --field=3D=
5
>> -rw-rw-r--.  1 padraig padraig  3.6Ki Dec  6 22:29 AUTHORS
>>
>
> I tried to use 'human_readable()' as-is, but I guess this is not suffic=
ient.
> I'll duplicate the code, and modify it to avoid this issue (lower/upper=
 case K, and the "i" suffix)

Cool, we can look at merging it back after.
Please modify with a view to explicitly selecting
the new behaviour so as to ease remerging with gnulib

>> Another thing I thought of there, was it would be
>> good to be able to parse number formats that it can generate:
>
> Sounds like two separate (but related) issues:
>
>> $ echo '1,234' | src/numfmt --from=3Dauto
>> src/numfmt: invalid suffix in input '1,234': ',234'
>
> 1. Is there already a gnulib function that can accept locale-grouped va=
lues? can the "xstrtoXXX" functions handle that?

I was thinking you would just strip out
localeconv()->thousands_sep before parsing.

>> $ echo '3.7K' | src/numfmt --from=3Dauto
>> src/numfmt: invalid suffix in input '3.7K': '.7K'
>
> 2. Would you recommend switching internal representation to doubles (fr=
om the current uintmax_t),
>   or just add special code to detect decimal point (which, as Bernhard =
mentioned, is also locale dependent).

Yes I think parsing to doubles would be most general.
There is also the consideration of arbitrary-precision arithmetic,
but again that can be considered later.

>> While I said before it would be better to error rather than warn
>> on parse error, on consideration it's probably best to write a
>> warning to stderr on parse error, and leave the original number in pla=
ce.
>
> I'll change the code accordingly.
>
>
> Regarding Bernhard's comments (from a different email):
>
> Bernhard Voelker wrote, On 12/07/2012 03:25 AM:
>> On 12/07/2012 12:59 AM, P=E1draig Brady wrote:
>>
>> Therefore this is my first test:
>>    $ echo 11505426432 | src/numfmt
>>    11505426432
>> Hmm, shouldn't it converting that to a human-readable
>> number then? ;-)
>
>  From P=E1draig's original specification ( http://lists.gnu.org/archive=
/html/coreutils/2012-02/msg00085.html ) I assumed that the default of bot=
h "--from" and "--to" is not to scale - So one needs to explicitly use "-=
-to" or "--from".
>
> But those defaults can be changed, if you prefer.
>
>> Looking at scale_from_args: I'd favor lower-case arguments,
>> i.e. "si" and "iec" instead of "SI" and "IEC".
>> WDYT?
>
> I'll change those.
>
>
> Regarding the help text and documentation:
> I copied many of the texts from previous emails (the "Reformat numbers =
like 11505426432 to the more human-readable 11G" comes verbatim from one =
of Jim Meyering's emails) - all of them would require better phrasing lat=
er.


thanks,
P=E1draig.


From MAILER-DAEMON Fri Dec 07 15:48:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Th4qv-0002WF-PJ
	for mharc-coreutils@gnu.org; Fri, 07 Dec 2012 15:48:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56079)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Th4qt-0002Ul-Or
	for coreutils@gnu.org; Fri, 07 Dec 2012 15:48:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Th4qs-0006bo-IT
	for coreutils@gnu.org; Fri, 07 Dec 2012 15:48:55 -0500
Received: from moutng.kundenserver.de ([212.227.17.9]:61350)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Th4qs-0006bk-8Z
	for coreutils@gnu.org; Fri, 07 Dec 2012 15:48:54 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis)
	id 0McRqW-1TPPTV3sZ6-00I12s; Fri, 07 Dec 2012 21:48:50 +0100
Message-ID: <50C25631.40801@bernhard-voelker.de>
Date: Fri, 07 Dec 2012 21:48:49 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>, 
	Ondrej Oprala <ooprala@redhat.com>
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
	<50BCEABD.3010004@redhat.com>
	<50BDB07D.8090500@bernhard-voelker.de>
	<87zk1ty92o.fsf@rho.meyering.net>
	<50BEA356.7020306@bernhard-voelker.de>
	<50BF07BA.1000808@redhat.com>
	<50C23531.5080303@bernhard-voelker.de>
	<50C238E2.8050602@draigBrady.com>
In-Reply-To: <50C238E2.8050602@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:XBk0sHqhLpZ6q9aMoVAmdA5wrOzJVryrhS2LfYy4JNP
	XUZrq9WVmKWW74RWN7JRkPuZb1KvFDbt7UMaKfpgE5BZYuwHWR
	J2MUkBWvfbZxd0y0zkmMNPHiLe9iNn+iqIaMlTW9oPe4yDF+Oz
	JOuCk1NggcWm7A42Hppn/63aEHNjLTxsSLy1DkldDH9f2nxEk7
	qBRw1pfAEmSJzTlMukTwuq7x9b2L76BluW6Pe35Uvw7TQeGPx+
	/bvoB6boalfXbWclnFZpbT3UbZNjSfdFivS6mZZerAwLSIfMdS
	TOIZcB2GfSlRmUMO8EhSqcKiv6w4gIQMmgDDMVJ2M/x/OucbLr
	Z3Oefc/Qry0KGOhhwWUZbUJ1mjAYJZMnZCQui8rES
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.9
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Dec 2012 20:48:56 -0000

re-adding the list.

On 12/07/2012 07:43 PM, Pádraig Brady wrote:
> On 12/07/2012 06:28 PM, Bernhard Voelker wrote:
>> On 12/05/2012 09:37 AM, Ondrej Oprala wrote:
>>> On 12/05/2012 02:28 AM, Bernhard Voelker wrote:
>>>> Ondrej (and others): WDYT?
>>> Looks good to me :) .
>>
>> Shall I push?
> 
> I've not time to analyze this unfortunately.
> If you're happy with it, then push away.
> I'll have a quick review before the next release.

Okay, then it's better I push, so that e.g. Hydra builds
have a chance to find problem.

Pushed:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=10d35b43

Thank you & have a nice day,
Berny


From MAILER-DAEMON Sat Dec 08 13:27:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThP76-0007iH-Oy
	for mharc-coreutils@gnu.org; Sat, 08 Dec 2012 13:27:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38154)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThP72-0007gQ-Vi
	for coreutils@gnu.org; Sat, 08 Dec 2012 13:26:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThP71-0007vc-7n
	for coreutils@gnu.org; Sat, 08 Dec 2012 13:26:56 -0500
Received: from moutng.kundenserver.de ([212.227.17.8]:57391)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThP70-0007tH-V3
	for coreutils@gnu.org; Sat, 08 Dec 2012 13:26:55 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis)
	id 0MEcen-1Twaai1I89-00FsT5; Sat, 08 Dec 2012 19:26:53 +0100
Message-ID: <50C3866C.6080809@bernhard-voelker.de>
Date: Sat, 08 Dec 2012 19:26:52 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: df vs. stat: fstype different
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:VbmZO/PAS6CdKMj+uI6n7ToyfhQ409xkmAd6H3p2Mre
	ri7CxGyTxXn9xmbjBffhhq+6Qg4lavYreuyXAD0iOUAIC2o49y
	hLa/HQ+l3NgF9ve1tbVlwHIfHj0DYSoF3gKbzA0QApmfIYG1T6
	2eOhE1OSFVLsziwuSDYq2OzETuIF6eLyXcwDdIFTaHoQqJBtoM
	AA2NWiG55bIPW3nOKNpQWz6SRX9SSG63yYz0789KTp6rrxnJCZ
	YTFEqW0nzbkqbYMK7WRppoesURbCq08QYU4Zg2QYJLE/0YmTGP
	5M4oyhq3xtrR/bNPE43nmNP1sbANHCMlZJyyF7o+Anxhx8dlWy
	WmbIV9bR9zsXmqwP4kc4Guq71YQh1nvkGa2vbrzuJ
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.8
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Dec 2012 18:26:59 -0000

How can the file system type be different in df and stat?

Test case: a share of the VirtualBox host mounted in the client.
VBox host: Windows 7, i.e. the physical file system is NTFS.
VBox VM: OpenSuSE-12.2.
The host's share is mounted with file system type "vboxsf"
which shown like that by df:

  $ src/df -hT  ~/share/.
  Filesystem     Type    Size  Used Avail Use% Mounted on
  none           vboxsf  183G  170G   14G  93% /home/berny/share

However, this is what stat reports:

  $ src/stat -c "%t %T" -f ~/share/.
  6969 nfs

The statfs call is used by both commands and returns NFS:

  statfs("/home/berny/share", {f_type="NFS_SUPER_MAGIC", ...}) = 0

But how can that happen? I know, /proc/self/mounts contains
"vboxsf" which is used by df, but why does statfs return "nfs"?

Have a nice day,
Berny




From MAILER-DAEMON Sat Dec 08 14:08:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThPkm-0006O9-A9
	for mharc-coreutils@gnu.org; Sat, 08 Dec 2012 14:08:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43568)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThPkk-0006O3-CV
	for coreutils@gnu.org; Sat, 08 Dec 2012 14:07:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThPkj-0000YJ-35
	for coreutils@gnu.org; Sat, 08 Dec 2012 14:07:58 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:52977)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThPki-0000XO-PH
	for coreutils@gnu.org; Sat, 08 Dec 2012 14:07:57 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis)
	id 0Lmgbf-1T7G3M3ODL-00Zp58; Sat, 08 Dec 2012 20:07:55 +0100
Message-ID: <50C3900B.2030505@bernhard-voelker.de>
Date: Sat, 08 Dec 2012 20:07:55 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: [PATCH] stat: replace file system type "ext2/ext3" by "ext2/ext3/ext4"
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:5D8yDgHslye/BKKB1vVjxErYS4Dtl1YE/L8BmsBYzAN
	KhGELG8TCpB6MJon+/Qu2Ff35Iwq8Zvm/b2QoHtcm+XCgaO9xS
	lEv5uaLKGbqkyWODXFGedSEL/bd1lPKOLmOFHR/bFryqNn0dw/
	lWHdJ3Or+cL7N8jz68gKgbtqdkQuF6uxi5Aw+nP5PQ2Ixo7QQr
	11jptYllUIw+iAPCxlu/4zDjKrBYEfw3z3oKMeJIUDVQCu4pPP
	e4/FCxbazKyQN1r+n062DKTlpHumQ2gVCVYYGc0KduQ6CY+uVE
	xZVhu8ot9kWKRhigCbWacmScL9zgzCFEnH4wA23Nlm86ykgHWH
	g3OZ0I0EERKwPGKAtnozCgXTndKlIKfpCZ6UnxBPP
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Dec 2012 19:07:59 -0000

I noticed that my ext4 file system was reported as
"ext2/ext3" by "stat -f". Would it harm to add "ext4"?

Have a nice day,
Berny

>From 12056448f26596cb620e7e5fb62636a1dd05bf1f Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
Date: Sat, 8 Dec 2012 19:59:17 +0100
Subject: [PATCH] stat: replace file system type "ext2/ext3" by
 "ext2/ext3/ext4"

* src/stat.c (human_fstype): Do the above replacement in the
Linux case S_MAGIC_EXT2 and in the GNU case FSTYPE_EXT2FS.
* NEWS (Changes in behavior): Mention the change.
---
 NEWS       |    3 +++
 src/stat.c |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 0e1414c..20ec3f7 100644
--- a/NEWS
+++ b/NEWS
@@ -52,6 +52,9 @@ GNU coreutils NEWS                                    -*- outline -*-
   nl no longer supports the --page-increment option which was deprecated
   since coreutils-7.5.  Use --line-increment instead.

+  stat -f now reports the file system type 0xEF53 as "ext2/ext3/ext4".
+  Before, it would only print "ext2/ext3".
+
 ** Build-related

   Perl is now more of a prerequisite.  It has long been required in order
diff --git a/src/stat.c b/src/stat.c
index 51f4b90..3df89f8 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -291,7 +291,7 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
     case S_MAGIC_EXT: /* 0x137D local */
       return "ext";
     case S_MAGIC_EXT2: /* 0xEF53 local */
-      return "ext2/ext3";
+      return "ext2/ext3/ext4";
     case S_MAGIC_EXT2_OLD: /* 0xEF51 local */
       return "ext2";
     case S_MAGIC_FAT: /* 0x4006 local */
@@ -478,7 +478,7 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
     case FSTYPE_MISC:
       return "misc";
     case FSTYPE_EXT2FS:
-      return "ext2/ext3";
+      return "ext2/ext3/ext4";
     case FSTYPE_HTTP:
       return "http";
     case FSTYPE_MEMFS:
-- 
1.7.7



From MAILER-DAEMON Sat Dec 08 15:18:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThQqw-0006DE-79
	for mharc-coreutils@gnu.org; Sat, 08 Dec 2012 15:18:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52290)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThQqt-0006D8-9U
	for coreutils@gnu.org; Sat, 08 Dec 2012 15:18:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThQqr-00089x-Fm
	for coreutils@gnu.org; Sat, 08 Dec 2012 15:18:23 -0500
Received: from moutng.kundenserver.de ([212.227.17.8]:52775)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThQqr-00089r-5d
	for coreutils@gnu.org; Sat, 08 Dec 2012 15:18:21 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0Lapqe-1TJ4Oi08Mq-00krBR; Sat, 08 Dec 2012 21:18:20 +0100
Message-ID: <50C3A08B.3080803@bernhard-voelker.de>
Date: Sat, 08 Dec 2012 21:18:19 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: [PATCH] df: add --without-header option
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:0sCe4L7q5JVSzltevLSD/toxOhs6VSWjryEK7BpZiP8
	TUES+7mchr0419erx9l2LJibRfGQuQGe39DyrYAfk5jniyOSjP
	mzseGmCoWz5zkIQ+QvziA9kMtjdcRw4r9N0AalNHNB9G6KE8Qw
	38DeNX/h1OYA479OW5viPQzzRhVWQ6MZQ/Y47dD1uMlIgKd2xq
	aKp4iZUOxSnErMzGxqNrKemFAp1M+CQB2zRH4mhSulgENoMPkX
	OXoTG9J/Z6jwJVNbJi1gEtf0WaTWkDhwWE8+kujx5/Rn5Th6f4
	ZXw8NnM2DDiB9H41MVu+ZxDbAjCEygdEsUi/eUB7ps+A1N5fJg
	RE0C+j40L6e/cNbcPE8oGsGyPQ6E8N5qg5qUT5ooS
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.8
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Dec 2012 20:18:24 -0000

I wondered if it would be useful in some cases
to suppress the header line in df.

Looking at the already-used options and how they start,
I took "--without-header" which can be abbreviated by
"--w". WDYT?

Have a nice day,
Berny


>From da7f50ad55ca73c0e336b42216847132e963ed42 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
Date: Sat, 8 Dec 2012 21:13:25 +0100
Subject: [PATCH] df: add --without-header option

* src/df.c (WITHOUT_HEADER_OPTION): Add new enum.
(long_options): Add "without-header" array element.
(usage): Add description of --without-header option.
(main): Define boolean without_header, and set it to
true when the --without-header option is specified.
Call get_header() only if without_header is false.
* tests/df/without-header.sh: Add new test to exercise
the behaviour of the new option.
* tests/local.mk: Add the above test.
* doc/coreutils.texi (df invocation): Document the new option.
* NEWS (New features): Mention it.
---
 NEWS                       |    2 ++
 doc/coreutils.texi         |    5 +++++
 src/df.c                   |   13 ++++++++++++-
 tests/df/without-header.sh |   36 ++++++++++++++++++++++++++++++++++++
 tests/local.mk             |    1 +
 5 files changed, 56 insertions(+), 1 deletions(-)
 create mode 100755 tests/df/without-header.sh

diff --git a/NEWS b/NEWS
index 0e1414c..173119f 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,8 @@ GNU coreutils NEWS                                    -*- outline -*-
   to include in the output, or all available columns if the FIELD_LIST is
   omitted.  Note this enables df to output both block and inode fields together.

+  df now accepts the --without-header option to omit the header line.
+
 ** Bug fixes

   cut no longer accepts the invalid range 0-, which made it print empty lines.
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 21400ad..97371d8 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10846,6 +10846,11 @@ An MS-DOS file system, usually on a diskette.

 @end table

+@item --without-header
+@opindex --without-header
+Omit the header line. This can be useful for scripts to parse @command{df}'s
+output.
+
 @item -x @var{fstype}
 @itemx --exclude-type=@var{fstype}
 @opindex -x
diff --git a/src/df.c b/src/df.c
index 63c8b31..9dbce4e 100644
--- a/src/df.c
+++ b/src/df.c
@@ -246,6 +246,7 @@ enum
   SYNC_OPTION,
   TOTAL_OPTION,
   OUTPUT_OPTION,
+  WITHOUT_HEADER_OPTION,
   MEGABYTES_OPTION  /* FIXME: remove long opt in Aug 2013 */
 };

@@ -265,6 +266,7 @@ static struct option const long_options[] =
   {"no-sync", no_argument, NULL, NO_SYNC_OPTION},
   {"total", no_argument, NULL, TOTAL_OPTION},
   {"type", required_argument, NULL, 't'},
+  {"without-header", no_argument, NULL, WITHOUT_HEADER_OPTION},
   {"exclude-type", required_argument, NULL, 'x'},
   {GETOPT_HELP_OPTION_DECL},
   {GETOPT_VERSION_OPTION_DECL},
@@ -1204,6 +1206,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
       --sync            invoke sync before getting usage info\n\
   -t, --type=TYPE       limit listing to file systems of type TYPE\n\
   -T, --print-type      print file system type\n\
+      --without-header  omit header line\n\
   -x, --exclude-type=TYPE   limit listing to file systems not of type TYPE\n\
   -v                    (ignored)\n\
 "), stdout);
@@ -1248,6 +1251,9 @@ main (int argc, char **argv)
   /* If true, use the POSIX output format.  */
   bool posix_format = false;

+  /* If true, do not print the header line.  */
+  bool without_header = false;
+
   const char *msg_mut_excl = _("options %s and %s are mutually exclusive");

   while (true)
@@ -1338,6 +1344,9 @@ main (int argc, char **argv)
         case 'v':		/* For SysV compatibility.  */
           /* ignore */
           break;
+        case WITHOUT_HEADER_OPTION:
+          without_header = true;
+          break;
         case 'x':
           add_excluded_fs_type (optarg);
           break;
@@ -1473,7 +1482,9 @@ main (int argc, char **argv)
     sync ();

   get_field_list ();
-  get_header ();
+
+  if (!without_header)
+    get_header ();

   if (optind < argc)
     {
diff --git a/tests/df/without-header.sh b/tests/df/without-header.sh
new file mode 100755
index 0000000..9fcfb88
--- /dev/null
+++ b/tests/df/without-header.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Test behavior of df --without-header.
+
+# Copyright (C) 2012 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ df
+
+# With header.
+df --output=fstype '.' >out || fail=1
+grep '^Type' out || fail=1
+sed '1d' out > exp
+
+# Without header.
+df --without-header --output=fstype '.' >out2 || fail=1
+grep '^Type' out2 && fail=1
+compare exp out2 || { fail=1; cat out2; }
+
+# Ensure that --without-header is mentioned in the usage.
+df --help > out || fail=1
+grep ' --without-header ' out || { fail=1; cat out; }
+
+Exit $fail
diff --git a/tests/local.mk b/tests/local.mk
index d5bb6f7..5168dac 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -459,6 +459,7 @@ all_tests =					\
   tests/df/no-mtab-status.sh			\
   tests/df/skip-duplicates.sh			\
   tests/df/skip-rootfs.sh			\
+  tests/df/without-header.sh			\
   tests/dd/direct.sh				\
   tests/dd/misc.sh				\
   tests/dd/nocache.sh				\
-- 
1.7.7



From MAILER-DAEMON Sun Dec 09 07:03:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Thfb3-0006Ed-CI
	for mharc-coreutils@gnu.org; Sun, 09 Dec 2012 07:03:01 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37937)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Thfb0-0006Dj-6q
	for coreutils@gnu.org; Sun, 09 Dec 2012 07:02:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Thfaz-0007Bs-5D
	for coreutils@gnu.org; Sun, 09 Dec 2012 07:02:58 -0500
Received: from mx1.redhat.com ([209.132.183.28]:24430)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Thfay-0007Bk-Tt
	for coreutils@gnu.org; Sun, 09 Dec 2012 07:02:57 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB9C2lFU004597
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sun, 9 Dec 2012 07:02:47 -0500
Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB9C2hAr017376
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sun, 9 Dec 2012 07:02:46 -0500
Message-ID: <50C47DE3.7080901@draigBrady.com>
Date: Sun, 09 Dec 2012 12:02:43 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH] df: add --without-header option
References: <50C3A08B.3080803@bernhard-voelker.de>
In-Reply-To: <50C3A08B.3080803@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB9C2lFU004597
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Dec 2012 12:03:00 -0000

On 12/08/2012 08:18 PM, Bernhard Voelker wrote:
> I wondered if it would be useful in some cases
> to suppress the header line in df.
>
> Looking at the already-used options and how they start,
> I took "--without-header" which can be abbreviated by
> "--w". WDYT?

Thanks for the patch.

It's easy to implement/add but I'm 60:40 against doing so because,
it's not often needed with df. If it is needed then
one can always tail -n+2, which while a bit more inefficient
in the general case as a data copy is involved between two processes,
with the amount of data typically output from df, this isn't
a practical concern.

Where --header options can be useful is on the consumer side,
where the filter can skip _but also preserve_ the header line(s).

thanks,
P=E1draig.


From MAILER-DAEMON Sun Dec 09 07:06:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThfeH-0006h6-Pj
	for mharc-coreutils@gnu.org; Sun, 09 Dec 2012 07:06:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38285)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1ThfeF-0006gT-PL
	for coreutils@gnu.org; Sun, 09 Dec 2012 07:06:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1ThfeE-0007yE-FS
	for coreutils@gnu.org; Sun, 09 Dec 2012 07:06:19 -0500
Received: from mx1.redhat.com ([209.132.183.28]:15594)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1ThfeE-0007y9-6q
	for coreutils@gnu.org; Sun, 09 Dec 2012 07:06:18 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB9C6F7k025032
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sun, 9 Dec 2012 07:06:15 -0500
Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qB9C6D8D029197
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sun, 9 Dec 2012 07:06:14 -0500
Message-ID: <50C47EB5.4070109@draigBrady.com>
Date: Sun, 09 Dec 2012 12:06:13 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH] stat: replace file system type "ext2/ext3" by
	"ext2/ext3/ext4"
References: <50C3900B.2030505@bernhard-voelker.de>
In-Reply-To: <50C3900B.2030505@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB9C6F7k025032
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Dec 2012 12:06:21 -0000

On 12/08/2012 07:07 PM, Bernhard Voelker wrote:
> I noticed that my ext4 file system was reported as
> "ext2/ext3" by "stat -f". Would it harm to add "ext4"?
>
> Have a nice day,
> Berny
>
>>From 12056448f26596cb620e7e5fb62636a1dd05bf1f Mon Sep 17 00:00:00 2001
> From: Bernhard Voelker <mail@bernhard-voelker.de>
> Date: Sat, 8 Dec 2012 19:59:17 +0100
> Subject: [PATCH] stat: replace file system type "ext2/ext3" by
>   "ext2/ext3/ext4"
>
> * src/stat.c (human_fstype): Do the above replacement in the
> Linux case S_MAGIC_EXT2 and in the GNU case FSTYPE_EXT2FS.
> * NEWS (Changes in behavior): Mention the change.
> ---
>   NEWS       |    3 +++
>   src/stat.c |    4 ++--
>   2 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/NEWS b/NEWS
> index 0e1414c..20ec3f7 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -52,6 +52,9 @@ GNU coreutils NEWS                                   =
 -*- outline -*-
>     nl no longer supports the --page-increment option which was depreca=
ted
>     since coreutils-7.5.  Use --line-increment instead.
>
> +  stat -f now reports the file system type 0xEF53 as "ext2/ext3/ext4".
> +  Before, it would only print "ext2/ext3".
> +
>   ** Build-related
>
>     Perl is now more of a prerequisite.  It has long been required in o=
rder
> diff --git a/src/stat.c b/src/stat.c
> index 51f4b90..3df89f8 100644
> --- a/src/stat.c
> +++ b/src/stat.c
> @@ -291,7 +291,7 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
>       case S_MAGIC_EXT: /* 0x137D local */
>         return "ext";
>       case S_MAGIC_EXT2: /* 0xEF53 local */
> -      return "ext2/ext3";
> +      return "ext2/ext3/ext4";
>       case S_MAGIC_EXT2_OLD: /* 0xEF51 local */
>         return "ext2";
>       case S_MAGIC_FAT: /* 0x4006 local */
> @@ -478,7 +478,7 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
>       case FSTYPE_MISC:
>         return "misc";
>       case FSTYPE_EXT2FS:
> -      return "ext2/ext3";
> +      return "ext2/ext3/ext4";
>       case FSTYPE_HTTP:
>         return "http";
>       case FSTYPE_MEMFS:
>

Yes that is tempting, however...
http://lists.gnu.org/archive/html/bug-coreutils/2009-02/threads.html#0016=
0

cheers,
P=E1draig.


From MAILER-DAEMON Sun Dec 09 11:21:39 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThjdL-0003nv-Rv
	for mharc-coreutils@gnu.org; Sun, 09 Dec 2012 11:21:39 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42073)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThjdK-0003nn-0R
	for coreutils@gnu.org; Sun, 09 Dec 2012 11:21:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThjdI-0006xo-8d
	for coreutils@gnu.org; Sun, 09 Dec 2012 11:21:37 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:60922)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThjdH-0006xa-VU
	for coreutils@gnu.org; Sun, 09 Dec 2012 11:21:36 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis)
	id 0LqHAa-1TCmXF1Kka-00eGIm; Sun, 09 Dec 2012 17:21:33 +0100
Message-ID: <50C4BA8C.8020303@bernhard-voelker.de>
Date: Sun, 09 Dec 2012 17:21:32 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: [PATCH] stat: replace file system type "ext2/ext3" by
	"ext2/ext3/ext4"
References: <50C3900B.2030505@bernhard-voelker.de>
	<50C47EB5.4070109@draigBrady.com>
In-Reply-To: <50C47EB5.4070109@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:Sy8gJUomcb7amMEE+w1aFV5FH2UaC27fEmt2eNjTN+p
	yQgef7nv4RKIoKkxg3VZV1Zh8r/nSC50tOYeMODTlSuvYGY9O0
	somMR6dJoLgRHrNZ9x+gfapoec5TyIK71A7geNA3jbTMofNRJr
	uJfrOVO8PZ9TOyp9wGubEjYzt3C49hP9aPTGb7vPsyMYCUkKTZ
	Gcx87rWq5gncvcmnyWtz93cAdE3UwOczN+ZlNCI2FkrZucuDQ5
	0AlvAhRHetOkALKmjFi5XDdlFRihQd6cifcQpyMOEWSwLu7wWI
	JueDo0qvInLs0CavNocOrh6ikA5QHAgajrw9/mIhx6doOOG/pO
	hwMVRbAid6s6jVwG+P6lPp9VyF+RIOAa2GBZiNzFd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Dec 2012 16:21:39 -0000

On 12/09/2012 01:06 PM, Pádraig Brady wrote:
> Yes that is tempting, however...
> http://lists.gnu.org/archive/html/bug-coreutils/2009-02/threads.html#00160

Hmm, right - util-linux has such code to distinguish between ext2/3/4.

Have a nice day,
Berny


From MAILER-DAEMON Sun Dec 09 12:03:47 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThkI7-0005O5-1I
	for mharc-coreutils@gnu.org; Sun, 09 Dec 2012 12:03:47 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49016)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThkI4-0005Nq-UD
	for coreutils@gnu.org; Sun, 09 Dec 2012 12:03:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThkI3-0000AT-Pc
	for coreutils@gnu.org; Sun, 09 Dec 2012 12:03:44 -0500
Received: from moutng.kundenserver.de ([212.227.17.8]:55440)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1ThkI3-0000AL-GF
	for coreutils@gnu.org; Sun, 09 Dec 2012 12:03:43 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0MBo1b-1TqIrR0Ra3-00AQLE; Sun, 09 Dec 2012 18:03:42 +0100
Message-ID: <50C4C46D.9030706@bernhard-voelker.de>
Date: Sun, 09 Dec 2012 18:03:41 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: [PATCH] df: add --without-header option
References: <50C3A08B.3080803@bernhard-voelker.de>
	<50C47DE3.7080901@draigBrady.com>
In-Reply-To: <50C47DE3.7080901@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:xKyJr6Bu70pxUbvusBwi5VnmOxE69Fre8CH6dkGZV1y
	vQlqUFzQp9aiVIjy7zukwoaRqYvfgP9BJz70/0p9D/QB9ypYTc
	/Q8w5O/HSNU8C3q48uBhCeP7yRgpz0474/qIg8Oqa0aSpNWHwi
	7djvlvirJnaNTqlG9zAgjjPdSBOmTd+5Hknf5cLGgBXODbmLLu
	7FEdldSc5nJXlpvQbP8Crg1/WAeljOtBn8k7Hdo3ZqAtRmXSaV
	S31vkZ1Q2r8egCkPNo74S6DK42ioLMbudw4ZQNkzuhUopbxGNv
	OTsgNHHTNTKXGHAhQ11dE7jGjCeLHac10B4NcBaZerOEtGYZaa
	OGSKDd0QKsx3UPaL8vOThTDhf1HQGqozo2XpP7Ks0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.8
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Dec 2012 17:03:45 -0000

On 12/09/2012 01:02 PM, Pádraig Brady wrote:
> On 12/08/2012 08:18 PM, Bernhard Voelker wrote:
>> I wondered if it would be useful in some cases
>> to suppress the header line in df.
>>
>> Looking at the already-used options and how they start,
>> I took "--without-header" which can be abbreviated by
>> "--w". WDYT?
> 
> Thanks for the patch.
> 
> It's easy to implement/add but I'm 60:40 against doing so because,
> it's not often needed with df. If it is needed then
> one can always tail -n+2, which while a bit more inefficient
> in the general case as a data copy is involved between two processes,
> with the amount of data typically output from df, this isn't
> a practical concern.

Thanks, thinking about it, you're right - even the test
showed that skipping the header is easy:
  $ df | sed 1d

Have a nice day,
Berny


From MAILER-DAEMON Sun Dec 09 14:14:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ThmKK-0003ZW-T2
	for mharc-coreutils@gnu.org; Sun, 09 Dec 2012 14:14:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41146)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <xojoc@gmx.com>) id 1ThjYS-00031a-3D
	for coreutils@gnu.org; Sun, 09 Dec 2012 11:16:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <xojoc@gmx.com>) id 1ThjYP-0005jV-Fp
	for coreutils@gnu.org; Sun, 09 Dec 2012 11:16:36 -0500
Received: from mailout-eu.gmx.com ([213.165.64.42]:42613)
	by eggs.gnu.org with smtp (Exim 4.71) (envelope-from <xojoc@gmx.com>)
	id 1ThjYP-0005j6-5P
	for coreutils@gnu.org; Sun, 09 Dec 2012 11:16:33 -0500
Received: (qmail invoked by alias); 09 Dec 2012 16:16:30 -0000
Received: from unknown (EHLO smag-R59-R60-R61) [151.65.149.48]
	by mail.gmx.com (mp-eu006) with SMTP; 09 Dec 2012 17:16:30 +0100
X-Authenticated: #130707387
X-Provags-ID: V01U2FsdGVkX18iKRYPVT8ivbruVwi1ianIgj4+UIHQ55gcnmgGAj
	9bYE6y6pwO17/7
Date: Sun, 9 Dec 2012 17:16:51 +0100
From: Cojocaru Alexandru <xojoc@gmx.com>
To: coreutils@gnu.org
Subject: When and how often to check for output errors?
Message-Id: <20121209171651.ca19c80386183833683a3fd1@gmx.com>
X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.13; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 213.165.64.42
X-Mailman-Approved-At: Sun, 09 Dec 2012 14:14:11 -0500
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: xojoc@gmx.com
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Dec 2012 16:16:39 -0000

Cut never checks error reported by fwrite and putchar. The error checking is done by close_stdout.
Paste checks for each and every call to putchar and fwrite (which IMHO is overkill).

What should be the correct behaviour? Check each call, or let it be done by close_stdout? Or just check after processing a single file?

Best regards,
Cojocaru Alexandru


From MAILER-DAEMON Sun Dec 09 17:00:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Thouy-0001SX-IG
	for mharc-coreutils@gnu.org; Sun, 09 Dec 2012 17:00:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47459)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Thouu-0001R0-BL
	for coreutils@gnu.org; Sun, 09 Dec 2012 17:00:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Thoum-0002Rz-7P
	for coreutils@gnu.org; Sun, 09 Dec 2012 17:00:07 -0500
Received: from mx1.redhat.com ([209.132.183.28]:57119)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Thoul-0002Rv-Vb
	for coreutils@gnu.org; Sun, 09 Dec 2012 17:00:00 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qB9LxumT009012
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sun, 9 Dec 2012 16:59:56 -0500
Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qB9Lxs21005155
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 9 Dec 2012 16:59:55 -0500
Message-ID: <50C509D9.7010004@draigBrady.com>
Date: Sun, 09 Dec 2012 21:59:53 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: xojoc@gmx.com
Subject: Re: When and how often to check for output errors?
References: <20121209171651.ca19c80386183833683a3fd1@gmx.com>
In-Reply-To: <20121209171651.ca19c80386183833683a3fd1@gmx.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qB9LxumT009012
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Dec 2012 22:00:10 -0000

On 12/09/2012 04:16 PM, Cojocaru Alexandru wrote:
> Cut never checks error reported by fwrite and putchar. The error checki=
ng is done by close_stdout.
> Paste checks for each and every call to putchar and fwrite (which IMHO =
is overkill).
>
> What should be the correct behaviour? Check each call, or let it be don=
e by close_stdout? Or just check after processing a single file?
>
> Best regards,
> Cojocaru Alexandru

Good question.

It's a trade off between maintainability and precise errors.
Checking every output function in addition to using close_stdout,
will ensure precise errors in all edge cases,
while just relying on close_stdout will always diagnose errors,
though in certain edge cases not with a precise error message.
Details at:
http://www.gnu.org/ghm/2011/paris/slides/jim-meyering-goodbye-world.pdf

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 11 11:17:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiSWa-0006d1-O6
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 11:17:40 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59485)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiSWT-0006Yt-5s
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:17:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiSWJ-0000KT-LO
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:17:33 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:46002)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiSWJ-0000KN-Gg
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:17:23 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so4490985vcb.0
	for <coreutils@gnu.org>; Tue, 11 Dec 2012 08:17:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=Dn6R1BEDK0ewHhWrZb8r4y5/DWuzu1IDQBqZN3IiMD0=;
	b=DEi5iiSgIfHk2mYe38eLUvT8ZXWQ22rNDZEWRO9JLI95qgsqm9duZLSMEQLMyZVNjC
	+6qFI+zeLuXTnwANdMSt3HCW+a4d3/wcpBcwpQY44MRMsI2iavFzjGYv+vGRWNfWr3D7
	KPW/pCexCdJkdAgL9sYTTZPPM1CNs1vEU9c8ljncsn5pY5fKlClKp+1A7DyE/PHEzuTi
	9TK/9NkWtiAeum39/6+0pwEOafiAyJKf73XA5j8xYNynC2Tcy/PBu8YMmZAaUMae6ZFZ
	wpbDwxdbePZFdpb2Z8Zum+lIGzOLAdgY/jN4pc5HNjz0wSHJEweqzOdzTpM5Ol99YX96
	Vrfw==
Received: by 10.52.175.106 with SMTP id bz10mr7043124vdc.125.1355242642451;
	Tue, 11 Dec 2012 08:17:22 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id j5sm7877957vdi.19.2012.12.11.08.17.21
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 11 Dec 2012 08:17:21 -0800 (PST)
Message-ID: <50C75C90.5080104@gmail.com>
Date: Tue, 11 Dec 2012 11:17:20 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: "git format-patch" question
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 16:17:39 -0000

Hello,

(picking up from a different thread)

P=E1draig Brady wrote, On 12/06/2012 06:59 PM:
> Generally it's best to get git to send email
> or send around formats that git can apply directly,
> which includes commit messages and references new files etc.
> The handiest way to do that is:
>=20
>   git format-patch --stdout -1 | gzip > numfmt.5.patch.gz

While working on my development branch, I commit small, specific changes,=
 as so:
 [PATCH 1/6] numfmt: a new command to format numbers
 [PATCH 2/6] numfmt: change SI/IEC parameters to lowercase.
 [PATCH 3/6] numfmt: separate debug/devdebug options.
 [PATCH 4/6] numfmt: fix segfault when no numbers are found.
 [PATCH 5/6] numfmt: improve --field, add more tests.
 [PATCH 6/6] numfmt: add --header option.

Each commit can be just few lines.

When I send a patch the the mailing list, I want to send one 'nice' 'clea=
n' patch with my changes, compared to the master branch.

When I use the following command:

   git diff -p --stat master..HEAD > my.patch

And all the changes (multiple commits) I made on my branch compared to ma=
ster are represented as one coherent change in "my.patch" - but this is n=
ot convenient for you to apply.


However, when I use

    git format-patch --stdout -1 > my.patch

Only the last commit appears.

The alternative:

    git format-patch --stdout master..HEAD > my.patch

Generates a file which will cause multiple commits when imported with "gi=
t am" .
=20
When is the recommended way to generate a clean patch which will consolid=
ate all my small commits into one?
Or is there another way?

Thanks,
 -gordon






From MAILER-DAEMON Tue Dec 11 11:21:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiSa6-0007UN-04
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 11:21:18 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60274)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiSZy-0007Oc-NM
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:21:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiSZs-0001SB-If
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:21:10 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:55307)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiSZs-0001S5-Du
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:21:04 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so4495764vcb.0
	for <coreutils@gnu.org>; Tue, 11 Dec 2012 08:21:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=FucVoP74rzmm/2mzeE1nSLe2vNvgIv0+2YcZ8rFF5Fc=;
	b=RfSjcV9bTUwG1Mw502w+srKDbraGrjPbQ4x94LdIJrFPEIL3Uet8Sz/T02cTS803zT
	JrYNbhtS/e2I1MAj1lm7GtO8F6DcvKgIxyRDCPIbENsT7LtxIiYOsUt/xK2lWaPhYZFz
	dOFOsbi5MmluiXZ24lpiuWbfYKC4y2Xqb58zJrd/LZXwNTHw+5fE5N5aE33ara4OFMeD
	W3nqfnYGBYxPa1cEzBa7u910Hz7cR6mix4Lo3oRKuwjUhSy4Q6x2ckYdWNPGpOVZnrid
	RsQkM/IavOrv463f7bpOUBPLcUJmQp+SagdtY7BQ4k+xzoGgOPlkHEnERYSzpkrTb6wn
	H6rA==
Received: by 10.220.108.142 with SMTP id f14mr11491207vcp.9.1355242864035;
	Tue, 11 Dec 2012 08:21:04 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id dl18sm7896588vdb.2.2012.12.11.08.21.02
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 11 Dec 2012 08:21:03 -0800 (PST)
Message-ID: <50C75D6E.9030706@gmail.com>
Date: Tue, 11 Dec 2012 11:21:02 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: Adding tests for non-C locales
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 16:21:17 -0000

Hello,

I want to add tests for non-C locales (to check grouping in numfmt).

My test script is written in Perl, based on "tests/misc/wc.pl" .

It starts with:
===
   @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;
===

Which is fine for most of the tests.

How do I add tests for non-C locale, in a safe manner (I need a locale that I know which thousand-group separator character is used, but I can't know in advanced if it's installed on the testing machine).

Thanks,
 -gordon


From MAILER-DAEMON Tue Dec 11 11:44:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiSwu-0005cj-HK
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 11:44:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37129)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiSws-0005cc-7Q
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:44:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiSwm-0000YD-2r
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:44:50 -0500
Received: from mx1.redhat.com ([209.132.183.28]:39870)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiSwl-0000Xt-RR
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:44:44 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBBGifHP009614
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 11 Dec 2012 11:44:41 -0500
Received: from [10.36.116.58] (ovpn-116-58.ams2.redhat.com [10.36.116.58])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBBGicCb002087
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 11 Dec 2012 11:44:40 -0500
Message-ID: <50C762F6.1060205@draigBrady.com>
Date: Tue, 11 Dec 2012 16:44:38 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: "git format-patch" question
References: <50C75C90.5080104@gmail.com>
In-Reply-To: <50C75C90.5080104@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBBGifHP009614
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 16:44:51 -0000

On 12/11/2012 04:17 PM, Assaf Gordon wrote:
> Hello,
>
> (picking up from a different thread)
>
> P=E1draig Brady wrote, On 12/06/2012 06:59 PM:
>> Generally it's best to get git to send email
>> or send around formats that git can apply directly,
>> which includes commit messages and references new files etc.
>> The handiest way to do that is:
>>
>>    git format-patch --stdout -1 | gzip > numfmt.5.patch.gz
>
> While working on my development branch, I commit small, specific change=
s, as so:
>   [PATCH 1/6] numfmt: a new command to format numbers
>   [PATCH 2/6] numfmt: change SI/IEC parameters to lowercase.
>   [PATCH 3/6] numfmt: separate debug/devdebug options.
>   [PATCH 4/6] numfmt: fix segfault when no numbers are found.
>   [PATCH 5/6] numfmt: improve --field, add more tests.
>   [PATCH 6/6] numfmt: add --header option.
>
> Each commit can be just few lines.
>
> When I send a patch the the mailing list, I want to send one 'nice' 'cl=
ean' patch with my changes, compared to the master branch.
>
> When I use the following command:
>
>     git diff -p --stat master..HEAD > my.patch
>
> And all the changes (multiple commits) I made on my branch compared to =
master are represented as one coherent change in "my.patch" - but this is=
 not convenient for you to apply.
>
>
> However, when I use
>
>      git format-patch --stdout -1 > my.patch
>
> Only the last commit appears.
>
> The alternative:
>
>      git format-patch --stdout master..HEAD > my.patch
>
> Generates a file which will cause multiple commits when imported with "=
git am" .
>
> When is the recommended way to generate a clean patch which will consol=
idate all my small commits into one?
> Or is there another way?

No need to squash to a single diff.
It's best to use the method I suggested,
and then git can apply all the patches in turn.
Just s/-1/-6/ in the command I suggested.
We can squash to the appropriate number of commits,
before the final commit anyway.

If you really want to squash patches locally
to hide trivial adjustments etc. then:

   git rebase -i HEAD~6

Then s/pick/squash/ where needed, and save.

Also it's best for consumers of the patch set,
that you rebase your branch onto the latest master like:

   git checkout master
   git pull origin
   git checkout my_branch
   git rebase master

cheers,
P=E1draig.


From MAILER-DAEMON Tue Dec 11 11:57:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiT97-0002yh-Kx
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 11:57:29 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40405)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiT8z-0002kh-8L
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:57:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiT8s-0004Rf-A9
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:57:21 -0500
Received: from mx1.redhat.com ([209.132.183.28]:19450)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiT8s-0004RZ-2q
	for coreutils@gnu.org; Tue, 11 Dec 2012 11:57:14 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBBGvC42016651
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 11 Dec 2012 11:57:12 -0500
Received: from [10.36.116.58] (ovpn-116-58.ams2.redhat.com [10.36.116.58])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBBGvAa0019114
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 11 Dec 2012 11:57:11 -0500
Message-ID: <50C765E5.4080409@draigBrady.com>
Date: Tue, 11 Dec 2012 16:57:09 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: Adding tests for non-C locales
References: <50C75D6E.9030706@gmail.com>
In-Reply-To: <50C75D6E.9030706@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBBGvC42016651
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 16:57:29 -0000

On 12/11/2012 04:21 PM, Assaf Gordon wrote:
> Hello,
>
> I want to add tests for non-C locales (to check grouping in numfmt).
>
> My test script is written in Perl, based on "tests/misc/wc.pl" .
>
> It starts with:
> =3D=3D=3D
>     @ENV{qw(LANGUAGE LANG LC_ALL)} =3D ('C') x 3;
> =3D=3D=3D
>
> Which is fine for most of the tests.
>
> How do I add tests for non-C locale, in a safe manner (I need a locale =
that I know which thousand-group separator character is used, but I can't=
 know in advanced if it's installed on the testing machine).

There is special handling of the fr_FR locale
to check that it's available etc.
To see uses of this in both sh and pl scripts:

git grep LOCALE_FR_UTF8

cheers,
P=E1draig.


From MAILER-DAEMON Tue Dec 11 13:36:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiUhP-0000rH-NP
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 13:36:59 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60514)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiUhI-0000qa-GD
	for coreutils@gnu.org; Tue, 11 Dec 2012 13:36:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiUhE-00070B-EZ
	for coreutils@gnu.org; Tue, 11 Dec 2012 13:36:52 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:56472)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TiUhE-000706-AX
	for coreutils@gnu.org; Tue, 11 Dec 2012 13:36:48 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so4666530vcb.0
	for <coreutils@gnu.org>; Tue, 11 Dec 2012 10:36:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=9mlWiyZ6SLrfJXSD+h3clooHz1LPR1+XcjukXdi4bzY=;
	b=W8/8lmKxfG4hpu/BjJD9McdDu0DiHvJI448/7TKXg/9W8sugImhkWQVxJxUP3A+1dC
	OCFUkFBLNGJshZ8UBWYVDcKA/arnItXPAOl7uIsigMvGCn7bzU6XA7yHE0DmEPRcLa9y
	6mzoZQsl5Y9OOOwVG4oEQpFemBfhlqJeaJsKVfoDuo7oNRTkxONfBLVeYxQscUUjCJ8C
	Uf5PevIeUN3JgCPs7Y0N6ZIrURbnwM+88FltxNj5ztzfJHW+1xb6pmd6M17AyKrS/i+4
	Ybf9KsIbRm7d0bHhZ1hL0eND2XEwfiKKa88JbK+tgy3kG+HGNeioMu5K17dJiKaUzqye
	WQDg==
Received: by 10.52.36.167 with SMTP id r7mr10339367vdj.108.1355251007606;
	Tue, 11 Dec 2012 10:36:47 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id jx16sm7079266veb.5.2012.12.11.10.36.46
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 11 Dec 2012 10:36:46 -0800 (PST)
Message-ID: <50C77D3D.9060606@gmail.com>
Date: Tue, 11 Dec 2012 13:36:45 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: numfmt: locale/grouping input issue
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 18:36:58 -0000

Hello,

(Continuing a previously discussed issue - accepting input values with lo=
cale grouping separators)

>P=E1draig Brady wrote, On 12/07/2012 01:09 PM:
>> On 12/07/2012 03:07 PM, Assaf Gordon wrote:
>>> Another thing I thought of there, was it would be
>>> good to be able to parse number formats that it can generate:
>>
>> Sounds like two separate (but related) issues:
>>
>>> $ echo '1,234' | src/numfmt --from=3Dauto
>>> src/numfmt: invalid suffix in input '1,234': ',234'
>>
>> 1. Is there already a gnulib function that can accept locale-grouped v=
alues? can the "xstrtoXXX" functions handle that?
>=20
> I was thinking you would just strip out
> localeconv()->thousands_sep before parsing.

I couldn't find an example of a coreutil program that readily accepts loc=
ale'd input.
The while dots and commas (US/DE locales) are relatively easy to handle, =
in the french locale the separator is space - causing a conflict when ass=
uming the default field separator is also white space.

Another complication is that just stripping out the 'thousands_sep' chara=
cter would treat text such as "1,3,4,5,6" as valid number "13456" .

I would suggest at first not to accept locale'd input, or only offer part=
ial support.
WDYT ?

Thanks,
 -gordon


Couple of examples:

   # Output is OK
   $ LC_ALL=3Dfr_FR.utf8 ./src/printf "%'d\n" 1000
   1 000

   # Input is not valid
   $ LC_ALL=3Dfr_FR.utf8 ./src/printf "%'d\n" "1 000"
   ./src/printf: 1 000 : valeur non compl=E8tement convertie
   1

   # Sort can't handle locale'd input, treats the white-space as separato=
r,
   #  not as "thousand separator".
   $ printf "1 123\n1 000\n" | LC_ALL=3Dfr_FR.utf8 sort --debug -k1,1=20
   sort: utilse les r=E8gles de tri =AB fr_FR.utf8 =BB
   sort: leading blanks are significant in key 1; consider also specifyin=
g 'b'
   1 000
   _
   _____
   1 123
   _
   _____





From MAILER-DAEMON Tue Dec 11 14:03:54 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiV7S-0007Uw-26
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 14:03:54 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37372)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiV7K-0007UR-HD
	for coreutils@gnu.org; Tue, 11 Dec 2012 14:03:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiV7E-00075h-I4
	for coreutils@gnu.org; Tue, 11 Dec 2012 14:03:46 -0500
Received: from mx1.redhat.com ([209.132.183.28]:14215)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiV7E-00075P-9n
	for coreutils@gnu.org; Tue, 11 Dec 2012 14:03:40 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBBJ3b4H013859
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 11 Dec 2012 14:03:37 -0500
Received: from [10.36.116.58] (ovpn-116-58.ams2.redhat.com [10.36.116.58])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBBJ3ZVB005956
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Tue, 11 Dec 2012 14:03:36 -0500
Message-ID: <50C78387.1030702@draigBrady.com>
Date: Tue, 11 Dec 2012 19:03:35 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: numfmt: locale/grouping input issue
References: <50C77D3D.9060606@gmail.com>
In-Reply-To: <50C77D3D.9060606@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBBJ3b4H013859
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 19:03:52 -0000

On 12/11/2012 06:36 PM, Assaf Gordon wrote:
> Hello,
>
> (Continuing a previously discussed issue - accepting input values with =
locale grouping separators)
>
>> P=E1draig Brady wrote, On 12/07/2012 01:09 PM:
>>> On 12/07/2012 03:07 PM, Assaf Gordon wrote:
>>>> Another thing I thought of there, was it would be
>>>> good to be able to parse number formats that it can generate:
>>>
>>> Sounds like two separate (but related) issues:
>>>
>>>> $ echo '1,234' | src/numfmt --from=3Dauto
>>>> src/numfmt: invalid suffix in input '1,234': ',234'
>>>
>>> 1. Is there already a gnulib function that can accept locale-grouped =
values? can the "xstrtoXXX" functions handle that?
>>
>> I was thinking you would just strip out
>> localeconv()->thousands_sep before parsing.
>
> I couldn't find an example of a coreutil program that readily accepts l=
ocale'd input.
> The while dots and commas (US/DE locales) are relatively easy to handle=
, in the french locale the separator is space - causing a conflict when a=
ssuming the default field separator is also white space.

True. You could only support that when --delimiter was not ' ',
or when LC_NUMERIC was set to one with a non space grouping char.

> Another complication is that just stripping out the 'thousands_sep' cha=
racter would treat text such as "1,3,4,5,6" as valid number "13456" .

Good point. You'd need to count as well as strip

> I would suggest at first not to accept locale'd input, or only offer pa=
rtial support.

>     # Input is not valid
>     $ LC_ALL=3Dfr_FR.utf8 ./src/printf "%'d\n" "1 000"
>     ./src/printf: 1 000 : valeur non compl=E8tement convertie
>     1
>
>     # Sort can't handle locale'd input, treats the white-space as separ=
ator,
>     #  not as "thousand separator".
>     $ printf "1 123\n1 000\n" | LC_ALL=3Dfr_FR.utf8 sort --debug -k1,1
>     sort: utilse les r=E8gles de tri =AB fr_FR.utf8 =BB
>     sort: leading blanks are significant in key 1; consider also specif=
ying 'b'
>     1 000
>     _
>     _____
>     1 123
>     _
>     _____

So the above don't support localized number formats directly,
which is fair enough. That shows that the functionality is
useful within numfmt as it would enable the above to
use such numbers after being filtered through numfmt.
Implementation should not be too onerous, given the above caveats.

thanks,
P=E1draig.


From MAILER-DAEMON Tue Dec 11 14:15:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiVIf-0001Np-Db
	for mharc-coreutils@gnu.org; Tue, 11 Dec 2012 14:15:29 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39065)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiVIW-0001Ln-CJ
	for coreutils@gnu.org; Tue, 11 Dec 2012 14:15:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiVIU-0002HZ-7Z
	for coreutils@gnu.org; Tue, 11 Dec 2012 14:15:20 -0500
Received: from mx1.redhat.com ([209.132.183.28]:57542)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TiVIT-0002HI-U4
	for coreutils@gnu.org; Tue, 11 Dec 2012 14:15:18 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBBJFCRY026720
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 11 Dec 2012 14:15:15 -0500
Received: from [10.36.116.58] (ovpn-116-58.ams2.redhat.com [10.36.116.58])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBBJFANR000722
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 11 Dec 2012 14:15:11 -0500
Message-ID: <50C7863D.5040501@draigBrady.com>
Date: Tue, 11 Dec 2012 19:15:09 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: numfmt: locale/grouping input issue
References: <50C77D3D.9060606@gmail.com> <50C78387.1030702@draigBrady.com>
In-Reply-To: <50C78387.1030702@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBBJFCRY026720
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2012 19:15:28 -0000

On 12/11/2012 07:03 PM, P=E1draig Brady wrote:
> On 12/11/2012 06:36 PM, Assaf Gordon wrote:
>> Hello,
>>
>> (Continuing a previously discussed issue - accepting input values with=
 locale grouping separators)
>>
>>> P=E1draig Brady wrote, On 12/07/2012 01:09 PM:
>>>> On 12/07/2012 03:07 PM, Assaf Gordon wrote:
>>>>> Another thing I thought of there, was it would be
>>>>> good to be able to parse number formats that it can generate:
>>>>
>>>> Sounds like two separate (but related) issues:
>>>>
>>>>> $ echo '1,234' | src/numfmt --from=3Dauto
>>>>> src/numfmt: invalid suffix in input '1,234': ',234'
>>>>
>>>> 1. Is there already a gnulib function that can accept locale-grouped=
 values? can the "xstrtoXXX" functions handle that?
>>>
>>> I was thinking you would just strip out
>>> localeconv()->thousands_sep before parsing.
>>
>> I couldn't find an example of a coreutil program that readily accepts =
locale'd input.
>> The while dots and commas (US/DE locales) are relatively easy to handl=
e, in the french locale the separator is space - causing a conflict when =
assuming the default field separator is also white space.
>
> True. You could only support that when --delimiter was not ' ',
> or when LC_NUMERIC was set to one with a non space grouping char.
>
>> Another complication is that just stripping out the 'thousands_sep' ch=
aracter would treat text such as "1,3,4,5,6" as valid number "13456" .
>
> Good point. You'd need to count as well as strip

And the counting shouldn't really hardcode 3
and instead honor locale_conv()->grouping.
For example:

$ LC_ALL=3Dta_IN locale grouping
3;2

$ LC_ALL=3Dta_IN printf "%'d\n" 123456789
12,34,56,789

cheers,
P=E1draig.


From MAILER-DAEMON Wed Dec 12 14:05:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tircq-00052y-HH
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 14:05:48 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58544)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <aaron.davies@gmail.com>) id 1Tircj-000509-9Y
	for coreutils@gnu.org; Wed, 12 Dec 2012 14:05:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <aaron.davies@gmail.com>) id 1Tirci-0000G2-4d
	for coreutils@gnu.org; Wed, 12 Dec 2012 14:05:41 -0500
Received: from mail-qc0-f169.google.com ([209.85.216.169]:33270)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <aaron.davies@gmail.com>) id 1Tirch-0000Fh-TL
	for coreutils@gnu.org; Wed, 12 Dec 2012 14:05:40 -0500
Received: by mail-qc0-f169.google.com with SMTP id t2so853072qcq.0
	for <coreutils@gnu.org>; Wed, 12 Dec 2012 11:05:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=subject:from:content-type:x-mailer:message-id:date:to
	:content-transfer-encoding:mime-version;
	bh=HRe5Q7d8zQeo+xAOBi8jET8/r/q4DSRCXzkylnS38Rg=;
	b=Izs5AKID92MeNYjPdMfvqe2Jku4M8ocBf0P2cHJYUZRe+Yuyl5FXaiWZRFA5t0H2MF
	/0Vlsx6FkgbvfoswZMi/RUIofdHxYrbULiVQ0Nkmhq2j3yPx3pmZW0duvBJ8yZbIOz48
	LVhCJ2PU7v47ir8JXJyNDXZmhpmiLD9edgkI6ACcB211o8ESB9rbTWzxl9kIUPpxsnFm
	+vG+6HPX3T15u8XWKTBEuhupS4QyCcvfrv7QQ418ZmYgxofSthZ58pnTDAN13P9/tVoo
	IpKKW2Mb8hl9CV9ByuzqL29zTGxKhZVq4lZObcvzPWV4A/dqOUs/QA++4f98nRwvrNXW
	56Ug==
Received: by 10.49.127.145 with SMTP id ng17mr5048277qeb.25.1355339138773;
	Wed, 12 Dec 2012 11:05:38 -0800 (PST)
Received: from [10.143.94.224] ([166.137.111.49])
	by mx.google.com with ESMTPS id i2sm13207738qak.1.2012.12.12.11.05.34
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 12 Dec 2012 11:05:37 -0800 (PST)
Subject: readlink(1) of more than one file?
From: Aaron Davies <aaron.davies@gmail.com>
Content-Type: text/plain;
	charset=utf-8
X-Mailer: iPhone Mail (9B206)
Message-Id: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
Date: Wed, 12 Dec 2012 14:05:30 -0500
To: "coreutils@gnu.org" <coreutils@gnu.org>
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 19:05:47 -0000

Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=9D in=
stead of =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.g. =E2=
=80=9Cfind -type l|xargs readlink=E2=80=9D or (in zsh) =E2=80=9Creadlink **/=
*(@)=E2=80=9D, and having to do a shell loop or use =E2=80=9Cxargs -n1=E2=80=
=9D seems inelegant.
--=20
Aaron Davies
aaron.davies@gmail.com=


From MAILER-DAEMON Wed Dec 12 14:54:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TisNq-0007zC-G4
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 14:54:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36235)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TisNh-0007xr-EH
	for coreutils@gnu.org; Wed, 12 Dec 2012 14:54:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TisNb-0004jt-JT
	for coreutils@gnu.org; Wed, 12 Dec 2012 14:54:13 -0500
Received: from mx1.redhat.com ([209.132.183.28]:42711)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TisNb-0004jX-Bq
	for coreutils@gnu.org; Wed, 12 Dec 2012 14:54:07 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBCJs437028607
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 12 Dec 2012 14:54:05 -0500
Received: from [10.36.116.44] (ovpn-116-44.ams2.redhat.com [10.36.116.44])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBCJs2Nd024911
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Wed, 12 Dec 2012 14:54:04 -0500
Message-ID: <50C8E0DA.7050502@draigBrady.com>
Date: Wed, 12 Dec 2012 19:54:02 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Aaron Davies <aaron.davies@gmail.com>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
In-Reply-To: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBCJs437028607
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: "coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 19:54:21 -0000

On 12/12/2012 07:05 PM, Aaron Davies wrote:
> Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=9D=
 instead of =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.=
g. =E2=80=9Cfind -type l|xargs readlink=E2=80=9D or (in zsh) =E2=80=9Crea=
dlink **/*(@)=E2=80=9D, and having to do a shell loop or use =E2=80=9Cxar=
gs -n1=E2=80=9D seems inelegant.

Note the newer more general realpath(1)
supports multiple files.

Though there is no reason I see that readlink(1)
can't do so too.  I also see the BSD version
can accept multiple args, so I'll probably add
something along the lines of the following
unless there are objections.

thanks,
P=C3=A1draig.

diff --git a/src/readlink.c b/src/readlink.c
index e025bf9..0db0c32 100644
--- a/src/readlink.c
+++ b/src/readlink.c
@@ -94,13 +94,7 @@ main (int argc, char **argv)
  {
    /* If not -1, use this method to canonicalize.  */
    int can_mode =3D -1;
-
-  /* File name to canonicalize.  */
-  const char *fname;
-
-  /* Result of canonicalize.  */
-  char *value;
-
+  int status =3D EXIT_SUCCESS;
    int optc;

    initialize_main (&argc, &argv);
@@ -147,26 +141,28 @@ main (int argc, char **argv)
        usage (EXIT_FAILURE);
      }

-  fname =3D argv[optind++];
-
-  if (optind < argc)
+  for (; optind < argc; ++optind)
      {
-      error (0, 0, _("extra operand %s"), quote (argv[optind]));
-      usage (EXIT_FAILURE);
-    }
+      const char *fname;
+      char *value;

-  value =3D (can_mode !=3D -1
-           ? canonicalize_filename_mode (fname, can_mode)
-           : areadlink_with_size (fname, 63));
-  if (value)
-    {
-      printf ("%s%s", value, (no_newline ? "" : "\n"));
-      free (value);
-      return EXIT_SUCCESS;
-    }
+      fname =3D argv[optind];

-  if (verbose)
-    error (EXIT_FAILURE, errno, "%s", fname);
+      value =3D (can_mode !=3D -1
+               ? canonicalize_filename_mode (fname, can_mode)
+               : areadlink_with_size (fname, 63));
+      if (value)
+        {
+          printf ("%s%s", value, (no_newline ? "" : "\n"));
+          free (value);
+        }
+      else
+        {
+          status =3D EXIT_FAILURE;
+          if (verbose)
+            error (0, errno, "%s", fname);
+        }
+    }

-  return EXIT_FAILURE;
+  return status;
  }


From MAILER-DAEMON Wed Dec 12 15:01:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TisUv-0004IC-NS
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 15:01:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37514)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TisUo-00046j-ST
	for coreutils@gnu.org; Wed, 12 Dec 2012 15:01:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TisUj-0006yI-0g
	for coreutils@gnu.org; Wed, 12 Dec 2012 15:01:34 -0500
Received: from mx1.redhat.com ([209.132.183.28]:26911)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TisUi-0006yA-O2
	for coreutils@gnu.org; Wed, 12 Dec 2012 15:01:28 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBCK0hPg023618
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 12 Dec 2012 15:01:23 -0500
Received: from [10.3.113.29] (ovpn-113-29.phx2.redhat.com [10.3.113.29])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBCK0MXM023888; Wed, 12 Dec 2012 15:00:37 -0500
Message-ID: <50C8E256.7030508@redhat.com>
Date: Wed, 12 Dec 2012 13:00:22 -0700
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com>
In-Reply-To: <50C8E0DA.7050502@draigBrady.com>
X-Enigmail-Version: 1.4.6
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig95F11F03436A0D4EFAE3BA30"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 20:01:41 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig95F11F03436A0D4EFAE3BA30
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/12/2012 12:54 PM, P=C3=A1draig Brady wrote:
> On 12/12/2012 07:05 PM, Aaron Davies wrote:
>> Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=
=9D instead of
>> =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.g. =E2=80=
=9Cfind -type l|xargs readlink=E2=80=9D
>> or (in zsh) =E2=80=9Creadlink **/*(@)=E2=80=9D, and having to do a she=
ll loop or use
>> =E2=80=9Cxargs -n1=E2=80=9D seems inelegant.
>=20
> Note the newer more general realpath(1)
> supports multiple files.
>=20
> Though there is no reason I see that readlink(1)
> can't do so too.  I also see the BSD version
> can accept multiple args, so I'll probably add
> something along the lines of the following
> unless there are objections.

If you add support for handling more than one file at a time, then you
also should add support for separating the output with NUL instead of
newline to make the output unambiguous.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enig95F11F03436A0D4EFAE3BA30
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBCAAGBQJQyOJWAAoJEKeha0olJ0NqWBIH/2RyHoO8Xqy8BazIQu8CC/6Q
C2riw1R4mElaD9QqOEhviAvQqFUa09uq94msicCtXrsy5ESk4kE3srqxTklg3QBV
EtqXDVfx5kQ+JQLRteKN+vK0p8gUUd++E2ApPmB4UQgDmJib8Ui9FxxDC74c5Xzx
sUJFeLkm+pyysGQYrvaFzWwEHlEd+3t94P4g2EiLZRuQnmVt3ZLssf44jLkEWQxk
VyntcYWJab7gBPsIF26RnG36yZ5VWg769Xbb6dqBKe8B4RkPNdlN7h9W3aRMvgDR
i4v2btd+L1ytvV5lkKqlmfN+c70eExGjw0aSb5uq8wUeSzpdmBnyKUFpiwjohLE=
=h/OK
-----END PGP SIGNATURE-----

--------------enig95F11F03436A0D4EFAE3BA30--


From MAILER-DAEMON Wed Dec 12 15:19:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tism9-0002Ao-8P
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 15:19:29 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39772)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tism1-0002AY-U3
	for coreutils@gnu.org; Wed, 12 Dec 2012 15:19:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tislw-0003Zu-0v
	for coreutils@gnu.org; Wed, 12 Dec 2012 15:19:21 -0500
Received: from mx.meyering.net ([88.168.87.75]:51305)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tislv-0003Zo-PO
	for coreutils@gnu.org; Wed, 12 Dec 2012 15:19:15 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 4D9FF600B1;
	Wed, 12 Dec 2012 21:19:14 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?P=E1draig?= Brady <P@draigBrady.com>
Subject: Re: readlink(1) of more than one file?
In-Reply-To: <50C8E0DA.7050502@draigBrady.com> (=?iso-8859-1?Q?=22P=E1drai?=
	=?iso-8859-1?Q?g?= Brady"'s message of
	"Wed, 12 Dec 2012 19:54:02 +0000")
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com>
Date: Wed, 12 Dec 2012 21:19:14 +0100
Message-ID: <87bodzja65.fsf@rho.meyering.net>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 20:19:27 -0000

P=C3=A1draig Brady wrote:
> On 12/12/2012 07:05 PM, Aaron Davies wrote:
>> Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=
=9D instead of
>> =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.g. =E2=80=
=9Cfind -type l|xargs
>> readlink=E2=80=9D or (in zsh) =E2=80=9Creadlink **/*(@)=E2=80=9D, and ha=
ving to do a shell
>> loop or use =E2=80=9Cxargs -n1=E2=80=9D seems inelegant.
>
> Note the newer more general realpath(1)
> supports multiple files.
>
> Though there is no reason I see that readlink(1)
> can't do so too.  I also see the BSD version
> can accept multiple args, so I'll probably add
> something along the lines of the following
> unless there are objections.

Thanks.  That seems like the right way to go.

...
> +      const char *fname;
> +      char *value;
> +      fname =3D argv[optind];
...
> +      value =3D (can_mode !=3D -1
> +               ? canonicalize_filename_mode (fname, can_mode)
> +               : areadlink_with_size (fname, 63));

Maybe save two lines in the loop body by moving each of those declarations
down to its initialization?

         const char *fname =3D argv[optind];
         char *value =3D (can_mode !=3D -1
                        ? canonicalize_filename_mode (fname, can_mode)
                        : areadlink_with_size (fname, 63));


From MAILER-DAEMON Wed Dec 12 17:32:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tiur6-00010v-Ew
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 17:32:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38395)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tiur4-0000yN-2i
	for coreutils@gnu.org; Wed, 12 Dec 2012 17:32:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tiur2-0006Bi-AD
	for coreutils@gnu.org; Wed, 12 Dec 2012 17:32:42 -0500
Received: from mx1.redhat.com ([209.132.183.28]:24808)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tiur2-0006BN-2U
	for coreutils@gnu.org; Wed, 12 Dec 2012 17:32:40 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBCMWbxD030560
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 12 Dec 2012 17:32:37 -0500
Received: from [10.36.116.44] (ovpn-116-44.ams2.redhat.com [10.36.116.44])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBCLo7AE001442
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 12 Dec 2012 16:50:09 -0500
Message-ID: <50C8FC0F.7040008@draigBrady.com>
Date: Wed, 12 Dec 2012 21:50:07 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
In-Reply-To: <87bodzja65.fsf@rho.meyering.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBCMWbxD030560
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 22:32:43 -0000

On 12/12/2012 08:19 PM, Jim Meyering wrote:
> P=C3=A1draig Brady wrote:
>> On 12/12/2012 07:05 PM, Aaron Davies wrote:
>>> Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=
=9D instead of
>>> =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.g. =E2=80=
=9Cfind -type l|xargs
>>> readlink=E2=80=9D or (in zsh) =E2=80=9Creadlink **/*(@)=E2=80=9D, and=
 having to do a shell
>>> loop or use =E2=80=9Cxargs -n1=E2=80=9D seems inelegant.
>>
>> Note the newer more general realpath(1)
>> supports multiple files.
>>
>> Though there is no reason I see that readlink(1)
>> can't do so too.  I also see the BSD version
>> can accept multiple args, so I'll probably add
>> something along the lines of the following
>> unless there are objections.
>
> Thanks.  That seems like the right way to go.
>
> ...
>> +      const char *fname;
>> +      char *value;
>> +      fname =3D argv[optind];
> ...
>> +      value =3D (can_mode !=3D -1
>> +               ? canonicalize_filename_mode (fname, can_mode)
>> +               : areadlink_with_size (fname, 63));
>
> Maybe save two lines in the loop body by moving each of those declarati=
ons
> down to its initialization?
>
>           const char *fname =3D argv[optind];
>           char *value =3D (can_mode !=3D -1
>                          ? canonicalize_filename_mode (fname, can_mode)
>                          : areadlink_with_size (fname, 63));

Yes. that's better.
I also notice we can change from printf() to fputs() to gain some speed.
So the output portion is now:

+          fputs (value, stdout);
+          if (! no_newline)
+            putchar (use_nuls ? '\0' : '\n');

The awkward/somewhat redundant -n, --no-newline option
is handled in the same way as on BSD and the help text adjusted like:

-  -n, --no-newline              do not output the trailing newline\n\
+  -n, --no-newline              do not output the separator character\n\

thanks,
P=C3=A1draig.


From MAILER-DAEMON Wed Dec 12 18:14:07 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TivV9-00034n-Kz
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 18:14:07 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50158)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TivV5-000338-Oa
	for coreutils@gnu.org; Wed, 12 Dec 2012 18:14:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TivV4-0000wW-Fq
	for coreutils@gnu.org; Wed, 12 Dec 2012 18:14:03 -0500
Received: from mx1.redhat.com ([209.132.183.28]:38106)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tiu8P-0003CY-VV
	for coreutils@gnu.org; Wed, 12 Dec 2012 16:46:34 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBCLkVpg019587
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 12 Dec 2012 16:46:31 -0500
Received: from [10.36.116.44] (ovpn-116-44.ams2.redhat.com [10.36.116.44])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBCLkRMJ020542
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Wed, 12 Dec 2012 16:46:30 -0500
Message-ID: <50C8FB33.5050900@draigBrady.com>
Date: Wed, 12 Dec 2012 21:46:27 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <50C8E256.7030508@redhat.com>
In-Reply-To: <50C8E256.7030508@redhat.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBCLkVpg019587
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Dec 2012 23:14:06 -0000

On 12/12/2012 08:00 PM, Eric Blake wrote:
> On 12/12/2012 12:54 PM, P=C3=A1draig Brady wrote:
>> On 12/12/2012 07:05 PM, Aaron Davies wrote:
>>> Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=
=9D instead of
>>> =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.g. =E2=80=
=9Cfind -type l|xargs readlink=E2=80=9D
>>> or (in zsh) =E2=80=9Creadlink **/*(@)=E2=80=9D, and having to do a sh=
ell loop or use
>>> =E2=80=9Cxargs -n1=E2=80=9D seems inelegant.
>>
>> Note the newer more general realpath(1)
>> supports multiple files.
>>
>> Though there is no reason I see that readlink(1)
>> can't do so too.  I also see the BSD version
>> can accept multiple args, so I'll probably add
>> something along the lines of the following
>> unless there are objections.
>
> If you add support for handling more than one file at a time, then you
> also should add support for separating the output with NUL instead of
> newline to make the output unambiguous.

Good point, just like the recent addition in basename.
I'll add -z, --zero.

thanks,
P=C3=A1draig.


From MAILER-DAEMON Wed Dec 12 19:02:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TiwG1-0004By-Cl
	for mharc-coreutils@gnu.org; Wed, 12 Dec 2012 19:02:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59037)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TiwFy-0004Bf-C3
	for coreutils@gnu.org; Wed, 12 Dec 2012 19:02:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TiwFw-0005wK-AE
	for coreutils@gnu.org; Wed, 12 Dec 2012 19:02:30 -0500
Received: from mx.meyering.net ([88.168.87.75]:51556)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TiwFv-0005w1-Vn
	for coreutils@gnu.org; Wed, 12 Dec 2012 19:02:28 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 5040060385;
	Thu, 13 Dec 2012 01:02:24 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?P=E1draig?= Brady <P@draigBrady.com>
Subject: Re: readlink(1) of more than one file?
In-Reply-To: <50C8FC0F.7040008@draigBrady.com> (=?iso-8859-1?Q?=22P=E1drai?=
	=?iso-8859-1?Q?g?= Brady"'s message of
	"Wed, 12 Dec 2012 21:50:07 +0000")
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com>
Date: Thu, 13 Dec 2012 01:02:24 +0100
Message-ID: <87obhyizu7.fsf@rho.meyering.net>
Lines: 58
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 00:02:31 -0000

P=C3=A1draig Brady wrote:
> On 12/12/2012 08:19 PM, Jim Meyering wrote:
>> P=C3=A1draig Brady wrote:
>>> On 12/12/2012 07:05 PM, Aaron Davies wrote:
>>>> Is there a reason the interface for readlink(1) is =E2=80=9CFILE=E2=80=
=9D instead of
>>>> =E2=80=9CFILE...=E2=80=9D? I=E2=80=99ve often wanted to do e.g. =E2=80=
=9Cfind -type l|xargs
>>>> readlink=E2=80=9D or (in zsh) =E2=80=9Creadlink **/*(@)=E2=80=9D, and =
having to do a shell
>>>> loop or use =E2=80=9Cxargs -n1=E2=80=9D seems inelegant.
>>>
>>> Note the newer more general realpath(1)
>>> supports multiple files.
>>>
>>> Though there is no reason I see that readlink(1)
>>> can't do so too.  I also see the BSD version
>>> can accept multiple args, so I'll probably add
>>> something along the lines of the following
>>> unless there are objections.
>>
>> Thanks.  That seems like the right way to go.
>>
>> ...
>>> +      const char *fname;
>>> +      char *value;
>>> +      fname =3D argv[optind];
>> ...
>>> +      value =3D (can_mode !=3D -1
>>> +               ? canonicalize_filename_mode (fname, can_mode)
>>> +               : areadlink_with_size (fname, 63));
>>
>> Maybe save two lines in the loop body by moving each of those declaratio=
ns
>> down to its initialization?
>>
>>           const char *fname =3D argv[optind];
>>           char *value =3D (can_mode !=3D -1
>>                          ? canonicalize_filename_mode (fname, can_mode)
>>                          : areadlink_with_size (fname, 63));
>
> Yes. that's better.
> I also notice we can change from printf() to fputs() to gain some speed.
> So the output portion is now:
>
> +          fputs (value, stdout);
> +          if (! no_newline)
> +            putchar (use_nuls ? '\0' : '\n');

Thanks.  Another improvement.

> The awkward/somewhat redundant -n, --no-newline option
> is handled in the same way as on BSD and the help text adjusted like:
>
> -  -n, --no-newline              do not output the trailing newline\n\
> +  -n, --no-newline              do not output the separator character\n\

Good point.
Now that the long-named --no-newline is a misnomer, we might want to
provide a better long-named option (like --no-separator) and begin the
deprecation process.  E.g., warn that the --no-newline option is being
deprecated, and add a FIXME to give an error in a few years.


From MAILER-DAEMON Thu Dec 13 00:53:35 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tj1jj-0001yo-DA
	for mharc-coreutils@gnu.org; Thu, 13 Dec 2012 00:53:35 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53922)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tj1jg-0001yd-0i
	for coreutils@gnu.org; Thu, 13 Dec 2012 00:53:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tj1jc-0004ZW-E3
	for coreutils@gnu.org; Thu, 13 Dec 2012 00:53:31 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:42401)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tj1jb-0004YZ-Vv
	for coreutils@gnu.org; Thu, 13 Dec 2012 00:53:28 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so1750867vcb.0
	for <coreutils@gnu.org>; Wed, 12 Dec 2012 21:53:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type; bh=0orR+IMr2ZM9yPDvpZJzYewDR6E8BTpm/bqhSI0CPhI=;
	b=F2kOacGtB6SuUr7p+uHSB0vc4bov3X4kZNW2kAG5qcr5tioN3FjU8vR/QzXcmAMyHt
	focy9QM+6heGdjy6EeBm7sAVTv5yP+l3ObIbkKZQw61W76LK8nAlLTZLJkGfGQcunW/P
	PwrHxpZkNyGQCHpFFvvXDZMZIrD0X7+4b4qiKHkzLhVyHFEC12eEkoQmspSwMhfCMs2D
	bjA3BCiJ5Nojjosjra59Qwva5WvKiHUM7ZsRfnUcTGZLJ7aATPAobtTvmpKdoGm56YgR
	XB+J0vQmHEARnT/dQ6HfMGxbmb2w0L051HTfKHuL75u65AuKVOVAf+zE47+w4O5h0Kjo
	ABqg==
Received: by 10.58.48.231 with SMTP id p7mr1304010ven.11.1355378006235;
	Wed, 12 Dec 2012 21:53:26 -0800 (PST)
Received: from [192.168.1.102] ([143.48.64.234])
	by mx.google.com with ESMTPS id q13sm596135vdh.22.2012.12.12.21.53.24
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 12 Dec 2012 21:53:25 -0800 (PST)
Message-ID: <50C96F87.3090407@gmail.com>
Date: Thu, 13 Dec 2012 01:02:47 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.7) Gecko/20120922 Icedove/10.0.7
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: numfmt (=print 'human' sizes) updates
Content-Type: multipart/mixed; boundary="------------050407090705080406010609"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 05:53:33 -0000

This is a multi-part message in MIME format.
--------------050407090705080406010609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

Attached is an updated version of 'numfmt' .
(The patch should be compatible with "git am").

Most of the previously raised issues have been addressed, except handling locale'd grouping in the input numbers (locale'd decimal-point is handled correctly).

Added support for header, auto-whitespace-padding, floating-point input .
Internally, all values are now stored as "long double" (instead of previously uintmax_t) - enables working with Yotta-scale values.

The following should now 'just work' :
     df | ./src/numfmt --header --field 2 --to=si
     ls -l | ./src/numfmt --header --field 5 --to=iec
     ls -lh | ./src/numfmt --header --field 5 --from=iec --padding=10

The "--debug" option now behaves more like sort's "--debug": prints messages to STDERR about possible bad combinations and inputs (which are not fatal errors):

     $./src/numfmt --debug 60000
     ./src/numfmt: no conversion option specified
     60000

The "--devdebug" option can be used to show internal states (perhaps will be removed once the program is finalized?).

The test file 'tests/misc/numfmt.pl' contains many more tests and details about possible inputs/outputs.

If the functionality is acceptable, the next steps are cleaner code and better documentations.

Comments are welcomed,
   -gordon


--------------050407090705080406010609
Content-Type: application/x-gzip;
 name="numfmt.7.patch.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt.7.patch.gz"

H4sIAGNqyVAAA6w7+3faxtK/81dMfU9rsHkJ4xcpTR0bO3yxsQ/g26RJDkdIK9C1kFQ9/GjT
//2bmV0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7o874TDsx+E4HCXeMOneZVJtl+4Xefth
L0/36xi6H6gycOmnJobLYNACc41ADNRAh8qXSWztbafxCUWv3R554663iatYp9dDP6OeuC65
M33vf9vmi/sVTe+vB2e/K4GYpglJ883tpkZjvv8KnoCLgmWuZiTLMKIq41P24BVb3iSjKV/j
4//Q/Z9tvIkb6/7/AzXYi6uUDwIA
--------------050407090705080406010609--


From MAILER-DAEMON Thu Dec 13 01:20:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tj29V-00076K-Oe
	for mharc-coreutils@gnu.org; Thu, 13 Dec 2012 01:20:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58712)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tj29S-00073Q-2J
	for coreutils@gnu.org; Thu, 13 Dec 2012 01:20:12 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tj29P-0002Du-K9
	for coreutils@gnu.org; Thu, 13 Dec 2012 01:20:09 -0500
Received: from mx.meyering.net ([88.168.87.75]:51896)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tj1RC-0000bc-UK
	for coreutils@gnu.org; Thu, 13 Dec 2012 00:34:27 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id ED1CB600B1;
	Thu, 13 Dec 2012 06:34:25 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?P=E1draig?= Brady <P@draigBrady.com>
Subject: Re: readlink(1) of more than one file?
In-Reply-To: <87obhyizu7.fsf@rho.meyering.net> (Jim Meyering's message of
	"Thu, 13 Dec 2012 01:02:24 +0100")
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
Date: Thu, 13 Dec 2012 06:34:25 +0100
Message-ID: <87ip86ikgu.fsf@rho.meyering.net>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 06:20:12 -0000

Jim Meyering wrote:
...
>> The awkward/somewhat redundant -n, --no-newline option
>> is handled in the same way as on BSD and the help text adjusted like:
>>
>> -  -n, --no-newline              do not output the trailing newline\n\
>> +  -n, --no-newline              do not output the separator character\n\
>
> Good point.
> Now that the long-named --no-newline is a misnomer, we might want to
> provide a better long-named option (like --no-separator) and begin the
> deprecation process.  E.g., warn that the --no-newline option is being
> deprecated, and add a FIXME to give an error in a few years.

As I reread this, I think changing/deprecating is not worth the
trouble after all.


From MAILER-DAEMON Thu Dec 13 03:48:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tj4Sf-0008Kf-A9
	for mharc-coreutils@gnu.org; Thu, 13 Dec 2012 03:48:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55311)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tj4Sc-0008Ju-Av
	for coreutils@gnu.org; Thu, 13 Dec 2012 03:48:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tj4SW-0003ZY-1R
	for coreutils@gnu.org; Thu, 13 Dec 2012 03:48:06 -0500
Received: from mx1.redhat.com ([209.132.183.28]:50650)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tj4SV-0003Yv-N4
	for coreutils@gnu.org; Thu, 13 Dec 2012 03:47:59 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBD8lvcb012920
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 13 Dec 2012 03:47:57 -0500
Received: from [10.36.116.65] (ovpn-116-65.ams2.redhat.com [10.36.116.65])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBD8lsPG008923
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 13 Dec 2012 03:47:56 -0500
Message-ID: <50C9963B.5030601@draigBrady.com>
Date: Thu, 13 Dec 2012 08:47:55 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net>
In-Reply-To: <87ip86ikgu.fsf@rho.meyering.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBD8lvcb012920
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 08:48:08 -0000

On 12/13/2012 05:34 AM, Jim Meyering wrote:
> Jim Meyering wrote:
> ...
>>> The awkward/somewhat redundant -n, --no-newline option
>>> is handled in the same way as on BSD and the help text adjusted like:
>>>
>>> -  -n, --no-newline              do not output the trailing newline\n=
\
>>> +  -n, --no-newline              do not output the separator characte=
r\n\
>>
>> Good point.
>> Now that the long-named --no-newline is a misnomer, we might want to
>> provide a better long-named option (like --no-separator) and begin the
>> deprecation process.  E.g., warn that the --no-newline option is being
>> deprecated, and add a FIXME to give an error in a few years.
>
> As I reread this, I think changing/deprecating is not worth the
> trouble after all.

Yes the option itself is of marginal use,
and so best just keep it around for compat
with older GNU readlink and BSD's variant.

thanks,
P=E1draig.


From MAILER-DAEMON Thu Dec 13 13:06:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjDAo-00008f-80
	for mharc-coreutils@gnu.org; Thu, 13 Dec 2012 13:06:18 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53327)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1TjDAl-0008V4-Be
	for coreutils@gnu.org; Thu, 13 Dec 2012 13:06:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1TjDAk-0006yV-2N
	for coreutils@gnu.org; Thu, 13 Dec 2012 13:06:15 -0500
Received: from mail.math.utah.edu ([155.101.98.135]:40252)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1TjDAj-0006yJ-R4
	for coreutils@gnu.org; Thu, 13 Dec 2012 13:06:13 -0500
Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19])
	by mail.math.utah.edu (8.14.5/8.14.5) with ESMTP id qBDHlJFO004117;
	Thu, 13 Dec 2012 10:47:19 -0700 (MST)
Received: from psi.math.utah.edu (localhost [127.0.0.1])
	by psi.math.utah.edu (8.14.5/8.14.5) with ESMTP id qBDHlJ7P012246;
	Thu, 13 Dec 2012 10:47:19 -0700 (MST)
Received: (from beebe@localhost)
	by psi.math.utah.edu (8.14.5/8.14.5/Submit) id qBDHlJ9G012245;
	Thu, 13 Dec 2012 10:47:19 -0700 (MST)
Date: Thu, 13 Dec 2012 10:47:19 -0700 (MST)
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: coreutils@gnu.org
X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S
	1400 E RM 233, Salt Lake City, UT 84112-0090, USA"
X-Telephone: +1 801 581 5254
X-FAX: +1 801 585 1640, +1 801 581 4148
X-URL: http://www.math.utah.edu/~beebe
Subject: [coreutils] SHA-3
Message-ID: <CMM.0.95.0.1355420839.beebe@psi.math.utah.edu>
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8
	(mail.math.utah.edu [155.101.98.135]);
	Thu, 13 Dec 2012 10:47:19 -0700 (MST)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 155.101.98.135
Cc: beebe@math.utah.edu
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 18:06:16 -0000

I suspect that coreutils developers are already aware of the final
decision in the several-years-long NIST competition to come up with a
followon to the SHA-1 and SHA-2 checksum algorithms.

The winner (out of 64 submissions) was announced on 2-Oct-2012:

	NIST Selects Winner of Secure Hash Algorithm (SHA-3) Competition
	http://www.nist.gov/itl/csd/sha-100212.cfm

	SHA-3
	https://en.wikipedia.org/wiki/SHA-3

If a near-term coreutils release can include an SHA-3 utility, even if
an early version did not exploit assembly-level directives for
squeezing the utmost in performance out of particular hardware, it
will help make the new checksum algorithm more widely known.

There is already work on SHA-3 reported on the Gnupg-devel@gnupg.org
list, with the first posting on 12-Dec-2012 (yesterday, as I write
this), so it may be possible to use already-developed GPL-compatible
code for inclusion in coreutils.


-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


From MAILER-DAEMON Thu Dec 13 14:29:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjETL-0000Ft-F2
	for mharc-coreutils@gnu.org; Thu, 13 Dec 2012 14:29:31 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35433)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjETE-0000Fi-0w
	for coreutils@gnu.org; Thu, 13 Dec 2012 14:29:30 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjET7-00032B-Ak
	for coreutils@gnu.org; Thu, 13 Dec 2012 14:29:23 -0500
Received: from mail-qa0-f48.google.com ([209.85.216.48]:63907)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjET7-000327-6Q
	for coreutils@gnu.org; Thu, 13 Dec 2012 14:29:17 -0500
Received: by mail-qa0-f48.google.com with SMTP id l8so3442168qaq.0
	for <coreutils@gnu.org>; Thu, 13 Dec 2012 11:29:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type; bh=kpO13lc+dJ97aCenSPhfUWl5bwPAOMkf7nOOGdSJDYQ=;
	b=R89vMQdufMfoXLaRCeP9ksvDlNi+0NdfACtpmaHPDiO8WnvU1ZDe942VWSVQetUt8N
	6lanNaD6oeCHbx3A+r8F5Ldc9k20Ea7ngZ67QJgm7RqOyttpGAf+/vqLanJ94quUz3zu
	nJF2yRecphJNm1wSg+jVbWCkbPCQV2g6/lOz+6VtWjOMdtHYi0NAqW6eT419BuLf9zMc
	PTUk6vvtAJKeJwVfhAII0EP5Kue97YvNFNdMGRvQrN5o6yYWHDrY1gTieFUBOWetixsU
	l8k4YZJmDCs/rYGWbiugvX6jXWeuhz6OxvsgBJK7UKm8TfHW0x+gm1/s7xKIWfu8DG0x
	gkpw==
Received: by 10.229.176.158 with SMTP id be30mr320434qcb.113.1355426956663;
	Thu, 13 Dec 2012 11:29:16 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id u18sm618858qal.0.2012.12.13.11.29.15
	(version=TLSv1/SSLv3 cipher=OTHER);
	Thu, 13 Dec 2012 11:29:15 -0800 (PST)
Message-ID: <50CA2C8A.7030908@gmail.com>
Date: Thu, 13 Dec 2012 14:29:14 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: [PATCH] two minor tweaks to HACKING
Content-Type: multipart/mixed; boundary="------------020604060101070103000808"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.48
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 19:29:30 -0000

This is a multi-part message in MIME format.
--------------020604060101070103000808
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

The first mentions 'git stash' in a relevant paragraph.
The second changes parameters for 'lcov' example - the current parameters produce wrong output (the source files are not found, with LCOV version 1.9 ).

-gordon


--------------020604060101070103000808
Content-Type: text/x-diff;
 name="hacking.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="hacking.patch"

>From e1ece5ff278258a18a078cad1d8fbf65c7e4fe71 Mon Sep 17 00:00:00 2001
From: Assaf Gordon <assafgordon@gmail.com>
Date: Thu, 13 Dec 2012 11:42:01 -0500
Subject: [PATCH 1/2] doc: mention "git stash" in HACKING

---
 HACKING |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/HACKING b/HACKING
index f3f961a..84e9707 100644
--- a/HACKING
+++ b/HACKING
@@ -120,6 +120,8 @@ Note 2:
     sometimes the checkout will fail, telling you that your local
     modifications conflict with changes required to switch branches.
     However, in any case, you will *not* lose your uncommitted changes.
+    Run "git stash" to temporarily hide uncommited changes in your
+    local directory, restoring a clean working directory.
 
 Anyhow, get back onto your just-created branch:
 
-- 
1.7.7.4


>From 8cd8f40882daa165ced8091697c158c7afb479d6 Mon Sep 17 00:00:00 2001
From: Assaf Gordon <assafgordon@gmail.com>
Date: Thu, 13 Dec 2012 14:20:47 -0500
Subject: [PATCH 2/2] doc: tweak 'lcov' in HACKING

Use the correct -b (--base-directory) parameter.
---
 HACKING |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HACKING b/HACKING
index 84e9707..8e4243f 100644
--- a/HACKING
+++ b/HACKING
@@ -610,8 +610,8 @@ to generate HTML coverage reports.  Follow these steps:
   # run whatever tests you want, i.e.:
   make check
   # run lcov
-  lcov -t coreutils -q -d lib -b lib -o lib.lcov -c
-  lcov -t coreutils -q -d src -b src -o src.lcov -c
+  lcov -t coreutils -q -d lib -b `pwd` -o lib.lcov -c
+  lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
   # generate HTML from the output
   genhtml -p `pwd` -t coreutils -q --output-directory lcov-html *.lcov
 
-- 
1.7.7.4


--------------020604060101070103000808--


From MAILER-DAEMON Fri Dec 14 00:38:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjNyQ-0006mE-Va
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 00:38:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37850)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjNyJ-0006m6-Vo
	for coreutils@gnu.org; Fri, 14 Dec 2012 00:38:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjNyI-00061n-Sr
	for coreutils@gnu.org; Fri, 14 Dec 2012 00:38:07 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:33365)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjNyI-00061e-La
	for coreutils@gnu.org; Fri, 14 Dec 2012 00:38:06 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so3447935vcb.0
	for <coreutils@gnu.org>; Thu, 13 Dec 2012 21:38:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject:references
	:in-reply-to:content-type;
	bh=xH1HmO8j02BElvFWW9YW4yaMwSFYdcvUx8ccewa11c0=;
	b=xiY3LKgsPGu/7m9+v3kpKASnz6X8JfGg2VVuE+Eg6FsQpF81Ph5Nq7xZOQtbt9IbGN
	9GGjwxRwBfiZRSHZ/b0KMM2I4oGzo1uK26cWqMHcK86w1DrOn6wvXVnPhShBmf5gszms
	K4lYJRRsNkGIpNWcFo+mC4f7Bk7+BydoxWZtTliHSWVQVTqXYcxrKkOpsnkaN+2Ms8/J
	1b7UFZdVk8GHCfcDjQqdCj3OYtvf1rRNMWDoowjb5GCRuK+Q4xgIm28y/IZyy7KrdLKi
	2j8C/5UxoAAeM+JYse9e9ldn9SavAF8q6RvNAXfW6j1Bn5HCt+3ku9WQd8fIzYD3Xq2V
	hlng==
Received: by 10.58.2.71 with SMTP id 7mr7640367ves.42.1355463485602;
	Thu, 13 Dec 2012 21:38:05 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id di16sm2973982vdb.11.2012.12.13.21.38.04
	(version=TLSv1/SSLv3 cipher=OTHER);
	Thu, 13 Dec 2012 21:38:04 -0800 (PST)
Message-ID: <50CABB3B.4000307@gmail.com>
Date: Fri, 14 Dec 2012 00:38:03 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com>
In-Reply-To: <50C96F87.3090407@gmail.com>
Content-Type: multipart/mixed; boundary="------------010608090505090100010200"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 05:38:13 -0000

This is a multi-part message in MIME format.
--------------010608090505090100010200
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

Attached is a slightly improved patch - minor code changes, and many more tests.
Line coverage is 98%, and branch coverage is now >93% , and most of the non-covered branches are simply unreachable (I'm checking the reachable ones).

The comments below still apply.

- gordon


Assaf Gordon wrote, On 12/13/2012 01:02 AM:
> 
> Most of the previously raised issues have been addressed, except handling locale'd grouping in the input numbers (locale'd decimal-point is handled correctly).
> 
> Added support for header, auto-whitespace-padding, floating-point input .
> Internally, all values are now stored as "long double" (instead of previously uintmax_t) - enables working with Yotta-scale values.
> 
> The following should now 'just work' :
>     df | ./src/numfmt --header --field 2 --to=si
>     ls -l | ./src/numfmt --header --field 5 --to=iec
>     ls -lh | ./src/numfmt --header --field 5 --from=iec --padding=10
> 
> The "--debug" option now behaves more like sort's "--debug": prints messages to STDERR about possible bad combinations and inputs (which are not fatal errors):
> 
>     $./src/numfmt --debug 60000
>     ./src/numfmt: no conversion option specified
>     60000
> 
> The "--devdebug" option can be used to show internal states (perhaps will be removed once the program is finalized?).
> 
> The test file 'tests/misc/numfmt.pl' contains many more tests and details about possible inputs/outputs.
> 
> If the functionality is acceptable, the next steps are cleaner code and better documentations.
> 


--------------010608090505090100010200
Content-Type: application/x-xz;
 name="numfmt.8.patch.xz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt.8.patch.xz"

/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4k7TXKldACMcieb24Au2aQrNh4niSsjUcjR56UH0
mmdkqN8MEEcfilHAQU992pCZBYAa8c+HNY/lGBswCQVslyVitCVA5FISGTrmR90GtPUTvoDw
AweRaR2rdz8QsaZq13uHZ8DAU9UflamHKx80mtVWAc2R4ALm1Yt9D9lhHGGWR4dud2ElTtKq
M88EBEVLQ5oTr+p06VbxyLEwkdUSaoTSqxfWFCAsv8Ld5rgFqysro6wjCSNaMPkjyNQktIvi
eNGD9+iycAuD9QIjMH+un/yRvPeIYHfP6qo9eg5FQ1zbcc2RScbKQMjvICoQDkg7H/G+4tgx
RDUxL391z/NJ1qB9E8WZAeLpDLiD2hqaqYm987Y8c4BQ+oL88EDOEa9Am/6NMRjEYhfdxZh3
dk+TF/W2FVHqw3domGgaWlNCryK1hCsr79jCl0anhh7R7yoHPu8OM5CF/GboiMcRLzqeFr1t
C26mkN2DsKqA1nP/VEjQr9kI809tsLNY/OMIZUB/gayZKVormbFMwdJdkj+8TIucNkG+XdT1
M5PWsyVt7A++eV4ztgMpjEPyowuQSkhwbAFNowLZgZ0IiU3IIQN4wWsLUSfPnuSQ8a7TVRLo
9hll4TJ9uwakVRobRoYyo+vCSCW0Iw/JkvW59X4GllkZEWCgefGau+4JAy44frxkpFBTdKQz
1mLRiots4sN9LcZcvr2Y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0uLhgswMqL8iFWL6uFuoeAKeFHgg
e2cti7a8htviDLGlWv0B6WTcyqIKykMb7Ocbn1vzhMT1+goKlsfhb5qoMdwUO2aRQXOrUEkZ
Xjqw4m79PkoRO6cAqBYYY77e9ayK/ZRQHoj0W+GwD1GJEjWMXUmpEhHe/HmHaoosU0inov9u
xsh9YwlKigAWxz4AF/D7KP5Vh6tgzJd6QRuSP39GcHxl7M3kyruHF1O5bHWOeAAAAACkax8N
ftbPNAABxbkB1J0JxYeoELHEZ/sCAAAAAARZWg==
--------------010608090505090100010200--


From MAILER-DAEMON Fri Dec 14 03:29:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjQeD-0007BC-Bm
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 03:29:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37261)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjQeB-0007Ax-Ro
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:29:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjQeA-0003sg-Am
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:29:31 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:54284)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjQeA-0003sS-0z
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:29:30 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0MFfu5-1TxzMp0IrN-00FN4P; Fri, 14 Dec 2012 09:29:26 +0100
Message-ID: <50CAE365.6070909@bernhard-voelker.de>
Date: Fri, 14 Dec 2012 09:29:25 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: [PATCH] doc: mention "git stash" in HACKING
References: <50CA2C8A.7030908@gmail.com>
In-Reply-To: <50CA2C8A.7030908@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:ugPbuMGpY6Qix8fZSXsmrN6OJ0QaZiBgSrrmqSfFr1+
	kQEJpoTs0MeOAvRIEznPCrLmnQpLyjZ+iWbjZ+M5QjKIdshYC7
	3EqcouhmeGmuVnfPdxg2hMqdIO2S+vJ3qmxQAdu0P5vTQQocFE
	eSmOeqbp17LRgDBO+Ft6E8IRCs5Q1w0m6+RyMJZGu7jGxDes1q
	OZBh+jRSP4XWJpvCn8oZRkw+Jo9DCQN4zJJOhJh2kx8Sgq97xY
	VKBtD7QxizZZRzPut32cmGybBH4JB1Pzl1Nifby8ENbuDfbTso
	eIW3vy4w5lUr+dk0iPDN0EJAi1X03EuBxLhUNeZW+zFH7E+xde
	JTv/l/IZNtcVbtZfMRXj56VfawK9+zD09WFaqhdU9
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 08:29:32 -0000

splitting the discussion about the 2 patches ...

On 12/13/2012 08:29 PM, Assaf Gordon wrote:
> The first mentions 'git stash' in a relevant paragraph.
> [...]

Thanks.

> [PATCH 1/2] doc: mention "git stash" in HACKING

I tweaked the commit message a bit: even if the change is trivial
and the subject is HACKING, it's good practice to mention it in a
line below which describes the change in detail.

And I fixed a typo, here's the diff.

-    Run "git stash" to temporarily hide uncommited changes in your
+    Run "git stash" to temporarily hide uncommitted changes in your

Below is the full patch (not pushed yet).

Have a nice day,
Berny

>From 53f1ad2f93435cc59adc58009a035b37f0127c16 Mon Sep 17 00:00:00 2001
From: Assaf Gordon <assafgordon@gmail.com>
Date: Fri, 14 Dec 2012 08:47:17 +0100
Subject: [PATCH] doc: mention "git stash" in HACKING

* HACKING: In the paragraph about switching branches, mention
"git stash" as a way to continue while preserving uncommitted
changes.
---
 HACKING |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/HACKING b/HACKING
index f3f961a..adc305f 100644
--- a/HACKING
+++ b/HACKING
@@ -120,6 +120,8 @@ Note 2:
     sometimes the checkout will fail, telling you that your local
     modifications conflict with changes required to switch branches.
     However, in any case, you will *not* lose your uncommitted changes.
+    Run "git stash" to temporarily hide uncommitted changes in your
+    local directory, restoring a clean working directory.

 Anyhow, get back onto your just-created branch:

-- 
1.7.7



From MAILER-DAEMON Fri Dec 14 03:29:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjQeX-0007Hc-Fy
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 03:29:53 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37326)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjQeV-0007Ga-KI
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:29:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjQeT-0003wb-W4
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:29:51 -0500
Received: from moutng.kundenserver.de ([212.227.126.187]:60918)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjQeT-0003wU-Mr
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:29:49 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis)
	id 0MbLNo-1TSrhg390u-00J6yb; Fri, 14 Dec 2012 09:29:48 +0100
Message-ID: <50CAE37C.8060907@bernhard-voelker.de>
Date: Fri, 14 Dec 2012 09:29:48 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: [PATCH 2/2] doc: tweak 'lcov' in HACKING
References: <50CA2C8A.7030908@gmail.com>
In-Reply-To: <50CA2C8A.7030908@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:9myTrdApIFLQvzn08vxocrkSYw/s9bBKtqHVkUp8oJh
	ueVROgFnV/vcP0kpZn2nYlsqk6jZzhTaoB2p2vwHevR9NOYBxw
	XIKemA1JPjGZhezOZFP2ltTp9qNgyyVX6krCSZFgGbSWoqsfwT
	nmKPruxrB7KLppq05KKr0JzHf5ivby04wIjZrGSDQrOQ4X8L5E
	yHCBlCgrDR1/BqzUul1+TckLEEGNbnOTKaJ7YqX5CXcTBWwZpl
	mgrwdzdPmyIiAAebUmWhAsrQjOCDL9p+xxLt4vzrG7tjV7M71h
	e8VWKCfg+Pvx3Tc9Nq5B3hwM166jn91PFCOdlvO5KD+8xlR+/K
	K3koxHDSWbkuFHgPdveeh+P4du08V8PnGq7WFYWn7
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.187
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 08:29:52 -0000

splitting the discussion about the 2 patches ...

On 12/13/2012 08:29 PM, Assaf Gordon wrote:
> [...]
> The second changes parameters for 'lcov' example - the current parameters
> produce wrong output (the source files are not found, with LCOV version 1.9 ).

Thanks.

> [PATCH 2/2] doc: tweak 'lcov' in HACKING

I also noticed the lcov issue recently, but didn't find the time
to fix HACKING. Furthermore, I'm not sure if lcov-1.9 is the reason
for the problem - I think it worked some time ago ... and according
to 'rpm -q -changelog lcov', I already have 1.9 since about Jan or
Feb 2011.

It think the reason might be the new non-recursive build system.

And furthermore, the second lcov call still fails here:

  $ lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
  <built-in>:cannot open source file
  geninfo: ERROR: cannot read <built-in>.gcov!

Don't you get that, too?

I had a look at the Hydra recipe which just removes the offending files:
http://git.sv.gnu.org/cgit/hydra-recipes.git/tree/coreutils/release.nix

    coverage =
      pkgs.releaseTools.coverageAnalysis {
        name = "coreutils-coverage";
        src = jobs.tarball;
        configureFlags = [ "--enable-install-program=arch,hostname" ];
        buildInputs = buildInputsFrom pkgs;
        postCheck =
          # Remove the file that confuses lcov.
          '' rm -fv 'src/<built-in>.'*
             rm -fv src/getlimits.gc*
          '';
        inherit meta;
      };

Have a nice day,
Berny


From MAILER-DAEMON Fri Dec 14 03:53:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjR1g-0005BF-Dj
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 03:53:48 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42813)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjR1c-0005B3-Qr
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:53:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjR1b-0000vS-MQ
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:53:44 -0500
Received: from mx1.redhat.com ([209.132.183.28]:10753)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjR1b-0000v5-F9
	for coreutils@gnu.org; Fri, 14 Dec 2012 03:53:43 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBE8rfrS020758
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 14 Dec 2012 03:53:41 -0500
Received: from [10.36.116.69] (ovpn-116-69.ams2.redhat.com [10.36.116.69])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBE8rdgd011427
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 14 Dec 2012 03:53:40 -0500
Message-ID: <50CAE913.6090905@draigBrady.com>
Date: Fri, 14 Dec 2012 08:53:39 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
In-Reply-To: <50CABB3B.4000307@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBE8rfrS020758
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 08:53:47 -0000

On 12/14/2012 05:38 AM, Assaf Gordon wrote:
> Hello,
>
> Attached is a slightly improved patch - minor code changes, and many mo=
re tests.
> Line coverage is 98%, and branch coverage is now >93% , and most of the=
 non-covered branches are simply unreachable (I'm checking the reachable =
ones).
>
> The comments below still apply.

wow great stuff.

> Assaf Gordon wrote, On 12/13/2012 01:02 AM:
>>
>> Most of the previously raised issues have been addressed, except handl=
ing locale'd grouping in the input numbers (locale'd decimal-point is han=
dled correctly).

Cool, we can address that if needed later.

>>
>> Added support for header, auto-whitespace-padding, floating-point inpu=
t .
>> Internally, all values are now stored as "long double" (instead of pre=
viously uintmax_t) - enables working with Yotta-scale values.
>>
>> The following should now 'just work' :
>>      df | ./src/numfmt --header --field 2 --to=3Dsi
>>      ls -l | ./src/numfmt --header --field 5 --to=3Diec
>>      ls -lh | ./src/numfmt --header --field 5 --from=3Diec --padding=3D=
10
>>
>> The "--debug" option now behaves more like sort's "--debug": prints me=
ssages to STDERR about possible bad combinations and inputs (which are no=
t fatal errors):
>>
>>      $./src/numfmt --debug 60000
>>      ./src/numfmt: no conversion option specified
>>      60000

Maybe --verbose would be more appropriate, if this option is needed at al=
l.
sort is exceedingly complex whereas hopefully numfmt will not.

>> The "--devdebug" option can be used to show internal states (perhaps w=
ill be removed once the program is finalized?).

Yes we may remove, or at least not document.

>>
>> The test file 'tests/misc/numfmt.pl' contains many more tests and deta=
ils about possible inputs/outputs.
>>
>> If the functionality is acceptable, the next steps are cleaner code an=
d better documentations.

I hope to review this, this weekend.

thanks!
P=E1draig.


From MAILER-DAEMON Fri Dec 14 04:49:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjRti-0007Yp-G3
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 04:49:38 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55948)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjRtf-0007Xo-AG
	for coreutils@gnu.org; Fri, 14 Dec 2012 04:49:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjRtd-0005zc-Vc
	for coreutils@gnu.org; Fri, 14 Dec 2012 04:49:35 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:63665)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjRtd-0005zN-M1
	for coreutils@gnu.org; Fri, 14 Dec 2012 04:49:33 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0LaYSx-1THVWV12NT-00lhux; Fri, 14 Dec 2012 10:49:32 +0100
Message-ID: <50CAF62B.8050804@bernhard-voelker.de>
Date: Fri, 14 Dec 2012 10:49:31 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: [PATCH] maint: fix typos found by misspellings
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:47vARScQDuFD6NlQd2MIkU4FXiU7lYKNzvqbYf+GfD6
	jJShvtpEKsyaZ3rcKsJhl30SzdDgB6p4m11buS4S9PtB2LfRsq
	PmDIjPHY22gRV48lysicEZiUG1lDrfZ4Hs/fLkaZrnOYNpb9n5
	psv5R66XWnxdr9hTNeMpEHhJPPRQGcmDz95K5SEplc4eO3ydCm
	2ZTQYIyseNGIKNDAlG+TEHgX0/+YvWKTRRus04K77QUpN11TE1
	l4Be4XAszmEr/pvZA3yowkLU5UK0AXaQP/euQmnd/LmFTRda7i
	4JJSOu5Me9VUmH++NqmrUThgjkeufQqEmYv194UTxKejMNf9jx
	AiLcSMz+ejFGyKZbsMs342uCQzsoXx5Kg8nEX1WuW
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 09:49:37 -0000

It's been time to run misspellings again, but
the only 2 new mistakes came from me, sorry ...
;-/

Have a nice day,
Berny

>From 9c506806fa3904fba60d9f67f381cf90fe6f1e69 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
Date: Fri, 14 Dec 2012 10:45:21 +0100
Subject: [PATCH] maint: fix typos found by misspellings

* doc/coreutils.texi (df invocation): s/occurence/occurrence/.
* tests/df/skip-rootfs.sh: s/supressed/suppressed/
---
 doc/coreutils.texi      |    5 +++--
 tests/df/skip-rootfs.sh |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 21400ad..5f8fad7 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10601,8 +10601,9 @@ Normally the disk space is printed in units of
 Non-integer quantities are rounded up to the next higher unit.

 For bind mounts and without arguments, @command{df} only outputs the statistics
-for the first occurence of that device in the list of file systems (@var{mtab}),
-i.e., it hides duplicate entries, unless the @option{-a} option is specified.
+for the first occurrence of that device in the list of file systems
+(@var{mtab}), i.e., it hides duplicate entries, unless the @option{-a} option is
+specified.

 By default, @command{df} omits the early-boot pseudo file system type
 @samp{rootfs}, unless the @option{-a} option is specified or that file system
diff --git a/tests/df/skip-rootfs.sh b/tests/df/skip-rootfs.sh
index 9ba2716..7a67835 100755
--- a/tests/df/skip-rootfs.sh
+++ b/tests/df/skip-rootfs.sh
@@ -25,7 +25,7 @@ df || skip_ "df fails"
 df -a >out || fail=1
 grep '^rootfs' out || skip_ "no rootfs in mtab"

-# Ensure that rootfs is supressed when no options is specified.
+# Ensure that rootfs is suppressed when no options is specified.
 df >out || fail=1
 grep '^rootfs' out && { fail=1; cat out; }

-- 
1.7.7



From MAILER-DAEMON Fri Dec 14 10:26:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjX9R-0005Ef-67
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 10:26:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46915)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TjX9N-00058X-Hg
	for coreutils@gnu.org; Fri, 14 Dec 2012 10:26:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TjX9K-0007t0-Tu
	for coreutils@gnu.org; Fri, 14 Dec 2012 10:26:09 -0500
Received: from mx1.redhat.com ([209.132.183.28]:21391)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TjX9K-0007sf-JX
	for coreutils@gnu.org; Fri, 14 Dec 2012 10:26:06 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBEFQ1gf004935
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 14 Dec 2012 10:26:03 -0500
Received: from [10.3.113.29] (ovpn-113-29.phx2.redhat.com [10.3.113.29])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBEFK9ZL028354; Fri, 14 Dec 2012 10:20:19 -0500
Message-ID: <50CB43A8.8070609@redhat.com>
Date: Fri, 14 Dec 2012 08:20:08 -0700
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
In-Reply-To: <50CAE913.6090905@draigBrady.com>
X-Enigmail-Version: 1.4.6
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigCC9DE72AFC05535C7A240EDE"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 15:26:11 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCC9DE72AFC05535C7A240EDE
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/14/2012 01:53 AM, P=C3=A1draig Brady wrote:
>>> The "--devdebug" option can be used to show internal states (perhaps
>>> will be removed once the program is finalized?).
>=20
> Yes we may remove, or at least not document.

If you choose to not document it, then name it '---devdebug' (yes, with
three dashes), so that it doesn't interfere with any use of '--d' as an
unambiguous prefix of a documented long option starting with d.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enigCC9DE72AFC05535C7A240EDE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBCAAGBQJQy0OoAAoJEKeha0olJ0Nq62QH/RnNJERsPNRA23Z7RhYLQeOX
nt4w3x/hBh/d//p59rX1JBjSh324ccf8Id1DbOiWHLiJ/F8PHN3crs26R/vIN5m1
FN8w8jQmCA5UCx41ds2ALzJ0iH662Auo61o9MqVcwW+8S+uS1BtoQxsr02tDs7k3
Vlw3HfMeUOk/t2QB6u0Wtknw6q0BziPRyesamaL7GQnf0+yVnXX8MazR5pSsGu9G
9IH5ZDSXi0yDKy0EQ2/HFbOC7y3m65IJq1X4lpDepXVgMSBBbn+Rhz2r7oc4lomB
Fw4XrZ/wZBglElGE/XD10v+5Nv6iI1EekG0dLmj270lqBGXabcOQRGE6vOL7GQ4=
=f/1x
-----END PGP SIGNATURE-----

--------------enigCC9DE72AFC05535C7A240EDE--


From MAILER-DAEMON Fri Dec 14 11:55:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjYXb-0000q2-8a
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 11:55:15 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36499)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjYXY-0000p2-SV
	for coreutils@gnu.org; Fri, 14 Dec 2012 11:55:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjYXT-000522-Sx
	for coreutils@gnu.org; Fri, 14 Dec 2012 11:55:12 -0500
Received: from mail-qc0-f169.google.com ([209.85.216.169]:49660)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjYXT-00050q-Nv
	for coreutils@gnu.org; Fri, 14 Dec 2012 11:55:07 -0500
Received: by mail-qc0-f169.google.com with SMTP id t2so2644979qcq.0
	for <coreutils@gnu.org>; Fri, 14 Dec 2012 08:55:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=x/31YxBMFLppl/Ga2Ke1FU3mrBcVqUwqypvpgQarn9w=;
	b=GDX1S93JbsbHV3GmyeKzOZNf0eYwK5gGnSMPbTkTYfvozYGihUiubrvZAXYKW/Y6wp
	xcQwNTQITvbV3n/vuibmj3OV/H3ez4TXLsboxu9RUiwUheCRagNrX/nSxqqMwLrnfISn
	tZ9ovBy+TTnx4zdoCXm82Uw5A3vASKml5HY2v2HLCKkxZNC+c1+z8jPgK2oFVtVjg+xV
	T442TJh/Ln/TiK26K6Ey4hD8IxBu+TbP5dWUm7DuJ9kill72/yX64LQxjk4Wl0vUeEm5
	gJe5Dcpy4/cqYtEFI9FNqxhkciyLySwVA2TRDZ9h5C1QzU5wmCDnFKAwq8sLWyYsncL6
	3TkQ==
Received: by 10.224.194.132 with SMTP id dy4mr2856596qab.33.1355504106518;
	Fri, 14 Dec 2012 08:55:06 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id j17sm1420475qad.9.2012.12.14.08.55.05
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 14 Dec 2012 08:55:05 -0800 (PST)
Message-ID: <50CB59E8.8030705@gmail.com>
Date: Fri, 14 Dec 2012 11:55:04 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH 2/2] doc: tweak 'lcov' in HACKING
References: <50CA2C8A.7030908@gmail.com> <50CAE37C.8060907@bernhard-voelker.de>
In-Reply-To: <50CAE37C.8060907@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.169
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 16:55:14 -0000

Hello Bernhard,

Bernhard Voelker wrote, On 12/14/2012 03:29 AM:
> splitting the discussion about the 2 patches ...
> 
> On 12/13/2012 08:29 PM, Assaf Gordon wrote:
>> [...]
>> The second changes parameters for 'lcov' example - the current parameters
>> produce wrong output (the source files are not found, with LCOV version 1.9 ).
> 
> Thanks.
> 
>> [PATCH 2/2] doc: tweak 'lcov' in HACKING
> 
> I also noticed the lcov issue recently, but didn't find the time
> to fix HACKING. Furthermore, I'm not sure if lcov-1.9 is the reason
> for the problem - I think it worked some time ago ... and according
> to 'rpm -q -changelog lcov', I already have 1.9 since about Jan or
> Feb 2011.
> 
> It think the reason might be the new non-recursive build system.
> 
> And furthermore, the second lcov call still fails here:
> 
>   $ lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
>   <built-in>:cannot open source file
>   geninfo: ERROR: cannot read <built-in>.gcov!
> 
> Don't you get that, too?
> 

The following commands work on my system, generating a coverage report from a clean repository:

   git clone git://git.sv.gnu.org/coreutils.git coreutils_test
   cd coreutils_test/
   ./bootstrap
   ./configure CFLAGS="-g -fprofile-arcs -ftest-coverage"
   make -j 4
   make -j 4 check
   lcov -t coreutils -q -d lib -b `pwd` -o lib.lcov -c
   lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
   genhtml -p `pwd` -t coreutils -q --output-directory lcov-html *.lcov   

The two "lcov" invocations do produce some warnings, like so:

    $ lcov -t coreutils -q -d lib -b `pwd` -o lib.lcov -c
    geninfo: WARNING: no data found for /home/gordon/temp/coreutils_test/lib/mbuiter.h
    < snip >
    Cannot open source file parse-datetime.y
    Cannot open source file parse-datetime.c
    
    $ lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
    geninfo: WARNING: no data found for /home/gordon/temp/coreutils_test/lib/stat-time.h
    geninfo: WARNING: no data found for /home/gordon/temp/coreutils_test/lib/mbchar.h
    < snip >
    geninfo: WARNING: no data found for /home/gordon/temp/coreutils_test/lib/openat.h
    geninfo: WARNING: no data found for /usr/include/gmp-x86_64.h
    geninfo: WARNING: no data found for /home/gordon/temp/coreutils_test/lib/stat-time.h
    geninfo: WARNING: no data found for /home/gordon/temp/coreutils_test/lib/timespec.h

But I assume this is normal/acceptable (if those files weren't covered in the tests).

If this flow doesn't work reliably on all systems, then the "HACKING" needs more tweaking...

Thanks,
 -gordon


From MAILER-DAEMON Fri Dec 14 13:33:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tja4S-0006xt-TW
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 13:33:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55423)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tja4P-0006vV-W5
	for coreutils@gnu.org; Fri, 14 Dec 2012 13:33:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tja4N-0005wn-TF
	for coreutils@gnu.org; Fri, 14 Dec 2012 13:33:13 -0500
Received: from mail-qa0-f48.google.com ([209.85.216.48]:35862)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tja4N-0005we-Oo
	for coreutils@gnu.org; Fri, 14 Dec 2012 13:33:11 -0500
Received: by mail-qa0-f48.google.com with SMTP id l8so994423qaq.0
	for <coreutils@gnu.org>; Fri, 14 Dec 2012 10:33:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type; bh=3klbkfOHBp3M5KqHT3TSZwJpu2pYqzgcDQ8OLvNLZu0=;
	b=i40JlWfMQwMPuyjx5ZUSPPAdlNuinmsf8ujkRU6u0PBdsz8mAGqMZufi2TdNg3pimW
	86G3EPxtjsT5//znSPQ4YFJFk9IBDYQnOpB9ccBFriamLDr66weniASsMZfGYp2hdCdS
	PNUqCFIoVrusaG2L76bzgwCjhtRpY+nEit2rjhRVAPKD2uS5Bu04Prsdzc5/4apWZRSi
	QupyXndLcJ5uTvPDwb1iO5hnX8j6Kt1uynW7KgFahrYGERzAC7n/jGLBXMcegPDIRVSP
	zXL6nHjtFFlHsAFUMifyImfdD0HBp8thtFBX4ZCWOcHjAYOnCKnFHznw47CS/M+zieL7
	FMNw==
Received: by 10.49.84.104 with SMTP id x8mr3461383qey.5.1355509991331;
	Fri, 14 Dec 2012 10:33:11 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id h8sm1567054qap.17.2012.12.14.10.33.10
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 14 Dec 2012 10:33:10 -0800 (PST)
Message-ID: <50CB70E5.60609@gmail.com>
Date: Fri, 14 Dec 2012 13:33:09 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: [PATCH] maint: ignore GCC coverage files
Content-Type: multipart/mixed; boundary="------------050108040302030501020004"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.48
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 18:33:15 -0000

This is a multi-part message in MIME format.
--------------050108040302030501020004
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

Related to the updated coverage documentation, perhaps update the ".gitignore" to ignore the generated coverage files?
Another possible addition is ignoring "src.lcov", "lib.lcov" and "lcov-html/*" - but those file names are not fixed, just the recommended file names in HACKING .

-gordon

--------------050108040302030501020004
Content-Type: text/x-diff;
 name="gitignore.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="gitignore.patch"

>From eb54c8adf123481f3231aeb40e1b4ff38288b9af Mon Sep 17 00:00:00 2001
From: Assaf Gordon <assafgordon@gmail.com>
Date: Fri, 14 Dec 2012 13:27:26 -0500
Subject: [PATCH] maint: update gitignore entries

* .gitignore: ignore GCC coverage data files.
---
 .gitignore |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5ce2361..15b77e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -170,3 +170,5 @@ Makefile.in
 TAGS
 THANKS
 THANKS-to-translators
+*.gcno
+*.gcda
-- 
1.7.7.4


--------------050108040302030501020004--


From MAILER-DAEMON Fri Dec 14 13:36:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tja76-00014m-B4
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 13:36:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56003)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tja75-000141-5N
	for coreutils@gnu.org; Fri, 14 Dec 2012 13:35:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tja74-0006rU-99
	for coreutils@gnu.org; Fri, 14 Dec 2012 13:35:59 -0500
Received: from mail-qa0-f41.google.com ([209.85.216.41]:40991)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tja73-0006rO-VR
	for coreutils@gnu.org; Fri, 14 Dec 2012 13:35:58 -0500
Received: by mail-qa0-f41.google.com with SMTP id o19so1013298qap.0
	for <coreutils@gnu.org>; Fri, 14 Dec 2012 10:35:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=qRGM0+6Y06rnkDeYuYLj17+6Ohcqdo19yk3deTl8Y0E=;
	b=PVoznD17Krzd0nepjd4zcX0ysGOp8+5ZU9/EVAftsO6XpLOU27k2ef9xPESwk6mrOT
	hgf9zSZlqzyi9DTLKCyiQegbfw1gFv2jm3NGZc44apmy5LVvDz7WZCEYk0D3oGD6f2BR
	N5hZsIiMdRk10KpjYHNkDzOTarDZpMP9OEzZysfuNV47ey5nHeqZl8aardlIqU/b+7Z6
	APVqBd9J7rzUesZhXN/f+PO6h2vO49jLJFYYak4bnLWjSl28emCnHIP8EHtg+nbbJA3s
	TJys1MU4jbAmoVNU2xLnCPiXmbObhUC3rGrdECmCcudMNTHY6nT5n80NVUVzJfwA6bqz
	hLQg==
Received: by 10.229.78.144 with SMTP id l16mr708062qck.12.1355510157447;
	Fri, 14 Dec 2012 10:35:57 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id e12sm1412890qad.1.2012.12.14.10.35.56
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 14 Dec 2012 10:35:56 -0800 (PST)
Message-ID: <50CB718C.4070603@gmail.com>
Date: Fri, 14 Dec 2012 13:35:56 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH] doc: mention "git stash" in HACKING
References: <50CA2C8A.7030908@gmail.com> <50CAE365.6070909@bernhard-voelker.de>
In-Reply-To: <50CAE365.6070909@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.41
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 18:36:00 -0000

Bernhard Voelker wrote, On 12/14/2012 03:29 AM:
> On 12/13/2012 08:29 PM, Assaf Gordon wrote:
> 
>> [PATCH 1/2] doc: mention "git stash" in HACKING
> 
> I tweaked the commit message a bit: even if the change is trivial
> and the subject is HACKING, it's good practice to mention it in a
> line below which describes the change in detail.
> 

Thanks!
I keep on learning...

-gordon


From MAILER-DAEMON Fri Dec 14 16:09:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjcW3-0000aj-JZ
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 16:09:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48300)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jjk7845@wowway.com>) id 1TjcP9-0007Xx-Pb
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:02:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jjk7845@wowway.com>) id 1TjcP5-0007q3-FN
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:02:47 -0500
Received: from smtp.wow.synacor.com ([64.8.70.55]:36488
	helo=smtp.mail.wowway.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jjk7845@wowway.com>) id 1TjcP5-0007py-9p
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:02:43 -0500
X_CMAE_Category: 0,0 Undefined,Undefined
X-CNFS-Analysis: v=1.1 cv=CIrd2VtW4t2jO5UNyUYpi19KxaV+yoPbBAtYeYHFuTA= c=1
	sm=0 a=3wG0WTDbgAMA:10 a=qbOvAhBSDokA:10 a=AhRLOILGsKkA:10
	a=8nJEP1OIZ-IA:10 a=yheQMPhXV7w98CbA4TIA:9 a=wPNLvfGTeEIA:10
	a=lYb4aEJvtRuM1tzjk5lSkw==:117
X-CM-Score: 0
X-Scanned-by: Cloudmark Authority Engine
Authentication-Results: smtp01.wow.synacor.com smtp.mail=jjk7845@wowway.com;
	spf=neutral
Authentication-Results: smtp01.wow.synacor.com smtp.user=jjk7845;
	auth=pass (LOGIN)
Received-SPF: neutral (smtp01.wow.synacor.com: 64.53.235.178 is neither
	permitted nor denied by domain of wowway.com)
Received: from [64.53.235.178] ([64.53.235.178:33118] helo=[192.168.1.101])
	by smtp.mail.wowway.com (envelope-from <jjk7845@wowway.com>)
	(ecelerity 2.2.2.40 r(29895/29896)) with ESMTPA
	id 0F/E7-22944-2F39BC05; Fri, 14 Dec 2012 16:02:42 -0500
Message-ID: <50CB93E6.5080806@wowway.com>
Date: Fri, 14 Dec 2012 15:02:30 -0600
From: john <jjk7845@wowway.com>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:16.0) Gecko/20121025 Thunderbird/16.0.2
MIME-Version: 1.0
To: coreutils@gnu.org
Subject: enhancement suggestions for "sort" and text editor
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-Received-From: 64.8.70.55
X-Mailman-Approved-At: Fri, 14 Dec 2012 16:09:53 -0500
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 21:02:54 -0000

Gentlemen;


In the course of trying to emulate some simple data processing functions 
of the early mainframe era, I was surprised they weren't readily 
supported by current standard tools.

In particular I wish to enter text into predefined (fixed location) 
fields in a record as opposed to variably delimited fields.  In other 
words emulate the punched card record where card columns are assigned to 
particular data character columns.  Those card columns then just become 
a text column range of a single record.  If I could just set perhaps 10 
arbitrary tab stops (in any simple editor), it would be sufficient for 
this purpose.  The tab key would just advance to the next stop in 
succession, tho not necessarily regularly spaced.  In the simplest 
sense, a command line switch could just accept a list of tab columns in 
ascending order.  The end of a field need not be defined, too much text 
would just spill into consecutive columns.  The expansion of the tab 
into spaces would be necessary as there is no assurance subsequently 
used utilities could synchronize those stops.

The companion problem was using "sort" to accept keys based upon fixed 
character columns vs delimited fields.  I would like to sort keys in 
specific columns without regard to potentially missing fields.  There 
appears to be character positioning of keys, but relative to a delimited 
key field.  Perhaps a notation like a field "0" with a character 
position could refer to just absolute character positions e.g. "-k0.5, 
0.9" indicating a key of character columns 5 thru 9, regardless of what 
may or may not reside on characters 1-4.

I believe such enhancements could increase the generality of these 
utilities without bloating them with seldom needed capability.  I am not 
a programmer of the modern era and find it disappointing that special 
code appears to be needed for what used to be basic.


Regards,

John Kotrba





From MAILER-DAEMON Fri Dec 14 16:19:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjcfI-0002nN-RX
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 16:19:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51440)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TjcfD-0002mP-AL
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:19:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Tjcf8-0003MB-H4
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:19:23 -0500
Received: from mx1.redhat.com ([209.132.183.28]:48224)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Tjcf8-0003Ls-9W
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:19:18 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBELJH9Q032180
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 14 Dec 2012 16:19:17 -0500
Received: from [10.3.113.29] (ovpn-113-29.phx2.redhat.com [10.3.113.29])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBELJGDT022078; Fri, 14 Dec 2012 16:19:17 -0500
Message-ID: <50CB97D4.7070907@redhat.com>
Date: Fri, 14 Dec 2012 14:19:16 -0700
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: john <jjk7845@wowway.com>
Subject: Re: enhancement suggestions for "sort" and text editor
References: <50CB93E6.5080806@wowway.com>
In-Reply-To: <50CB93E6.5080806@wowway.com>
X-Enigmail-Version: 1.4.6
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigBA75FE33235E966E7B8C86F9"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 21:19:28 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBA75FE33235E966E7B8C86F9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/14/2012 02:02 PM, john wrote:

>=20
> In particular I wish to enter text into predefined (fixed location)
> fields in a record as opposed to variably delimited fields.  In other
> words emulate the punched card record where card columns are assigned t=
o
> particular data character columns.  Those card columns then just become=

> a text column range of a single record.  If I could just set perhaps 10=

> arbitrary tab stops (in any simple editor), it would be sufficient for
> this purpose.  The tab key would just advance to the next stop in
> succession, tho not necessarily regularly spaced.

Sounds like you are talking in part about 'expand -t', which lets you
re-expand tabs according to your choice of pre-defined stops.  Beyond
that, your question is out of scope for coreutils, and better directed
to the editor of your choice (I'm quite sure that emacs is probably
going to have something that does what you want, although I don't use
arbitrary tab stops enough to be able to tell you off-hand how to get at
that feature)

> The companion problem was using "sort" to accept keys based upon fixed
> character columns vs delimited fields.  I would like to sort keys in
> specific columns without regard to potentially missing fields.  There
> appears to be character positioning of keys, but relative to a delimite=
d
> key field.  Perhaps a notation like a field "0" with a character
> position could refer to just absolute character positions e.g. "-k0.5,
> 0.9" indicating a key of character columns 5 thru 9, regardless of what=

> may or may not reside on characters 1-4.

This can already be accomplished with a wise choice of -d (here, in bash
notation):

sort -d$'\n' -k1.5,1.9

which says to break fields at newline characters; since newline also
breaks records, that means each entire line will all be field 1.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enigBA75FE33235E966E7B8C86F9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBCAAGBQJQy5fUAAoJEKeha0olJ0Nq7RYH/18CffiW73fZbeZ74HQcLK63
WVMpF5wbXYLiGHzoijOYTipEq6cTe+XIYvzpUtR5H9qD3twzyy6xvZwCM7X7cGjZ
OUZviZmHPFr6NKlNFyBWH/LuOkNuf3bjuu9Dp4JhPj/0XFYoEq2aymOjuSdkA+SC
cg6aLfaUP3qcEKWHM1fu+Pa7Gi7LhlyDZCi9S5z75GW9lGVUNqftdOS9CW0gfChw
+bNHcyo/5Y6dztX05uwQ75CM/3TMf7iUWiFRCMlISWr1NjjPEU2kStan+EpLokk4
GKxRVWR2xUxXbIV2fwbH7TFdw4Gj3EM/gj1M+7yqZP6MBuCdIDzQiWR337KTKws=
=sYOx
-----END PGP SIGNATURE-----

--------------enigBA75FE33235E966E7B8C86F9--


From MAILER-DAEMON Fri Dec 14 16:28:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjcnZ-0006Nx-76
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 16:28:01 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52508)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjcnT-0006NF-SF
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:27:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjcnP-0005V7-P2
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:27:55 -0500
Received: from mail-qc0-f169.google.com ([209.85.216.169]:40996)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TjcnP-0005V3-Kg
	for coreutils@gnu.org; Fri, 14 Dec 2012 16:27:51 -0500
Received: by mail-qc0-f169.google.com with SMTP id t2so2824673qcq.0
	for <coreutils@gnu.org>; Fri, 14 Dec 2012 13:27:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:subject:references
	:in-reply-to:content-type:content-transfer-encoding;
	bh=yFvI3BCZkzkvW2ZOApHMXExVg9k/LfdOC2daf3DOg8o=;
	b=YkteGpreXQ/RXcl4XpM7r0yujHj/C8PX9ZZlVSu1Wfgr0RmH9bA3gpjXCKWv0wFpR3
	mZx4s6ooif3CqEQq+tBK5t+0Cl1nhYghmh6mjxn+zkuJDp3cD57if9tqJX9JybF/nTmI
	DIuRuCQhhi+p4DK6YMl6k0tstz1q+7EBkXOlpaEUUupfICGClx/GJTZghRcBf6d+LAZP
	1X1kb3N2YJfNSNLAhMtKVikVwhv+jJOpq7iqzUOgYtVv9TOdx7gJVD/nSmU6Mz5HKbtG
	7Lqi1FK4RrNIEdfqG+bgcLwFJh1KiD8Jt2WFTkSw01KLAmxqyd9+moa/5KHDCOWtxYAj
	AkQg==
Received: by 10.224.60.18 with SMTP id n18mr3279581qah.36.1355520471156;
	Fri, 14 Dec 2012 13:27:51 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id q14sm1841931qaa.15.2012.12.14.13.27.49
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 14 Dec 2012 13:27:50 -0800 (PST)
Message-ID: <50CB99D5.2060303@gmail.com>
Date: Fri, 14 Dec 2012 16:27:49 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: john <jjk7845@wowway.com>, coreutils@gnu.org
Subject: Re: enhancement suggestions for "sort" and text editor
References: <50CB93E6.5080806@wowway.com> <50CB97D4.7070907@redhat.com>
In-Reply-To: <50CB97D4.7070907@redhat.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 21:27:59 -0000

Hello John,

Eric Blake wrote, On 12/14/2012 04:19 PM:
> On 12/14/2012 02:02 PM, john wrote:
>>
>> In particular I wish to enter text into predefined (fixed location)
>> fields in a record as opposed to variably delimited fields.  In other
>> words emulate the punched card record where card columns are assigned to
>> particular data character columns.  Those card columns then just become
>> a text column range of a single record.  If I could just set perhaps 10
>> arbitrary tab stops (in any simple editor), it would be sufficient for
>> this purpose.  The tab key would just advance to the next stop in
>> succession, tho not necessarily regularly spaced.
> 
> Sounds like you are talking in part about 'expand -t', which lets you
> re-expand tabs according to your choice of pre-defined stops.  Beyond
> that, your question is out of scope for coreutils, and better directed
> to the editor of your choice (I'm quite sure that emacs is probably
> going to have something that does what you want, although I don't use
> arbitrary tab stops enough to be able to tell you off-hand how to get at
> that feature)
> 

(Slightly off-topic for coreutils, but for completeness:)

Recent versions of GNU awk (gawk) support exactly this kind of processing:

    $ printf "0000AAAAxx33333\n1234BBBByy98765\n" | gawk -v FIELDWIDTHS="4 4 2 5" '{print $1,$2,$3,$4}'
    0000 AAAA xx 33333
    1234 BBBB yy 98765

Or with Tab-separated output:

    $ printf "0000AAAAxx33333\n1234BBBByy98765\n" | gawk -v FIELDWIDTHS="4 4 2 5" -v OFS="\t" '{print $1,$2,$3,$4}'
    0000	AAAA	xx	33333
    1234	BBBB	yy	98765

More information here:
 http://www.gnu.org/software/gawk/manual/html_node/Constant-Size.html

-gordon



From MAILER-DAEMON Fri Dec 14 18:23:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjebW-00020H-TO
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 18:23:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42097)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjebQ-00020A-5g
	for coreutils@gnu.org; Fri, 14 Dec 2012 18:23:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjebM-00014M-7V
	for coreutils@gnu.org; Fri, 14 Dec 2012 18:23:36 -0500
Received: from moutng.kundenserver.de ([212.227.17.9]:65493)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjebL-00014C-UC
	for coreutils@gnu.org; Fri, 14 Dec 2012 18:23:32 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis)
	id 0LgvGY-1TO0t2407a-00nVlz; Sat, 15 Dec 2012 00:23:31 +0100
Message-ID: <50CBB4F2.9050909@bernhard-voelker.de>
Date: Sat, 15 Dec 2012 00:23:30 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: [PATCH] doc: mention "git stash" in HACKING
References: <50CA2C8A.7030908@gmail.com> <50CAE365.6070909@bernhard-voelker.de>
	<50CB718C.4070603@gmail.com>
In-Reply-To: <50CB718C.4070603@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:0pOZ5CLBbI55M/PIhszY3MrLBkH5cz1/tk/BFsafZoT
	UiGRngXkIO5X84tKf4FvCKApzs0uAhJ6agr8IkwttwoWa3nFzn
	C/FhtJRogOKMqiJ84UPYayRXu5graXplNT2Y2sBtFze/vZfqnj
	qYKY0lsT7D1AHUvwogQKDQwVF21aGo/M4HM9YTmmAeyMAzUQ6F
	G343b23j0rPYFlSHlL1zxLUZ3ZND5oSNJZzWdZSLHbYFiM+2ux
	1mS6ALTrF4fFzLPLKX6W3ekxjPlENhVdJ9n+vnc6OgJ66yPM7T
	ax3CRd2enuSw5u/6PCxWNnAItuAR+W81Hya9ooh8XIgP8MZOeA
	ntKApHS1q2RQm947J00gafl1n1ZCeIcltmtk9GzP6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.9
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Dec 2012 23:23:41 -0000

On 12/14/2012 07:35 PM, Assaf Gordon wrote:
> Bernhard Voelker wrote, On 12/14/2012 03:29 AM:
>> On 12/13/2012 08:29 PM, Assaf Gordon wrote:
>>
>>> [PATCH 1/2] doc: mention "git stash" in HACKING
>>
>> I tweaked the commit message a bit: even if the change is trivial
>> and the subject is HACKING, it's good practice to mention it in a
>> line below which describes the change in detail.
>>
> 
> Thanks!
> I keep on learning...

No worries, you're welcome!

Pushed:
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=e9870faf

Have a nice day,
Berny


From MAILER-DAEMON Fri Dec 14 19:55:05 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tjg1x-0000KL-K0
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 19:55:05 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57613)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tjg1v-0000Jc-Tx
	for coreutils@gnu.org; Fri, 14 Dec 2012 19:55:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tjg1v-0005aV-2R
	for coreutils@gnu.org; Fri, 14 Dec 2012 19:55:03 -0500
Received: from mx1.redhat.com ([209.132.183.28]:2531)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tjg1u-0005ZH-RE
	for coreutils@gnu.org; Fri, 14 Dec 2012 19:55:02 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBF0t0of029771
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 14 Dec 2012 19:55:00 -0500
Received: from [10.36.116.69] (ovpn-116-69.ams2.redhat.com [10.36.116.69])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBF0swsW001361
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 14 Dec 2012 19:54:59 -0500
Message-ID: <50CBCA61.8070809@draigBrady.com>
Date: Sat, 15 Dec 2012 00:54:57 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: [PATCH] maint: ignore GCC coverage files
References: <50CB70E5.60609@gmail.com>
In-Reply-To: <50CB70E5.60609@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBF0t0of029771
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 00:55:05 -0000

On 12/14/2012 06:33 PM, Assaf Gordon wrote:
> Hello,
>
> Related to the updated coverage documentation, perhaps update the ".git=
ignore" to ignore the generated coverage files?
> Another possible addition is ignoring "src.lcov", "lib.lcov" and "lcov-=
html/*" - but those file names are not fixed, just the recommended file n=
ames in HACKING .

I moved those entries up along with the other wildcard
entries in the .gitignore file and pushed.

thanks!
P=E1draig.


From MAILER-DAEMON Fri Dec 14 20:54:27 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjgxP-00009H-I8
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 20:54:27 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38657)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjgxM-000099-D6
	for coreutils@gnu.org; Fri, 14 Dec 2012 20:54:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjgxK-0002Yp-Au
	for coreutils@gnu.org; Fri, 14 Dec 2012 20:54:24 -0500
Received: from mx1.redhat.com ([209.132.183.28]:14200)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjgxK-0002Yj-26
	for coreutils@gnu.org; Fri, 14 Dec 2012 20:54:22 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBF1sJZj030354
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 14 Dec 2012 20:54:19 -0500
Received: from [10.36.116.69] (ovpn-116-69.ams2.redhat.com [10.36.116.69])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBF1sGDU028756
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 14 Dec 2012 20:54:18 -0500
Message-ID: <50CBD848.2070004@draigBrady.com>
Date: Sat, 15 Dec 2012 01:54:16 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Aaron Davies <aaron.davies@gmail.com>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
In-Reply-To: <50C9963B.5030601@draigBrady.com>
Content-Type: multipart/mixed; boundary="------------090403080006040309040904"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: "coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 01:54:26 -0000

This is a multi-part message in MIME format.
--------------090403080006040309040904
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id qBF1sJZj030354

On 12/13/2012 08:47 AM, P=E1draig Brady wrote:
> On 12/13/2012 05:34 AM, Jim Meyering wrote:
>> Jim Meyering wrote:
>> ...
>>>> The awkward/somewhat redundant -n, --no-newline option
>>>> is handled in the same way as on BSD and the help text adjusted like=
:
>>>>
>>>> -  -n, --no-newline              do not output the trailing newline\=
n\
>>>> +  -n, --no-newline              do not output the separator charact=
er\n\
>>>
>>> Good point.
>>> Now that the long-named --no-newline is a misnomer, we might want to
>>> provide a better long-named option (like --no-separator) and begin th=
e
>>> deprecation process.  E.g., warn that the --no-newline option is bein=
g
>>> deprecated, and add a FIXME to give an error in a few years.
>>
>> As I reread this, I think changing/deprecating is not worth the
>> trouble after all.
>
> Yes the option itself is of marginal use,
> and so best just keep it around for compat
> with older GNU readlink and BSD's variant.

I'll push the attached (complete with new test and doc adjustments) soon.

thanks,
P=E1draig.

--------------090403080006040309040904
Content-Type: text/x-patch;
 name="readlink-multi.diff"
Content-Disposition: attachment;
 filename="readlink-multi.diff"
Content-Transfer-Encoding: 7bit

>From 4217f8a0fc62fa142752e8fc57cd3824ee7b7641 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
Date: Wed, 12 Dec 2012 19:54:12 +0000
Subject: [PATCH] readlink: support multiple command line arguments

This allows efficient processing of processing multiple files,
while also increasing compatibility with BSD's readlink(1).
We also add the -z, --zero option to delimit output items
with the NUL character which disambiguates output in the
presence of '\n' characters.

* src/readlink.c (usage): Add the --zero description,
and also adjust the description of --no-newline accordingly.
(main): Handle the -z option and iterate over multiple arguments.
Also as in commit v8.15-24-g9d46b25 we use fputs() and putchar()
rather than printf() for performance reasons.
* doc/coreutils.texi (readlink invocation): Document the
new --zero option, adjust the --no-newline description, and
tweak the general info to indicate multiple files are supported.
* tests/readlink/multi.sh: A new test for the new functionality.
* tests/local.mk: Reference the new test.
* NEWS: Mention the improvement.
* THANKS.in: Suggested by Aaron Davies.
---
 NEWS                    |    2 +
 THANKS.in               |    1 +
 doc/coreutils.texi      |   14 ++++++++---
 src/readlink.c          |   59 +++++++++++++++++++++++------------------------
 tests/local.mk          |    1 +
 tests/readlink/multi.sh |   34 +++++++++++++++++++++++++++
 6 files changed, 77 insertions(+), 34 deletions(-)
 create mode 100755 tests/readlink/multi.sh

diff --git a/NEWS b/NEWS
index 1ee2c17..7843f3c 100644
--- a/NEWS
+++ b/NEWS
@@ -61,6 +61,8 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 ** Improvements
 
+  readlink now supports multiple arguments.
+
   stat and tail now know about CEPH.  stat -f --format=%T now reports the file
   system type, and tail -f uses polling for files on CEPH file systems.
 
diff --git a/THANKS.in b/THANKS.in
index 9009795..c2651e7 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -14,6 +14,7 @@ note to the bug-report mailing list (as seen at end of e.g., cp --help).
 
 ???                                 kytek@cybercomm.net
 A Costa                             agcosta@gis.net
+Aaron Davies                        aaron.davies@gmail.com
 Aaron Hawley                        ashawley@uvm.edu
 Achim Blumensath                    blume@corona.oche.de
 Adam Jimerson                       vendion@charter.net
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 5f8fad7..d393063 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9737,20 +9737,20 @@ Set the default SELinux security context to be used for created files.
 
 @item Readlink mode
 
-@command{readlink} outputs the value of the given symbolic link.
+@command{readlink} outputs the value of the given symbolic links.
 If @command{readlink} is invoked with an argument other than the name
 of a symbolic link, it produces no output and exits with a nonzero exit code.
 
 @item Canonicalize mode
 
-@command{readlink} outputs the absolute name of the given file which contains
+@command{readlink} outputs the absolute name of the given files which contain
 no @file{.}, @file{..} components nor any repeated separators
 (@file{/}) or symbolic links.
 
 @end table
 
 @example
-readlink [@var{option}] @var{file}
+readlink [@var{option}]@dots{} @var{file}@dots{}
 @end example
 
 By default, @command{readlink} operates in readlink mode.
@@ -9789,7 +9789,7 @@ as a directory.
 @itemx --no-newline
 @opindex -n
 @opindex --no-newline
-Do not output the trailing newline.
+Do not print the output delimiter.
 
 @item -s
 @itemx -q
@@ -9807,6 +9807,12 @@ Suppress most error messages.
 @opindex --verbose
 Report error messages.
 
+@item -z
+@itemx --zero
+@opindex -z
+@opindex --zero
+Separate output items with @sc{nul} characters.
+
 @end table
 
 The @command{readlink} utility first appeared in OpenBSD 2.1.
diff --git a/src/readlink.c b/src/readlink.c
index e025bf9..de8211f 100644
--- a/src/readlink.c
+++ b/src/readlink.c
@@ -25,7 +25,6 @@
 #include "canonicalize.h"
 #include "error.h"
 #include "areadlink.h"
-#include "quote.h"
 
 /* The official name of this program (e.g., no 'g' prefix).  */
 #define PROGRAM_NAME "readlink"
@@ -47,6 +46,7 @@ static struct option const longopts[] =
   {"quiet", no_argument, NULL, 'q'},
   {"silent", no_argument, NULL, 's'},
   {"verbose", no_argument, NULL, 'v'},
+  {"zero", no_argument, NULL, 'z'},
   {GETOPT_HELP_OPTION_DECL},
   {GETOPT_VERSION_OPTION_DECL},
   {NULL, 0, NULL, 0}
@@ -59,7 +59,7 @@ usage (int status)
     emit_try_help ();
   else
     {
-      printf (_("Usage: %s [OPTION]... FILE\n"), program_name);
+      printf (_("Usage: %s [OPTION]... FILE...\n"), program_name);
       fputs (_("Print value of a symbolic link or canonical file name\n\n"),
              stdout);
       fputs (_("\
@@ -77,10 +77,11 @@ usage (int status)
                                 every component of the given name recursively,\
 \n\
                                 without requirements on components existence\n\
-  -n, --no-newline              do not output the trailing newline\n\
+  -n, --no-newline              do not output a delimiter after each item\n\
   -q, --quiet,\n\
   -s, --silent                  suppress most error messages\n\
   -v, --verbose                 report error messages\n\
+  -z, --zero                    separate output with NUL rather than newline\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
@@ -94,14 +95,9 @@ main (int argc, char **argv)
 {
   /* If not -1, use this method to canonicalize.  */
   int can_mode = -1;
-
-  /* File name to canonicalize.  */
-  const char *fname;
-
-  /* Result of canonicalize.  */
-  char *value;
-
+  int status = EXIT_SUCCESS;
   int optc;
+  bool use_nuls = false;
 
   initialize_main (&argc, &argv);
   set_program_name (argv[0]);
@@ -111,7 +107,7 @@ main (int argc, char **argv)
 
   atexit (close_stdout);
 
-  while ((optc = getopt_long (argc, argv, "efmnqsv", longopts, NULL)) != -1)
+  while ((optc = getopt_long (argc, argv, "efmnqsvz", longopts, NULL)) != -1)
     {
       switch (optc)
         {
@@ -134,6 +130,9 @@ main (int argc, char **argv)
         case 'v':
           verbose = true;
           break;
+        case 'z':
+          use_nuls = true;
+          break;
         case_GETOPT_HELP_CHAR;
         case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
         default:
@@ -147,26 +146,26 @@ main (int argc, char **argv)
       usage (EXIT_FAILURE);
     }
 
-  fname = argv[optind++];
-
-  if (optind < argc)
-    {
-      error (0, 0, _("extra operand %s"), quote (argv[optind]));
-      usage (EXIT_FAILURE);
-    }
-
-  value = (can_mode != -1
-           ? canonicalize_filename_mode (fname, can_mode)
-           : areadlink_with_size (fname, 63));
-  if (value)
+  for (; optind < argc; ++optind)
     {
-      printf ("%s%s", value, (no_newline ? "" : "\n"));
-      free (value);
-      return EXIT_SUCCESS;
+      const char *fname = argv[optind];
+      char *value = (can_mode != -1
+                     ? canonicalize_filename_mode (fname, can_mode)
+                     : areadlink_with_size (fname, 63));
+      if (value)
+        {
+          fputs (value, stdout);
+          if (! no_newline)
+            putchar (use_nuls ? '\0' : '\n');
+          free (value);
+        }
+      else
+        {
+          status = EXIT_FAILURE;
+          if (verbose)
+            error (0, errno, "%s", fname);
+        }
     }
 
-  if (verbose)
-    error (EXIT_FAILURE, errno, "%s", fname);
-
-  return EXIT_FAILURE;
+  return status;
 }
diff --git a/tests/local.mk b/tests/local.mk
index 5eeddd5..efdd896 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -602,6 +602,7 @@ all_tests =					\
   tests/readlink/can-e.sh			\
   tests/readlink/can-f.sh			\
   tests/readlink/can-m.sh			\
+  tests/readlink/multi.sh			\
   tests/readlink/rl-1.sh			\
   tests/rmdir/fail-perm.sh			\
   tests/rmdir/ignore.sh				\
diff --git a/tests/readlink/multi.sh b/tests/readlink/multi.sh
new file mode 100755
index 0000000..b28a705
--- /dev/null
+++ b/tests/readlink/multi.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+# test multiple argument handling.
+
+# Copyright (C) 2012 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ readlink
+
+touch regfile || framework_failure_
+ln -s regfile link1 || framework_failure_
+
+readlink link1 link1 || fail=1
+readlink link1 link2 && fail=1
+readlink link1 link2 link1 && fail=1
+readlink -m link1 link2 || fail=1
+
+printf "/1\0/1\0" > exp
+readlink -m --zero /1 /1 > out
+compare exp out || fail=1
+
+Exit $fail
-- 
1.7.6.4


--------------090403080006040309040904--


From MAILER-DAEMON Fri Dec 14 23:49:27 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tjjgl-0007AV-VF
	for mharc-coreutils@gnu.org; Fri, 14 Dec 2012 23:49:27 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53158)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tjjgj-00078M-I9
	for coreutils@gnu.org; Fri, 14 Dec 2012 23:49:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Tjjgi-0003xt-AY
	for coreutils@gnu.org; Fri, 14 Dec 2012 23:49:25 -0500
Received: from mx.meyering.net ([88.168.87.75]:55008)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TjjQg-0001SL-Tz
	for coreutils@gnu.org; Fri, 14 Dec 2012 23:32:51 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 0F86F600DF;
	Sat, 15 Dec 2012 05:32:48 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?P=E1draig?= Brady <P@draigBrady.com>
Subject: Re: readlink(1) of more than one file?
In-Reply-To: <50CBD848.2070004@draigBrady.com> (=?iso-8859-1?Q?=22P=E1drai?=
	=?iso-8859-1?Q?g?= Brady"'s message of
	"Sat, 15 Dec 2012 01:54:16 +0000")
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
	<50CBD848.2070004@draigBrady.com>
Date: Sat, 15 Dec 2012 05:32:48 +0100
Message-ID: <87lid02avj.fsf@rho.meyering.net>
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 04:49:26 -0000

P=E1draig Brady wrote:
...
> I'll push the attached (complete with new test and doc adjustments) soon.
...

Nice.  I was going to say it looked impeccable,
but then noticed a nit at the end of the test.
Thanks!

> diff --git a/tests/readlink/multi.sh b/tests/readlink/multi.sh
...
> +readlink link1 link1 || fail=3D1
> +readlink link1 link2 && fail=3D1
> +readlink link1 link2 link1 && fail=3D1
> +readlink -m link1 link2 || fail=3D1
> +
> +printf "/1\0/1\0" > exp
> +readlink -m --zero /1 /1 > out

I think you want "|| fail=3D1" after each of the above lines.

> +compare exp out || fail=3D1
> +
> +Exit $fail


From MAILER-DAEMON Sat Dec 15 10:09:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjtMp-0003qN-9g
	for mharc-coreutils@gnu.org; Sat, 15 Dec 2012 10:09:31 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39510)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjtMm-0003pf-Mb
	for coreutils@gnu.org; Sat, 15 Dec 2012 10:09:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjtMl-0000vi-8v
	for coreutils@gnu.org; Sat, 15 Dec 2012 10:09:28 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:57966)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TjtMk-0000vX-Vo
	for coreutils@gnu.org; Sat, 15 Dec 2012 10:09:27 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis)
	id 0MOzJP-1To0El09vb-005plS; Sat, 15 Dec 2012 16:09:24 +0100
Message-ID: <50CC92A3.9080900@bernhard-voelker.de>
Date: Sat, 15 Dec 2012 16:09:23 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
	<50CBD848.2070004@draigBrady.com>
In-Reply-To: <50CBD848.2070004@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:xfkb2rLICd4s8mGYc2DvOTkBK2CXERkF5811oYqe6WB
	bpHJiCTZPTECr1FS2KWKWYLuKNUsXEqEdOrN76sBQGE/UkWfbb
	EfPE43Ip345SP7HDCGsDdLASxulDijqJl5d6Amhq3iR/iLCyBk
	MSFHfKQRv051rj9BYzsNf403boyGbMmjR8fUfwqDt4aYTNdero
	hShI7OLH2WTPKZ2z1bIxLSFS1YLqHklz+MJ7Kmv7X1wKlzp4tx
	vMzQuE4oppr6dSKEMxfkSB/GwwpqoluTE6uIqnTOb+zd8xNyzT
	Y0b9b8fGQkiSFPaODqGWNHM46+ar62+5M2JEMGnF7NOoAbKNgd
	lKmjq4Myiy8/sFhqWwiHH5CiNqxUdCvMN+v8dcHfz
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 15:09:29 -0000

On 12/15/2012 02:54 AM, Pádraig Brady wrote:

> From 4217f8a0fc62fa142752e8fc57cd3824ee7b7641 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
> Date: Wed, 12 Dec 2012 19:54:12 +0000
> Subject: [PATCH] readlink: support multiple command line arguments
> 
> This allows efficient processing of processing multiple files,

s/processing of processing/processing of/


> +++ b/NEWS
> @@ -61,6 +61,8 @@ GNU coreutils NEWS                                    -*- outline -*-
>  
>  ** Improvements
>  
> +  readlink now supports multiple arguments.
> +

I think that also --zero should be mentioned in NEWS.


> +++ b/tests/readlink/multi.sh
> [...]
> +readlink -m --zero /1 /1 > out

Jim has mentioned already that a "|| fail=1" should be added
after each test. I want to propose - in retrospective of the recent
"cp --no-preserve=mode" bug (#13119) - that we maybe should add
a new syntax-check rule to enforce such exit code checking.


  $ src/readlink --help
  Usage: src/readlink [OPTION]... FILE...
  Print value of a symbolic link or canonical file name

Shouldn't man/readlink.x also be adapted?

And finally: -n is pretty much useless now with multiple arguments,
because the output is just concatenated together:

  $ src/readlink --no /user /user
  homehome

Wouldn't it be better to allow -n only for single-argument calls,
or use a blank " " as delimiter between the output for multiple
args, or warn?

Have a nice day,
Berny


From MAILER-DAEMON Sat Dec 15 10:40:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TjtrD-0008Re-9w
	for mharc-coreutils@gnu.org; Sat, 15 Dec 2012 10:40:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44048)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TjtrA-0008Qg-QB
	for coreutils@gnu.org; Sat, 15 Dec 2012 10:40:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tjtr6-0000Eb-4Q
	for coreutils@gnu.org; Sat, 15 Dec 2012 10:40:52 -0500
Received: from mx1.redhat.com ([209.132.183.28]:3062)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tjtr5-0000EK-Ma
	for coreutils@gnu.org; Sat, 15 Dec 2012 10:40:47 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBFFedm6022222
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sat, 15 Dec 2012 10:40:42 -0500
Received: from [10.36.116.33] (ovpn-116-33.ams2.redhat.com [10.36.116.33])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBFFeaVY020221
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sat, 15 Dec 2012 10:40:38 -0500
Message-ID: <50CC99F4.20802@draigBrady.com>
Date: Sat, 15 Dec 2012 15:40:36 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
	<50CBD848.2070004@draigBrady.com>
	<50CC92A3.9080900@bernhard-voelker.de>
In-Reply-To: <50CC92A3.9080900@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBFFedm6022222
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Aaron Davies <aaron.davies@gmail.com>,
	"coreutils@gnu.org" <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 15:40:54 -0000

On 12/15/2012 03:09 PM, Bernhard Voelker wrote:
> On 12/15/2012 02:54 AM, P=E1draig Brady wrote:
>
>>  From 4217f8a0fc62fa142752e8fc57cd3824ee7b7641 Mon Sep 17 00:00:00 200=
1
>> From: =3D?UTF-8?q?P=3DC3=3DA1draig=3D20Brady?=3D <P@draigBrady.com>
>> Date: Wed, 12 Dec 2012 19:54:12 +0000
>> Subject: [PATCH] readlink: support multiple command line arguments
>>
>> This allows efficient processing of processing multiple files,
>
> s/processing of processing/processing of/

good one.

>> +++ b/NEWS
>> @@ -61,6 +61,8 @@ GNU coreutils NEWS                                  =
  -*- outline -*-
>>
>>   ** Improvements
>>
>> +  readlink now supports multiple arguments.
>> +
>
> I think that also --zero should be mentioned in NEWS.

I always try to keep NEWS concise,
but you're right in this case.

>> +++ b/tests/readlink/multi.sh
>> [...]
>> +readlink -m --zero /1 /1 > out
>
> Jim has mentioned already that a "|| fail=3D1" should be added
> after each test. I want to propose - in retrospective of the recent
> "cp --no-preserve=3Dmode" bug (#13119) - that we maybe should add
> a new syntax-check rule to enforce such exit code checking.

That would be difficult to impossible to construct I expect.
For the record I adjusted the test like:

-printf "/1\0/1\0" > exp
-readlink -m --zero /1 /1 > out
+printf "/1\0/1\0" > exp || framework_failure_
+readlink -m --zero /1 /1 > out || fail=3D1

>    $ src/readlink --help
>    Usage: src/readlink [OPTION]... FILE...
>    Print value of a symbolic link or canonical file name
>
> Shouldn't man/readlink.x also be adapted?

Very good spot. I also notice we should reference realpath here, so:

diff --git a/man/readlink.x b/man/readlink.x
index 79ba758..6b28bca 100644
--- a/man/readlink.x
+++ b/man/readlink.x
@@ -1,6 +1,6 @@
  [NAME]
-readlink \- print value of a symbolic link or canonical file name
+readlink \- print resolved symbolic links or canonical file names
  [DESCRIPTION]
  .\" Add any additional description here
  [SEE ALSO]
-readlink(2)
+readlink(2), realpath(1), realpath(3)

> And finally: -n is pretty much useless now with multiple arguments,
> because the output is just concatenated together:
>
>    $ src/readlink --no /user /user
>    homehome

> Wouldn't it be better to allow -n only for single-argument calls,
> or use a blank " " as delimiter between the output for multiple
> args, or warn?

Since -n is a largely redundant option anyway,
I was just keeping it around for compat reasons.
BSD operates like above, so why diverge?

thanks for the detailed review,
P=E1draig.


From MAILER-DAEMON Sat Dec 15 18:10:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tk0sT-0007bE-Sh
	for mharc-coreutils@gnu.org; Sat, 15 Dec 2012 18:10:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39680)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ldv@altlinux.org>) id 1Tk0sR-0007b8-HC
	for coreutils@gnu.org; Sat, 15 Dec 2012 18:10:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ldv@altlinux.org>) id 1Tk0sQ-0007Lt-HQ
	for coreutils@gnu.org; Sat, 15 Dec 2012 18:10:39 -0500
Received: from vint.altlinux.org ([194.107.17.35]:57259)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ldv@altlinux.org>) id 1Tk0sQ-0007Lm-AA
	for coreutils@gnu.org; Sat, 15 Dec 2012 18:10:38 -0500
Received: from wo.int.altlinux.org (wo.int.altlinux.org [192.168.1.4])
	by vint.altlinux.org (Postfix) with ESMTP id 79651226C099
	for <coreutils@gnu.org>; Sat, 15 Dec 2012 23:10:36 +0000 (UTC)
Received: by wo.int.altlinux.org (Postfix, from userid 508)
	id 684A8519000D; Sun, 16 Dec 2012 03:10:36 +0400 (MSK)
Date: Sun, 16 Dec 2012 03:10:36 +0400
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: coreutils@gnu.org
Subject: Re: readlink(1) of more than one file?
Message-ID: <20121215231036.GA28326@altlinux.org>
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
	<50CBD848.2070004@draigBrady.com>
	<50CC92A3.9080900@bernhard-voelker.de>
	<50CC99F4.20802@draigBrady.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH"
Content-Disposition: inline
In-Reply-To: <50CC99F4.20802@draigBrady.com>
X-fingerprint: FE4C 93AB E19A 2E4C CB5D  3E4E 7CAB E6AC 9E35 361E
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
	timestamps) [generic]
X-Received-From: 194.107.17.35
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Dec 2012 23:10:40 -0000


--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 15, 2012 at 03:40:36PM +0000, P=E1draig Brady wrote:
> On 12/15/2012 03:09 PM, Bernhard Voelker wrote:
[...]
> >And finally: -n is pretty much useless now with multiple arguments,
> >because the output is just concatenated together:
> >
> >   $ src/readlink --no /user /user
> >   homehome
>=20
> >Wouldn't it be better to allow -n only for single-argument calls,
> >or use a blank " " as delimiter between the output for multiple
> >args, or warn?
>=20
> Since -n is a largely redundant option anyway,
> I was just keeping it around for compat reasons.
> BSD operates like above, so why diverge?

If BSD readlink -n does something totally useless, it's not a reason
to follow and introduce that useless behaviour in GNU readlink.

I've tried to construct an example where readlink -n with multiple
arguments could be used harmlessly, and the only case I have so far
is when readlink's output does not matter (e.g. grep -q ^.) or discarded
completely.

So, please do not add multiple arguments support to readlink -n unless
you can also add a usage example for that feature.


--=20
ldv

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlDNA2wACgkQfKvmrJ41Nh5DrQCfUzAD9OJ/iz1UoN3G9Os0Dw7s
4Q4AnRj+hAQdLADHaCxV3qZIqmh1dJ6e
=BjVd
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--


From MAILER-DAEMON Sat Dec 15 19:29:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tk26b-0004bO-IS
	for mharc-coreutils@gnu.org; Sat, 15 Dec 2012 19:29:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48809)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tk26Y-0004aC-Ql
	for coreutils@gnu.org; Sat, 15 Dec 2012 19:29:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tk26X-0008TV-R9
	for coreutils@gnu.org; Sat, 15 Dec 2012 19:29:18 -0500
Received: from mx1.redhat.com ([209.132.183.28]:4330)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tk26X-0008TP-JV
	for coreutils@gnu.org; Sat, 15 Dec 2012 19:29:17 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBG0TBvL030223
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sat, 15 Dec 2012 19:29:11 -0500
Received: from [10.36.116.27] (ovpn-116-27.ams2.redhat.com [10.36.116.27])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBG0T8vg007517
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sat, 15 Dec 2012 19:29:10 -0500
Message-ID: <50CD15D3.2050306@draigBrady.com>
Date: Sun, 16 Dec 2012 00:29:07 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
	<50CBD848.2070004@draigBrady.com>
	<50CC92A3.9080900@bernhard-voelker.de>
	<50CC99F4.20802@draigBrady.com>
	<20121215231036.GA28326@altlinux.org>
In-Reply-To: <20121215231036.GA28326@altlinux.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBG0TBvL030223
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 16 Dec 2012 00:29:19 -0000

On 12/15/2012 11:10 PM, Dmitry V. Levin wrote:
> On Sat, Dec 15, 2012 at 03:40:36PM +0000, P=E1draig Brady wrote:
>> On 12/15/2012 03:09 PM, Bernhard Voelker wrote:
> [...]
>>> And finally: -n is pretty much useless now with multiple arguments,
>>> because the output is just concatenated together:
>>>
>>>    $ src/readlink --no /user /user
>>>    homehome
>>
>>> Wouldn't it be better to allow -n only for single-argument calls,
>>> or use a blank " " as delimiter between the output for multiple
>>> args, or warn?
>>
>> Since -n is a largely redundant option anyway,
>> I was just keeping it around for compat reasons.
>> BSD operates like above, so why diverge?
>
> If BSD readlink -n does something totally useless, it's not a reason
> to follow and introduce that useless behaviour in GNU readlink.
>
> I've tried to construct an example where readlink -n with multiple
> arguments could be used harmlessly, and the only case I have so far
> is when readlink's output does not matter (e.g. grep -q ^.) or discarde=
d
> completely.
>
> So, please do not add multiple arguments support to readlink -n unless
> you can also add a usage example for that feature.

Ok fair enough.
I'll adjust to that -n suppresses only the trailing delimiter.

thanks,
P=E1draig.


From MAILER-DAEMON Mon Dec 17 08:21:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tkadp-0003Mq-Ht
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 08:21:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33283)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tkadk-0003KT-8p
	for coreutils@gnu.org; Mon, 17 Dec 2012 08:21:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tkadf-0000SK-TF
	for coreutils@gnu.org; Mon, 17 Dec 2012 08:21:52 -0500
Received: from mx1.redhat.com ([209.132.183.28]:23050)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tkadf-0000SA-LT
	for coreutils@gnu.org; Mon, 17 Dec 2012 08:21:47 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBHDLfOM026695
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 17 Dec 2012 08:21:42 -0500
Received: from [10.36.116.23] (ovpn-116-23.ams2.redhat.com [10.36.116.23])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBHDLciM018082
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Dec 2012 08:21:40 -0500
Message-ID: <50CF1C62.9080201@draigBrady.com>
Date: Mon, 17 Dec 2012 13:21:38 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: readlink(1) of more than one file?
References: <4C5DC90C-9580-4CE1-8BB6-F161DABD5EB9@gmail.com>
	<50C8E0DA.7050502@draigBrady.com> <87bodzja65.fsf@rho.meyering.net>
	<50C8FC0F.7040008@draigBrady.com> <87obhyizu7.fsf@rho.meyering.net>
	<87ip86ikgu.fsf@rho.meyering.net> <50C9963B.5030601@draigBrady.com>
	<50CBD848.2070004@draigBrady.com>
	<50CC92A3.9080900@bernhard-voelker.de>
	<50CC99F4.20802@draigBrady.com>
	<20121215231036.GA28326@altlinux.org>
	<50CD15D3.2050306@draigBrady.com>
In-Reply-To: <50CD15D3.2050306@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBHDLfOM026695
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 13:21:56 -0000

On 12/16/2012 12:29 AM, P=E1draig Brady wrote:
> On 12/15/2012 11:10 PM, Dmitry V. Levin wrote:
>> On Sat, Dec 15, 2012 at 03:40:36PM +0000, P=E1draig Brady wrote:
>>> On 12/15/2012 03:09 PM, Bernhard Voelker wrote:
>> [...]
>>>> And finally: -n is pretty much useless now with multiple arguments,
>>>> because the output is just concatenated together:
>>>>
>>>>    $ src/readlink --no /user /user
>>>>    homehome
>>>
>>>> Wouldn't it be better to allow -n only for single-argument calls,
>>>> or use a blank " " as delimiter between the output for multiple
>>>> args, or warn?
>>>
>>> Since -n is a largely redundant option anyway,
>>> I was just keeping it around for compat reasons.
>>> BSD operates like above, so why diverge?
>>
>> If BSD readlink -n does something totally useless, it's not a reason
>> to follow and introduce that useless behaviour in GNU readlink.
>>
>> I've tried to construct an example where readlink -n with multiple
>> arguments could be used harmlessly, and the only case I have so far
>> is when readlink's output does not matter (e.g. grep -q ^.) or discard=
ed
>> completely.
>>
>> So, please do not add multiple arguments support to readlink -n unless
>> you can also add a usage example for that feature.
>
> Ok fair enough.
> I'll adjust to that -n suppresses only the trailing delimiter.

Pushing with this adjustment.

thanks,
P=E1draig.

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index d393063..0646f82 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9789,7 +9789,8 @@ as a directory.
  @itemx --no-newline
  @opindex -n
  @opindex --no-newline
-Do not print the output delimiter.
+Do not print the output delimiter, when a single @var{file} is specified.
+Print a warning if specified along with multiple @var{file}s.

  @item -s
  @itemx -q
diff --git a/src/readlink.c b/src/readlink.c
index de8211f..ff7d67f 100644
--- a/src/readlink.c
+++ b/src/readlink.c
@@ -77,7 +77,7 @@ usage (int status)
                                  every component of the given name recur=
sively,\
  \n\
                                  without requirements on components exis=
tence\n\
-  -n, --no-newline              do not output a delimiter after each ite=
m\n\
+  -n, --no-newline              do not output the trailing delimiter\n\
    -q, --quiet,\n\
    -s, --silent                  suppress most error messages\n\
    -v, --verbose                 report error messages\n\
@@ -146,6 +146,13 @@ main (int argc, char **argv)
        usage (EXIT_FAILURE);
      }

+  if (argc - optind > 1)
+    {
+      if (no_newline)
+        error (0, 0, _("ignoring --no-newline with multiple arguments"))=
;
+      no_newline =3D false;
+    }
+
    for (; optind < argc; ++optind)
      {
        const char *fname =3D argv[optind];
diff --git a/tests/readlink/multi.sh b/tests/readlink/multi.sh
index 9f22791..9a853e1 100755
--- a/tests/readlink/multi.sh
+++ b/tests/readlink/multi.sh
@@ -27,16 +27,20 @@ readlink link1 link2 && fail=3D1
  readlink link1 link2 link1 && fail=3D1
  readlink -m link1 link2 || fail=3D1

-printf "/1\0/1\0" > exp || framework_failure_
+printf '/1\0/1\0' > exp || framework_failure_
  readlink -m --zero /1 /1 > out || fail=3D1
  compare exp out || fail=3D1

-# The largely redundant --no-newline option
-# is kept around for mainly compatibility reasons,
-# so we behave like BSD here and don't output
-# delimiters, even if handling multiple arguments.
-printf "/1/1" > exp || framework_failure_
+# The largely redundant --no-newline option is ignored with multiple arg=
s.
+# Note BSD's readlink suppresses all delimiters, even with multiple args=
,
+# but that functionality was not thought useful.
  readlink -n -m --zero /1 /1 > out || fail=3D1
  compare exp out || fail=3D1

+# Noting the edge case that the last xargs run may not have a delimiter
+rm out || framework_failure_
+printf '/1\0/1\0/1' > exp || framework_failure_
+printf '/1 /1 /1' | xargs -n2 readlink -n -m --zero >> out || fail=3D1
+compare exp out || fail=3D1
+
  Exit $fail




From MAILER-DAEMON Mon Dec 17 14:20:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TkgEz-0003Al-Oq
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 14:20:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46809)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sreekanth.dhulipalla@gmail.com>) id 1TkbbZ-0004Oj-8K
	for coreutils@gnu.org; Mon, 17 Dec 2012 09:23:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sreekanth.dhulipalla@gmail.com>) id 1TkbbT-0000jZ-4t
	for coreutils@gnu.org; Mon, 17 Dec 2012 09:23:41 -0500
Received: from mail-vb0-f41.google.com ([209.85.212.41]:62713)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sreekanth.dhulipalla@gmail.com>) id 1TkbbS-0000jT-V6
	for coreutils@gnu.org; Mon, 17 Dec 2012 09:23:35 -0500
Received: by mail-vb0-f41.google.com with SMTP id l22so7175038vbn.0
	for <coreutils@gnu.org>; Mon, 17 Dec 2012 06:23:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=Q9Vqay1wbPztvZotDiO/oXj21PH0O82cU3yZ4aksnVY=;
	b=huyT/tsZHZeKMXcYSZmbC0pZhobjp9Qvp4R8D3miWkkGrtzUCJq92clrQE/DSK7luZ
	QlNFa7DTYSBtGxD9j4qaqtE1uZeL9dMdbu7wQPuxKMx7zQOrekFw/Ehw51enyWo7aYsL
	IgStWCIAo9Rpl5ki8usbWzQcEPB8DSAKUIYG+G1fHwhfAYUp/rkrWP/+SQ2eHLDCALVA
	keUw/QMZXSgUrQ+H2uhmfqZwQVhpH88DmfIhmlskN5yE3o2m2LUKUogb/XgcGHFdMt4f
	xgCIN+9cVD8FyFV9Y78hXSpohThc4zEkqfzJJ/F953h34Kz3rJ9BkyNTaqxwFwzIhD33
	iwCw==
MIME-Version: 1.0
Received: by 10.220.150.84 with SMTP id x20mr23348326vcv.73.1355754213889;
	Mon, 17 Dec 2012 06:23:33 -0800 (PST)
Received: by 10.52.103.35 with HTTP; Mon, 17 Dec 2012 06:23:33 -0800 (PST)
Date: Mon, 17 Dec 2012 19:53:33 +0530
Message-ID: <CANgwXZGb=sA9tXh+Qsk+OyCw586Wg5xDpTqaFHUkZFQ2Kd7YXw@mail.gmail.com>
Subject: error : shell doesn't find the path?
From: sreekanth dhulipalla <sreekanth.dhulipalla@gmail.com>
To: coreutils@gnu.org
Content-Type: multipart/alternative; boundary=f46d043c7c0852562304d10d2095
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.41
X-Mailman-Approved-At: Mon, 17 Dec 2012 14:20:40 -0500
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 14:23:46 -0000

--f46d043c7c0852562304d10d2095
Content-Type: text/plain; charset=UTF-8

hi this is sreekanth,

This is the error iam getting when iam run the command ./startadmin.sh
startadmin.sh is an executable file when iam trying to run it shows the
below error

[sree@localhost bin]$ ./startadmin.sh
./startadmin.sh: line 1:
domain-home=/home/sree/bea/user_projects/domains/base_domain: No such file
or directory

body of the file is

[sree@localhost bin]$ cat startadmin.sh
domain-home=/home/sree/bea/user_projects/domains/base_domain
nohup $domain-home/bin/startWebLogic.sh >>admin.log 2>&1 &

the problem is doesn't find the path. in previous it will work but now it
will shoes the error?

Regards
sreekanth

--f46d043c7c0852562304d10d2095
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div><br></div><div><br></div><div>hi this is sreekanth,</div><div><br></di=
v><div>This is the error iam getting when iam run the command ./startadmin.=
sh</div><div>startadmin.sh is an executable file when iam trying to run it =
shows the below error</div>
<div><br></div><div>[sree@localhost bin]$ ./startadmin.sh=C2=A0</div><div>.=
/startadmin.sh: line 1: domain-home=3D/home/sree/bea/user_projects/domains/=
base_domain: No such file or directory</div><div><br></div><div>body of the=
 file is</div>
<div><br></div><div><div>[sree@localhost bin]$ cat startadmin.sh=C2=A0</div=
><div>domain-home=3D/home/sree/bea/user_projects/domains/base_domain</div><=
div>nohup $domain-home/bin/startWebLogic.sh &gt;&gt;admin.log 2&gt;&amp;1 &=
amp;</div>
<div><br></div><div>the problem is doesn&#39;t find the path. in previous i=
t will work but now it will shoes the error?</div></div><div><br></div><div=
>Regards</div><div>sreekanth</div>

--f46d043c7c0852562304d10d2095--


From MAILER-DAEMON Mon Dec 17 14:20:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TkgF2-0003FJ-SQ
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 14:20:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47480)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sreekanth.dhulipalla@gmail.com>) id 1TkbgQ-0006ue-RJ
	for coreutils@gnu.org; Mon, 17 Dec 2012 09:28:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sreekanth.dhulipalla@gmail.com>) id 1TkbgK-0001wS-AI
	for coreutils@gnu.org; Mon, 17 Dec 2012 09:28:42 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:33984)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sreekanth.dhulipalla@gmail.com>) id 1TkbgK-0001wN-3m
	for coreutils@gnu.org; Mon, 17 Dec 2012 09:28:36 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so7276229vcb.0
	for <coreutils@gnu.org>; Mon, 17 Dec 2012 06:28:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=a9JUbaZ4RtUKXvEioXHikDh3S+BM0e6BykASNnSszUg=;
	b=pOsKT80h2j1WsO9ErL7BBkOXpck2M/jLrcBSzC2k8IPAiF/gvWwr4od1oIaxs5fHUG
	eg0GHQd8WWgMf+hF/KMmgjsM/0GoYp+yP+Yn2waLtRQIP6tHkxdSunP1IRMqx0/Zv9ZA
	9StZtaHViLc/7bOSs8uuKV1LZAdP8uVHN1AzYrWXTl0qdkpbNOY4AY4a5uLu/bysfgHD
	gWpTmEeLPEQZaLF85YTgSA3GEZZKISbZsedcJqNg3MpZ+Yt1rK0UJVMibKZOJJfhm90z
	ijyL5gBvg4AW0C+tg2zkSlMmIi6373kcf/pTWkjm4tJdihzFYr17MOo7vrGPOS9ufy6X
	8FMg==
MIME-Version: 1.0
Received: by 10.52.16.167 with SMTP id h7mr20113036vdd.117.1355754515381; Mon,
	17 Dec 2012 06:28:35 -0800 (PST)
Received: by 10.52.103.35 with HTTP; Mon, 17 Dec 2012 06:28:35 -0800 (PST)
Date: Mon, 17 Dec 2012 19:58:35 +0530
Message-ID: <CANgwXZGOpzTkUMDxiz_tr0qE2G+OSCKwWG3gurGh8nDT0=aS5w@mail.gmail.com>
Subject: installation error?
From: sreekanth dhulipalla <sreekanth.dhulipalla@gmail.com>
To: coreutils@gnu.org
Content-Type: multipart/alternative; boundary=bcaec50409184abd3604d10d32d0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-Mailman-Approved-At: Mon, 17 Dec 2012 14:20:43 -0500
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 14:28:47 -0000

--bcaec50409184abd3604d10d32d0
Content-Type: text/plain; charset=UTF-8

hi,

when iam trying to install the apache 2.2.23 in my linux pc i get the below
error?

[sree@localhost Desktop]$ cd httpd-2.2.23
[sree@localhost httpd-2.2.23]$ ls
ABOUT_APACHE  config.layout  httpd.mak       LICENSE
README-win32.txt
acinclude.m4  config.log     httpd.spec      Makefile.in       ROADMAP
Apache.dsw    config.nice    include         Makefile.win      server
build         configure      INSTALL         modules           srclib
BuildAll.dsp  configure.in   InstallBin.dsp  NOTICE            support
BuildBin.dsp  docs           LAYOUT          NWGNUmakefile     test
buildconf     emacs-style    libhttpd.dep    os                VERSIONING
CHANGES       httpd.dep      libhttpd.dsp    README
confdefs.h    httpd.dsp      libhttpd.mak    README.platforms
[sree@localhost httpd-2.2.23]$ ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/sree/Desktop/httpd-2.2.23/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr

Regards
sreekanth

--bcaec50409184abd3604d10d32d0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

hi,<div><br></div><div>when iam trying to install the apache 2.2.23 in my l=
inux pc i get the below error?</div><div><br></div><div><div>[sree@localhos=
t Desktop]$ cd httpd-2.2.23</div><div>[sree@localhost httpd-2.2.23]$ ls</di=
v>
<div>ABOUT_APACHE =C2=A0config.layout =C2=A0httpd.mak =C2=A0 =C2=A0 =C2=A0 =
LICENSE =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 README-win32.txt</div><div>acinc=
lude.m4 =C2=A0config.log =C2=A0 =C2=A0 httpd.spec =C2=A0 =C2=A0 =C2=A0Makef=
ile.in =C2=A0 =C2=A0 =C2=A0 ROADMAP</div><div>Apache.dsw =C2=A0 =C2=A0confi=
g.nice =C2=A0 =C2=A0include =C2=A0 =C2=A0 =C2=A0 =C2=A0 Makefile.win =C2=A0=
 =C2=A0 =C2=A0server</div>
<div>build =C2=A0 =C2=A0 =C2=A0 =C2=A0 configure =C2=A0 =C2=A0 =C2=A0INSTAL=
L =C2=A0 =C2=A0 =C2=A0 =C2=A0 modules =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sr=
clib</div><div>BuildAll.dsp =C2=A0<a href=3D"http://configure.in">configure=
.in</a> =C2=A0 InstallBin.dsp =C2=A0NOTICE =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0support</div><div>BuildBin.dsp =C2=A0docs =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 LAYOUT =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0NWGNUmakefile =C2=A0=
 =C2=A0 test</div>
<div>buildconf =C2=A0 =C2=A0 emacs-style =C2=A0 =C2=A0libhttpd.dep =C2=A0 =
=C2=A0os =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0VERSIONING<=
/div><div>CHANGES =C2=A0 =C2=A0 =C2=A0 httpd.dep =C2=A0 =C2=A0 =C2=A0libhtt=
pd.dsp =C2=A0 =C2=A0README</div><div>confdefs.h =C2=A0 =C2=A0httpd.dsp =C2=
=A0 =C2=A0 =C2=A0libhttpd.mak =C2=A0 =C2=A0README.platforms</div><div>
[sree@localhost httpd-2.2.23]$ ./configure=C2=A0</div><div>checking for cho=
sen layout... Apache</div><div>checking for working mkdir -p... yes</div><d=
iv>checking build system type... i686-pc-linux-gnu</div><div>checking host =
system type... i686-pc-linux-gnu</div>
<div>checking target system type... i686-pc-linux-gnu</div><div><br></div><=
div>Configuring Apache Portable Runtime library ...</div><div><br></div><di=
v>checking for APR... reconfig</div><div>configuring package in srclib/apr =
now</div>
<div>checking build system type... i686-pc-linux-gnu</div><div>checking hos=
t system type... i686-pc-linux-gnu</div><div>checking target system type...=
 i686-pc-linux-gnu</div><div>Configuring APR library</div><div>Platform: i6=
86-pc-linux-gnu</div>
<div>checking for working mkdir -p... yes</div><div>APR Version: 1.4.6</div=
><div>checking for chosen layout... apr</div><div>checking for gcc... no</d=
iv><div>checking for cc... no</div><div>checking for cl.exe... no</div>
<div>configure: error: in `/home/sree/Desktop/httpd-2.2.23/srclib/apr&#39;:=
</div><div>configure: error: no acceptable C compiler found in $PATH</div><=
div>See `config.log&#39; for more details</div><div>configure failed for sr=
clib/apr</div>
<div><br></div></div><div>Regards</div><div>sreekanth</div>

--bcaec50409184abd3604d10d32d0--


From MAILER-DAEMON Mon Dec 17 15:57:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TkhkN-0007sA-KI
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 15:57:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55641)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TkhkK-0007qr-BR
	for coreutils@gnu.org; Mon, 17 Dec 2012 15:57:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TkhkJ-00016u-7g
	for coreutils@gnu.org; Mon, 17 Dec 2012 15:57:08 -0500
Received: from joseki.proulx.com ([216.17.153.58]:34127)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TkhkJ-00016p-0z
	for coreutils@gnu.org; Mon, 17 Dec 2012 15:57:07 -0500
Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119])
	by joseki.proulx.com (Postfix) with ESMTP id 6E3082126E;
	Mon, 17 Dec 2012 13:57:06 -0700 (MST)
Received: by hysteria.proulx.com (Postfix, from userid 1000)
	id 609D72DCCD; Mon, 17 Dec 2012 13:57:06 -0700 (MST)
Date: Mon, 17 Dec 2012 13:57:06 -0700
From: Bob Proulx <bob@proulx.com>
To: sreekanth dhulipalla <sreekanth.dhulipalla@gmail.com>
Subject: Re: installation error?
Message-ID: <20121217205706.GC21733@hysteria.proulx.com>
Mail-Followup-To: sreekanth dhulipalla <sreekanth.dhulipalla@gmail.com>,
	coreutils@gnu.org
References: <CANgwXZGOpzTkUMDxiz_tr0qE2G+OSCKwWG3gurGh8nDT0=aS5w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANgwXZGOpzTkUMDxiz_tr0qE2G+OSCKwWG3gurGh8nDT0=aS5w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 216.17.153.58
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 20:57:09 -0000

sreekanth dhulipalla wrote:
> when iam trying to install the apache 2.2.23 in my linux pc i get the below
> error?

You have reached the GNU Coreutils mailing list.  The GNU Coreutils
are the basic file, shell and text manipulation utilities of the GNU
Operating System.  You can learn more about GNU Coreutils here:

  http://www.gnu.org/software/coreutils/

The GNU Coreutils are part of the GNU Operating System.  You can learn
more about the GNU Project here:

  http://www.gnu.org/

But you are asking about an Apache installation.  This is the wrong
list.  This has nothing to do with the GNU coreutils project.

Please ask the Apache folks.

> configure: error: no acceptable C compiler found in $PATH

And install a C compiler.

Good luck!
Bob


From MAILER-DAEMON Mon Dec 17 16:00:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tkhne-0008Jy-5u
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 16:00:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56432)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1Tkhnb-0008Js-Pq
	for coreutils@gnu.org; Mon, 17 Dec 2012 16:00:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1TkhnX-000243-ME
	for coreutils@gnu.org; Mon, 17 Dec 2012 16:00:31 -0500
Received: from joseki.proulx.com ([216.17.153.58]:34120)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1Tkhiq-0000gT-Fb
	for coreutils@gnu.org; Mon, 17 Dec 2012 15:55:36 -0500
Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119])
	by joseki.proulx.com (Postfix) with ESMTP id 423032126E;
	Mon, 17 Dec 2012 13:55:34 -0700 (MST)
Received: by hysteria.proulx.com (Postfix, from userid 1000)
	id EC4742DCCD; Mon, 17 Dec 2012 13:55:33 -0700 (MST)
Date: Mon, 17 Dec 2012 13:55:33 -0700
From: Bob Proulx <bob@proulx.com>
To: sreekanth dhulipalla <sreekanth.dhulipalla@gmail.com>
Subject: Re: error : shell doesn't find the path?
Message-ID: <20121217205533.GB21733@hysteria.proulx.com>
Mail-Followup-To: sreekanth dhulipalla <sreekanth.dhulipalla@gmail.com>,
	coreutils@gnu.org
References: <CANgwXZGb=sA9tXh+Qsk+OyCw586Wg5xDpTqaFHUkZFQ2Kd7YXw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANgwXZGb=sA9tXh+Qsk+OyCw586Wg5xDpTqaFHUkZFQ2Kd7YXw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 216.17.153.58
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 21:00:33 -0000

sreekanth dhulipalla wrote:
> This is the error iam getting when iam run the command ./startadmin.sh
> startadmin.sh is an executable file when iam trying to run it shows the
> below error

You have reached the GNU Coreutils mailing list.  The GNU Coreutils
are the basic file, shell and text manipulation utilities of the GNU
Operating System.  You can learn more about GNU Coreutils here:

  http://www.gnu.org/software/coreutils/

The GNU Coreutils are part of the GNU Operating System.  You can learn
more about the GNU Project here:

  http://www.gnu.org/

> [sree@localhost bin]$ ./startadmin.sh
> ./startadmin.sh: line 1:
> domain-home=/home/sree/bea/user_projects/domains/base_domain: No such file
> or directory

But you are asking a generic question about your shell script.  I am
sorry but this is the wrong mailing list.  That has nothing to do with
the GNU coreutils project.  We don't know anything about it.

Having said that the error message seems pretty clear.  It is
accessing a file path that does not exist.

> body of the file is
> 
> [sree@localhost bin]$ cat startadmin.sh
> domain-home=/home/sree/bea/user_projects/domains/base_domain

In spite of this being off topic let me say that the above is not a
valid shell variable name.  "domain-home" is not a valid name.
Perhaps you expected to use an underscore there?

> nohup $domain-home/bin/startWebLogic.sh >>admin.log 2>&1 &

This expands the "$domain" variable which isn't set.

> the problem is doesn't find the path. in previous it will work but now it
> will shoes the error?

Good luck!
Bob


From MAILER-DAEMON Mon Dec 17 16:16:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tki2s-0003dR-Q5
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 16:16:18 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59025)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tki2q-0003cU-R3
	for coreutils@gnu.org; Mon, 17 Dec 2012 16:16:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tki2m-0006PJ-HV
	for coreutils@gnu.org; Mon, 17 Dec 2012 16:16:16 -0500
Received: from mx1.redhat.com ([209.132.183.28]:64616)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tki2m-0006Og-AH
	for coreutils@gnu.org; Mon, 17 Dec 2012 16:16:12 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBHLG8Gp019312
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 17 Dec 2012 16:16:08 -0500
Received: from pb-n5110.redhat.com (ovpn-116-23.ams2.redhat.com [10.36.116.23])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBHLG70A011838; Mon, 17 Dec 2012 16:16:07 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH] maint: consistently use @dots{} in coreutils.texi
Date: Mon, 17 Dec 2012 21:16:04 +0000
Message-Id: <1355778964-8863-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 21:16:18 -0000

* doc/coreutils.texi: s/\.\.\./@dots{}/ except in code and examples
---
 doc/coreutils.texi |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 0646f82..174a8c3 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -3127,7 +3127,7 @@ even when this option is specified.
 @itemx --unbuffered
 @opindex -u
 @opindex --unbuffered
-Immediately copy input to output in @option{--number r/...} mode,
+Immediately copy input to output in @option{--number r/@dots{}} mode,
 which is a much slower mode of operation.
 
 @item --verbose
@@ -5212,7 +5212,7 @@ to be truncated because it cannot extend beyond the beginning or the end of
 the current line to fit in, then a truncation occurs.  By default,
 the string used is a single slash, as in @option{-F /}.
 
-@var{string} may have more than one character, as in @option{-F ...}.
+@var{string} may have more than one character, as in @option{-F @dots{}}.
 Also, in the particular case when @var{string} is empty (@option{-F ""}),
 truncation flagging is disabled, and no truncation marks are appended in
 this case.
@@ -11634,8 +11634,8 @@ four hexadecimal digits @var{hhhh}, and @samp{\U} for 32-bit Unicode
 characters, specified as eight hexadecimal digits @var{hhhhhhhh}.
 @command{printf} outputs the Unicode characters
 according to the @env{LC_CTYPE} locale.  Unicode characters in the ranges
-U+0000...U+009F, U+D800...U+DFFF cannot be specified by this syntax, except
-for U+0024 ($), U+0040 (@@), and U+0060 (@`).
+U+0000@dots{}U+009F, U+D800@dots{}U+DFFF cannot be specified by this syntax,
+except for U+0024 ($), U+0040 (@@), and U+0060 (@`).
 
 The processing of @samp{\u} and @samp{\U} requires a full-featured
 @code{iconv} facility.  It is activated on systems with glibc 2.2 (or newer),
@@ -12588,7 +12588,7 @@ This section describes commands that manipulate file names.
 
 @example
 basename @var{name} [@var{suffix}]
-basename @var{option}... @var{name}...
+basename @var{option}@dots{} @var{name}@dots{}
 @end example
 
 If @var{suffix} is specified and is identical to the end of @var{name},
@@ -12673,7 +12673,7 @@ also removed.  If the string contains no slash, @command{dirname}
 prints @samp{.} (meaning the current directory).  Synopsis:
 
 @example
-dirname [@var{option}] @var{name}...
+dirname [@var{option}] @var{name}@dots{}
 @end example
 
 @var{name} need not be a file name, but if it is, this operation
-- 
1.7.6.4



From MAILER-DAEMON Mon Dec 17 18:32:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TkkAm-0001ew-DH
	for mharc-coreutils@gnu.org; Mon, 17 Dec 2012 18:32:36 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54809)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TkkAh-0001eT-BB
	for coreutils@gnu.org; Mon, 17 Dec 2012 18:32:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TkkAd-0001nQ-Bq
	for coreutils@gnu.org; Mon, 17 Dec 2012 18:32:31 -0500
Received: from mx1.redhat.com ([209.132.183.28]:4064)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TkkAd-0001nE-4G
	for coreutils@gnu.org; Mon, 17 Dec 2012 18:32:27 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBHNWGMY019757
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 17 Dec 2012 18:32:17 -0500
Received: from [10.36.116.23] (ovpn-116-23.ams2.redhat.com [10.36.116.23])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBHNWE47007760
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Mon, 17 Dec 2012 18:32:15 -0500
Message-ID: <50CFAB7D.2020909@draigBrady.com>
Date: Mon, 17 Dec 2012 23:32:13 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
	<50BCEABD.3010004@redhat.com>
	<50BDB07D.8090500@bernhard-voelker.de>
	<87zk1ty92o.fsf@rho.meyering.net>
	<50BEA356.7020306@bernhard-voelker.de>
	<50BF07BA.1000808@redhat.com>
	<50C23531.5080303@bernhard-voelker.de>
	<50C238E2.8050602@draigBrady.com>
	<50C25631.40801@bernhard-voelker.de>
In-Reply-To: <50C25631.40801@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBHNWGMY019757
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>, Ondrej Oprala <ooprala@redhat.com>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Dec 2012 23:32:35 -0000

On 12/07/2012 08:48 PM, Bernhard Voelker wrote:
> re-adding the list.
>
> On 12/07/2012 07:43 PM, P=E1draig Brady wrote:
>> On 12/07/2012 06:28 PM, Bernhard Voelker wrote:
>>> On 12/05/2012 09:37 AM, Ondrej Oprala wrote:
>>>> On 12/05/2012 02:28 AM, Bernhard Voelker wrote:
>>>>> Ondrej (and others): WDYT?
>>>> Looks good to me :) .
>>>
>>> Shall I push?
>>
>> I've not time to analyze this unfortunately.
>> If you're happy with it, then push away.
>> I'll have a quick review before the next release.
>
> Okay, then it's better I push, so that e.g. Hydra builds
> have a chance to find problem.
>
> Pushed:
> http://git.sv.gnu.org/gitweb/?p=3Dcoreutils.git;a=3Dcommitdiff;h=3D10d3=
5b43

FYI, there seem to be issues with this?
https://bugzilla.redhat.com/show_bug.cgi?id=3D887763

thanks,
P=E1draig.



From MAILER-DAEMON Tue Dec 18 12:25:37 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tl0vB-0005dc-Bg
	for mharc-coreutils@gnu.org; Tue, 18 Dec 2012 12:25:37 -0500
Received: from eggs.gnu.org ([208.118.235.92]:55646)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tl0v4-0005Oi-Li
	for coreutils@gnu.org; Tue, 18 Dec 2012 12:25:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tl0v2-0006gb-QA
	for coreutils@gnu.org; Tue, 18 Dec 2012 12:25:30 -0500
Received: from moutng.kundenserver.de ([212.227.17.8]:56007)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tl0v2-0006gQ-Gr
	for coreutils@gnu.org; Tue, 18 Dec 2012 12:25:28 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis)
	id 0LgtBS-1THhn30ewA-00oRja; Tue, 18 Dec 2012 18:25:23 +0100
Message-ID: <50D0A702.8020609@bernhard-voelker.de>
Date: Tue, 18 Dec 2012 18:25:22 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: df command should suppress duplicates
References: <502BC320.8080106@redhat.com>
	<502C967C.7070009@bernhard-voelker.de>
	<506DC909.1090603@redhat.com>
	<50B79F29.8060609@bernhard-voelker.de>
	<50BCEABD.3010004@redhat.com>
	<50BDB07D.8090500@bernhard-voelker.de>
	<87zk1ty92o.fsf@rho.meyering.net>
	<50BEA356.7020306@bernhard-voelker.de>
	<50BF07BA.1000808@redhat.com>
	<50C23531.5080303@bernhard-voelker.de>
	<50C238E2.8050602@draigBrady.com>
	<50C25631.40801@bernhard-voelker.de>
	<50CFAB7D.2020909@draigBrady.com>
In-Reply-To: <50CFAB7D.2020909@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:lvU7eSInMhw7ibaxPCbsUF39yhVa4rFydeJOWhV8WG7
	NQnFUbMuU4AMhpJ6YMs83wj2VqLodawPo4KbCQw0f6llrdu5p6
	zKHKxn1l7Dmmaf0LjgBDpr51x5s6Jrv2yBEngEQRX4fx63haUV
	uBcD1JfRKn2VxvT49fQ5j0rJ4BlNQo+PJUeltAiVgdc51hdWcr
	KWVZR9bfRpLrXWhmEtYnxNJNqJ9Sxe0bBOSIR7CITqVdPPGvEZ
	7k7Qdo7K6nKwGYM/FRcx2+BnID6ZlZStGo5RJ8u7+IJEDMOxER
	vnuFO3v9OJiHZYehEI0+TloVegBikicyWN+ww/94iMJrFfCfc4
	bZ82MkJ9E2bNYE7ZNYZ/XBJF2eGhyhFhP9X1k6Fij
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.8
Cc: Coreutils <coreutils@gnu.org>, Ondrej Oprala <ooprala@redhat.com>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Dec 2012 17:25:35 -0000

On 12/18/2012 12:32 AM, Pádraig Brady wrote:
> On 12/07/2012 08:48 PM, Bernhard Voelker wrote:
>> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=10d35b43
> 
> FYI, there seem to be issues with this?
> https://bugzilla.redhat.com/show_bug.cgi?id=887763

Hi Padraig,

in the upstream patch, the "rootfs" doesn't make it into the
deduplication list. Regarding "rpc_pipefs": well, it is in
/proc/mounts but it doesn't seem to be mounted (otherwise it
would have a different device number).

Could it be that rpc_pipefs was mounted in early boot, and
when /dev/sda8 became the new "/", it was not mounted again,
and is therefore "shadowed"?

Have a nice day,
Berny




From MAILER-DAEMON Tue Dec 18 16:55:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tl58D-0007Vt-Pz
	for mharc-coreutils@gnu.org; Tue, 18 Dec 2012 16:55:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57746)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tl58A-0007RS-0P
	for coreutils@gnu.org; Tue, 18 Dec 2012 16:55:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tl586-0006Qi-P2
	for coreutils@gnu.org; Tue, 18 Dec 2012 16:55:17 -0500
Received: from mail-qc0-f173.google.com ([209.85.216.173]:59328)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1Tl586-0006Qd-Jc
	for coreutils@gnu.org; Tue, 18 Dec 2012 16:55:14 -0500
Received: by mail-qc0-f173.google.com with SMTP id b12so683382qca.4
	for <coreutils@gnu.org>; Tue, 18 Dec 2012 13:55:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:user-agent:mime-version:to:cc
	:subject:references:in-reply-to:content-type;
	bh=paYBzTdPS7+mUC6GaleTgFndEoHF4EePdeL+67Vj1C4=;
	b=d0doQHfU0OChSb4+wFTIkQtqRBnYKH3klsZv75z1w2UqPA+cFe5gg0ujEyLmq0G2KH
	nxTIN3cxM4SjfGFvyNLkJbL//6FamsgQyULQCepcBQZgvXQ1P1Y8aioSybElmdY6ZVUi
	9WTwxPBnlsTGRUmYpTFrw5dB5XB4IS5JB9TrVLOvLYIJDrH3oLJTcKmRXrc23gHJW3Ty
	8HpR7aYKiEC8KuR3naCVT8bUQA871yKvtY61j+xOLTrHqekFfczS+HT5a5n5VUoo4LGI
	8Gjd+PSSL2/c2iGQjb6zg3CPH7TfOzClxc+LdcsMV006UIFYW8YRtp47PvmcxKMW7KjG
	K0Ng==
X-Received: by 10.229.201.12 with SMTP id ey12mr357519qcb.47.1355867713697;
	Tue, 18 Dec 2012 13:55:13 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id fv7sm1001286qab.3.2012.12.18.13.55.12
	(version=TLSv1/SSLv3 cipher=OTHER);
	Tue, 18 Dec 2012 13:55:12 -0800 (PST)
Message-ID: <50D0E63F.4040206@gmail.com>
Date: Tue, 18 Dec 2012 16:55:11 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
In-Reply-To: <50CAE913.6090905@draigBrady.com>
Content-Type: multipart/mixed; boundary="------------030900010008010707050803"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.216.173
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Dec 2012 21:55:19 -0000

This is a multi-part message in MIME format.
--------------030900010008010707050803
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

Attached is a first shot at documenting 'numfmt' .

Comments are welcomed,
-gordon

--------------030900010008010707050803
Content-Type: application/x-gzip;
 name="numfmt_doc.patch.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt_doc.patch.gz"

H4sIANXl0FAAA71YbVPbuhL+7l+x3y40TuqEECBzOZO+AIfpQJkDTE/bae8otpzo1rZ8LZmW
y81/v7uS/JYE6PRDKXRsabXaffbR7sqnhUzhcBwFLNg/OoqPwmh/HO6FQTw5itkeGwV8Eh6G
4zEbTcZzuJAZXPMchgcQBFPzC6MgGHqnqGYKr5RiMZzJIkK5fzJ6W5iX2SJlIhmEMv3De8s0
n8JNyX0YHsJbHqKG4QiGk+n+EH+hH+wHgXddzv/NQz2Fz1evbt78+QUiGeIGUQRZmcap9rwX
NPQylAUvtUjUQPMfYgqslgCF64XMvH6/722Rhf8BDPcPofcLPx4MIRYJVxAuWbbgkW9UiUzx
gvZUO71dHwKIeMLte3/X8yIRx9DvL4QG9nKLQfMtg57IIv4Dgsl4Eh+OBoM4HE8O+ASGAQ6N
ybetujw0cru+2Qz6h/v+BHr4/wHMZh68gCyZwk4tuJsl6MqdDBnZPoD1n8synfMCEpEhACyL
4HshNLeADIw6uSzzrkYaeUTpeZqWmfgvBy2B0CxzpyUvKOZtLTTyiJarQmQa9JJT+Mk8GQOJ
c6VkgQp7LxwvuhotVbap/IvHskiZdvqsTTLqLJfRk0C9LdPc8URkIEPNEh+4Do2qnCk6CC1t
ZuQRhRe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CIpu
63KafLrZ6ijR7ssez1eWd+e4usiYq1DX94pU4F63ti+5Pt/FA1HRBXfZAk5V5vAa44xs/K5Q
cyvXq+QdS/CeCwkrCAyNd3f61hk05YYaggpm56qJv9d7crtp98Zqk+C7FcDxHwAzPDrLB9rn
6xCOccOve5gy3olE7laiF5uiIys6QdELrHK16Nmm6J4VPULRM9ESvdkUHVvRB+y7UfoGr3O1
9NWm9H4lvU/SV1w30ieb0pNK+pCkT340wp82hQ+c8GhIwp+4bun+uCl+WImPSfyjdOLrl31D
SMFDevlVTp4kmEIw/VAzQEUgTYVS5kPG+cmb3RX8XnKOxr+HnKOxIefoK13onqMnCo+s8MgI
P0lQFN6zwntG+EmKovDYCo+DZxmKwvtWeD94lqAoPLHCk+A5fqLsgZU9CJ6nJ0ofWunD4Hl2
Ui2tNNGz+7RDzRfGuFQupusFZwAfbJuJtSPl2NxEfvMJyS5wcfXr7xBVPPwKa7/C0a8w8isA
/Mo3zL7tykMsK/DaRFzDVsMemOvzlWOrJWNTJBo7xMqv6SNqW+qnm/rpqn46qZ8+1U8fxaom
Mjbmj1mER7Myab1ZoA+zplnofHXGwY2vsHmBHdFPf9Hv98EbDg7w39jz/g+B6WCs6hwAAA==
--------------030900010008010707050803--


From MAILER-DAEMON Wed Dec 19 19:15:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlTnK-0003De-Pd
	for mharc-coreutils@gnu.org; Wed, 19 Dec 2012 19:15:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60389)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlTnH-0003BE-Dh
	for coreutils@gnu.org; Wed, 19 Dec 2012 19:15:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlTnG-0003bc-2a
	for coreutils@gnu.org; Wed, 19 Dec 2012 19:15:23 -0500
Received: from mx1.redhat.com ([209.132.183.28]:49611)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlTnF-0003bV-R6
	for coreutils@gnu.org; Wed, 19 Dec 2012 19:15:21 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBK0FHkO022704
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 19 Dec 2012 19:15:18 -0500
Received: from pb-n5110.redhat.com (ovpn-116-75.ams2.redhat.com [10.36.116.75])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBK0FFdU016587; Wed, 19 Dec 2012 19:15:16 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH] tests: avoid false positive valgrind failures
Date: Thu, 20 Dec 2012 00:15:13 +0000
Message-Id: <1355962513-4104-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 00:15:25 -0000

* init.cfg (require_valgrind_): Check the `true` program,
which will check more valgrind failure cases as now
detailed in the function comments.
---
 init.cfg |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/init.cfg b/init.cfg
index e853b0a..64f63cb 100644
--- a/init.cfg
+++ b/init.cfg
@@ -159,10 +159,14 @@ require_strace_()
   fi
 }
 
-# Skip the current test if valgrind doesn't work.
+# Skip the current test if valgrind doesn't work,
+# which could happen if not installed,
+# or hasn't support for the built architecture,
+# or hasn't appropriate error suppressions installed etc.
 require_valgrind_()
 {
-  valgrind --help >/dev/null || skip_ "requires valgrind"
+  valgrind --error-exitcode true 2>/dev/null ||
+    skip_ "requires a working valgrind"
 }
 
 require_setfacl_()
-- 
1.7.6.4



From MAILER-DAEMON Wed Dec 19 19:17:54 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlTpi-0006bM-AA
	for mharc-coreutils@gnu.org; Wed, 19 Dec 2012 19:17:54 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60854)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlTpg-0006aP-JC
	for coreutils@gnu.org; Wed, 19 Dec 2012 19:17:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlTpf-0004DF-IF
	for coreutils@gnu.org; Wed, 19 Dec 2012 19:17:52 -0500
Received: from mx1.redhat.com ([209.132.183.28]:54817)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlTpf-0004D6-BV
	for coreutils@gnu.org; Wed, 19 Dec 2012 19:17:51 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBK0HmZk019411
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 19 Dec 2012 19:17:49 -0500
Received: from pb-n5110.redhat.com (ovpn-116-75.ams2.redhat.com [10.36.116.75])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBK0Hl69026053; Wed, 19 Dec 2012 19:17:47 -0500
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
To: coreutils@gnu.org
Subject: [PATCH] dd: fix a printf format mismatch in an error message
Date: Thu, 20 Dec 2012 00:17:44 +0000
Message-Id: <1355962664-15304-1-git-send-email-P@draigBrady.com>
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 00:17:53 -0000

* src/dd.c (dd_copy): To print an off_t portably we need
to use PRIdMAX and cast to intmax_t, otherwise there
could be a mismatch between say a 32 bit off_t
and uintmax_t.  This was flagged by -Wformat on
a 64 bit host when compiling with CFLAGS=-m32.
---
 src/dd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/dd.c b/src/dd.c
index b613fcf..4e35df0 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -2130,9 +2130,9 @@ dd_copy (void)
               if (ftruncate (STDOUT_FILENO, output_offset) != 0)
                 {
                   error (0, errno,
-                         _("failed to truncate to %"PRIuMAX" bytes"
+                         _("failed to truncate to %" PRIdMAX " bytes"
                            " in output file %s"),
-                         output_offset, quote (output_file));
+                         (intmax_t) output_offset, quote (output_file));
                   return EXIT_FAILURE;
                 }
             }
-- 
1.7.6.4



From MAILER-DAEMON Wed Dec 19 20:20:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlUoS-0003W5-Kk
	for mharc-coreutils@gnu.org; Wed, 19 Dec 2012 20:20:40 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41193)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TlUoO-0003VD-Or
	for coreutils@gnu.org; Wed, 19 Dec 2012 20:20:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TlUoL-000391-Hk
	for coreutils@gnu.org; Wed, 19 Dec 2012 20:20:36 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:59736)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TlUoL-00038X-6N
	for coreutils@gnu.org; Wed, 19 Dec 2012 20:20:33 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis)
	id 0Lwje8-1T1MH71y8W-016RJE; Thu, 20 Dec 2012 02:20:29 +0100
Message-ID: <50D267DC.3000307@bernhard-voelker.de>
Date: Thu, 20 Dec 2012 02:20:28 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: [PATCH] tests: avoid false positive valgrind failures
References: <1355962513-4104-1-git-send-email-P@draigBrady.com>
In-Reply-To: <1355962513-4104-1-git-send-email-P@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:RgwuM0OKO9OVGEwxXVSFdYwm/7Js3QSfe1a2u5A76jD
	EX8WnbdhxOa2kmt3x9k+XNtN+8I0W9FzQVeV1FpC6tBNsz7t6v
	0ywIrpDejoZ6inC2FyltNcS8s8HIYbs/st+UKcrrSAJiD5Kezt
	J8QSu0IhQ3vh3pI9ITZjJPH90sem12w/8qKZLf9TZ9jIOMU3na
	wMkb4xTJMqHC9lxifTGzeiJ9gg40dzOnvMvKgTR/qqGjTEYmAF
	FCxYQ26NYi2n59uH3pnqSzmqaXLCangiuhMCWh76InH1hNHUAA
	LK6agQIYdOy9DdGwfCts/jMSNzygs3mc5hX6Na9vhE50WqYQUB
	VFvliC6nGXtT0uDR9aTya0aN6e6/OFefUofndmdHw
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 01:20:39 -0000



On 12/20/2012 01:15 AM, Pádraig Brady wrote:
> * init.cfg (require_valgrind_): Check the `true` program,
> which will check more valgrind failure cases as now
> detailed in the function comments.
> ---
>  init.cfg |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/init.cfg b/init.cfg
> index e853b0a..64f63cb 100644
> --- a/init.cfg
> +++ b/init.cfg
> @@ -159,10 +159,14 @@ require_strace_()
>    fi
>  }
>  
> -# Skip the current test if valgrind doesn't work.
> +# Skip the current test if valgrind doesn't work,
> +# which could happen if not installed,
> +# or hasn't support for the built architecture,
> +# or hasn't appropriate error suppressions installed etc.
>  require_valgrind_()
>  {
> -  valgrind --help >/dev/null || skip_ "requires valgrind"
> +  valgrind --error-exitcode true 2>/dev/null ||
> +    skip_ "requires a working valgrind"
>  }
>  
>  require_setfacl_()

On my OpenSuSE-12.1 system (okay, I should upgrade ...), valgrind
is working, but the --error-exitcode option seems to require a
value ... ;-(

  $ valgrind --error-exitcode true
  valgrind: Bad option: --error-exitcode
  valgrind: Use --help for more information or consult the user manual.

  $ valgrind --error-exitcode=0 true
  ==22439== Memcheck, a memory error detector
  ==22439== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  ==22439== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  ==22439== Command: true
  ==22439==
  ==22439==
  ==22439== HEAP SUMMARY:
  ==22439==     in use at exit: 0 bytes in 0 blocks
  ==22439==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  ==22439==
  ==22439== All heap blocks were freed -- no leaks are possible
  ==22439==
  ==22439== For counts of detected and suppressed errors, rerun with: -v
  ==22439== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)

Have a nice day,
Berny


From MAILER-DAEMON Wed Dec 19 20:49:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlVGa-0008VZ-9Z
	for mharc-coreutils@gnu.org; Wed, 19 Dec 2012 20:49:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlVGX-0008Ts-CA
	for coreutils@gnu.org; Wed, 19 Dec 2012 20:49:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlVGW-0001ms-4r
	for coreutils@gnu.org; Wed, 19 Dec 2012 20:49:41 -0500
Received: from mx1.redhat.com ([209.132.183.28]:29523)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlVGV-0001lO-TW
	for coreutils@gnu.org; Wed, 19 Dec 2012 20:49:40 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBK1nZCC008332
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 19 Dec 2012 20:49:35 -0500
Received: from [10.36.116.75] (ovpn-116-75.ams2.redhat.com [10.36.116.75])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBK1nW64010424
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Wed, 19 Dec 2012 20:49:34 -0500
Message-ID: <50D26EAC.5010209@draigBrady.com>
Date: Thu, 20 Dec 2012 01:49:32 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH] tests: avoid false positive valgrind failures
References: <1355962513-4104-1-git-send-email-P@draigBrady.com>
	<50D267DC.3000307@bernhard-voelker.de>
In-Reply-To: <50D267DC.3000307@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBK1nZCC008332
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 01:49:42 -0000

On 12/20/2012 01:20 AM, Bernhard Voelker wrote:
> On my OpenSuSE-12.1 system (okay, I should upgrade ...), valgrind
> is working, but the --error-exitcode option seems to require a
> value ... ;-(

Yep, I just forgot to commit my latest and sent
a stale patch, sorry about that. Adjusted like:

-  valgrind --error-exitcode true 2>/dev/null ||
+  valgrind --error-exitcode=3D1 true 2>/dev/null ||

thanks,
P=E1draig.


From MAILER-DAEMON Thu Dec 20 05:59:02 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TldqA-0002sL-Qi
	for mharc-coreutils@gnu.org; Thu, 20 Dec 2012 05:59:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44090)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tldpk-0002rS-D6
	for coreutils@gnu.org; Thu, 20 Dec 2012 05:59:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TldpQ-0004tW-Aa
	for coreutils@gnu.org; Thu, 20 Dec 2012 05:58:36 -0500
Received: from moutng.kundenserver.de ([212.227.17.10]:54965)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TldpP-0004se-Vx
	for coreutils@gnu.org; Thu, 20 Dec 2012 05:58:16 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0LmPME-1TBkqS2HcQ-00ZHK4; Thu, 20 Dec 2012 11:58:15 +0100
Message-ID: <50D2EF45.7090302@bernhard-voelker.de>
Date: Thu, 20 Dec 2012 11:58:13 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: [PATCH 2/2] doc: tweak 'lcov' in HACKING
References: <50CA2C8A.7030908@gmail.com> <50CAE37C.8060907@bernhard-voelker.de>
In-Reply-To: <50CAE37C.8060907@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:D5uvGEztZGYjlBntX3+c/0dw6Ns0Q2pTCsJxClGiBkz
	IsG/wqJV5he+kfobl4fDhoMSWSJzj2HMJITS779gWi+fWRI+mi
	emUiabg/AnPVF6f83vwsoP8srAtCB8Ragg9zR+CcWjiDgg/EKc
	5lBNN/1ocBSrPlVZmnwtHETzolzfif1VJFbPNtolJGNA0r/Ni6
	r6qaECBaxl/GX5Drj9hErT+fF8GCJesdpLOFE17pp5DUDBJh6S
	TkBX7bfFs3+0hImYm4PqNFyH5Skzc0gjaoORPNhAY6hHCgX5Vi
	uS+LSpIAms+7F18S9mq91BFQzbrXfDm0MG13/ElGMc9JUBd/mH
	tLSQy00MiPPQvqtftvAFDILc2jmcsM/767rUW22pE
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.10
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 10:59:01 -0000

On 12/14/2012 09:29 AM, Bernhard Voelker wrote:

> On 12/13/2012 08:29 PM, Assaf Gordon wrote:

>> [PATCH 2/2] doc: tweak 'lcov' in HACKING

>   $ lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
>   <built-in>:cannot open source file
>   geninfo: ERROR: cannot read <built-in>.gcov!
> 
> Don't you get that, too?

This geninfo/lcov error is fixed upstream:
http://ltp.cvs.sourceforge.net/viewvc/ltp/utils/analysis/lcov/bin/geninfo?r1=1.90&r2=1.91

I patched locally, and now it works again. ;-)

Pushed:
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=c388053e

Thanks again.

Have a nice day,
Berny


From MAILER-DAEMON Thu Dec 20 09:50:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlhRr-0006wi-JC
	for mharc-coreutils@gnu.org; Thu, 20 Dec 2012 09:50:11 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41179)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TlhRn-0006tW-Jj
	for coreutils@gnu.org; Thu, 20 Dec 2012 09:50:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TlhRd-00039y-JI
	for coreutils@gnu.org; Thu, 20 Dec 2012 09:50:07 -0500
Received: from moutng.kundenserver.de ([212.227.17.8]:62029)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TlhRd-00039g-9x
	for coreutils@gnu.org; Thu, 20 Dec 2012 09:49:57 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis)
	id 0Mgpk0-1TPms80p28-00MnIe; Thu, 20 Dec 2012 15:49:56 +0100
Message-ID: <50D32593.1020902@bernhard-voelker.de>
Date: Thu, 20 Dec 2012 15:49:55 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>
Subject: [PATCH] tests: add tests for basename's --zero option
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:b3OYn2qk+aoy9qEZHbStYq/fHUfgeFX/QlD9TcEAAEr
	O8IsAmf+hfBGGE8Zq4UfrhcsKvWApI28xSDqrzlMF5xDwwnFfT
	Scc0PWzwIE57OundJ3SFGjQaAx0vGO4taHSgHKuVuH3mIdps7W
	PSX1VLIyT+VbllxdMxZ2/tlT4ChL2bTlChctc3eF+kkK1uyvVS
	jzZm7HJ0IsCfKIC9OcYJ3O5g9HLmSCmvBbot56K5p/vWR+q46F
	PjB1OqvuL8RBavDv/PS/XHwzfkM3lCIfcQ9ZhHgZaNVoBSWUCM
	yo4eVNwLVzl1pSjoIDJ9Vec/gJtJ1EaBIi7AuUJxDGVT8WrbAv
	Nkk1RnYctbdrOQcivrAHJl4fOpJQuuTXATYQmwac0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.8
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 14:50:10 -0000

basename accepts the --zero option since March. Therefore, it's time to
add some tests. With these, basename's coverage is up to 100% again. ;-)

Have a nice day,
Berny


>From 1946c600e917113c70b687fef797ff8f94d24897 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
Date: Thu, 20 Dec 2012 15:48:44 +0100
Subject: [PATCH] tests: add tests for basename's --zero option

The -z option has been introduced in commit v8.15-60-ga3eb71a,
i.e. in coreutils-8.16.  Time to add some tests for it.

* tests/misc/basename.pl: Add tests exercising the -z option.
In the foreach loop to append a newline to the end of each
expected 'OUT' string, skip the -z tests.
---
 tests/misc/basename.pl |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/tests/misc/basename.pl b/tests/misc/basename.pl
index d0ab57b..734ea83 100755
--- a/tests/misc/basename.pl
+++ b/tests/misc/basename.pl
@@ -61,9 +61,17 @@ my @Tests =
      ['8', qw(fs x),       {OUT => 'fs'}],
      ['9', qw(fs ''),      {OUT => 'fs'}],
      ['10', qw(fs/ s/),    {OUT => 'fs'}],
+
+     # Exercise -z option.
+     ['z0', qw(-z a),       {OUT => "a\0"}],
+     ['z1', qw(--zero a),   {OUT => "a\0"}],
+     ['z2', qw(-za a b),    {OUT => "a\0b\0"}],
+     ['z3', qw(-z ba a),    {OUT => "b\0"}],
+     ['z4', qw(-z -s a ba), {OUT => "b\0"}],
    );

 # Append a newline to end of each expected 'OUT' string.
+# Skip -z tests, i.e. those whose name matches /^z/.
 my $t;
 foreach $t (@Tests)
   {
@@ -72,7 +80,8 @@ foreach $t (@Tests)
     foreach $e (@$t)
       {
         $e->{OUT} = "$e->{OUT}\n"
-          if ref $e eq 'HASH' and exists $e->{OUT};
+          if ref $e eq 'HASH' and exists $e->{OUT}
+          and not $t->[0] =~ /^z/;
       }
   }

-- 
1.7.7


From MAILER-DAEMON Thu Dec 20 10:02:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlhdS-000265-Kz
	for mharc-coreutils@gnu.org; Thu, 20 Dec 2012 10:02:10 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44752)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlhdP-00025x-Gc
	for coreutils@gnu.org; Thu, 20 Dec 2012 10:02:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlhdN-0006mO-6N
	for coreutils@gnu.org; Thu, 20 Dec 2012 10:02:07 -0500
Received: from mx1.redhat.com ([209.132.183.28]:65476)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TlhdM-0006m9-Uw
	for coreutils@gnu.org; Thu, 20 Dec 2012 10:02:05 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBKF1vd8032352
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 20 Dec 2012 10:01:57 -0500
Received: from [10.36.116.71] (ovpn-116-71.ams2.redhat.com [10.36.116.71])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBKF1sw6008240
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 20 Dec 2012 10:01:56 -0500
Message-ID: <50D32862.3000108@draigBrady.com>
Date: Thu, 20 Dec 2012 15:01:54 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH] tests: add tests for basename's --zero option
References: <50D32593.1020902@bernhard-voelker.de>
In-Reply-To: <50D32593.1020902@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBKF1vd8032352
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 15:02:09 -0000

On 12/20/2012 02:49 PM, Bernhard Voelker wrote:
> basename accepts the --zero option since March. Therefore, it's time to
> add some tests. With these, basename's coverage is up to 100% again. ;-=
)
>
> Have a nice day,
> Berny
>
>
>>From 1946c600e917113c70b687fef797ff8f94d24897 Mon Sep 17 00:00:00 2001
> From: Bernhard Voelker <mail@bernhard-voelker.de>
> Date: Thu, 20 Dec 2012 15:48:44 +0100
> Subject: [PATCH] tests: add tests for basename's --zero option
>
> The -z option has been introduced in commit v8.15-60-ga3eb71a,
> i.e. in coreutils-8.16.  Time to add some tests for it.
>
> * tests/misc/basename.pl: Add tests exercising the -z option.
> In the foreach loop to append a newline to the end of each
> expected 'OUT' string, skip the -z tests.
> ---
>   tests/misc/basename.pl |   11 ++++++++++-
>   1 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/tests/misc/basename.pl b/tests/misc/basename.pl
> index d0ab57b..734ea83 100755
> --- a/tests/misc/basename.pl
> +++ b/tests/misc/basename.pl
> @@ -61,9 +61,17 @@ my @Tests =3D
>        ['8', qw(fs x),       {OUT =3D> 'fs'}],
>        ['9', qw(fs ''),      {OUT =3D> 'fs'}],
>        ['10', qw(fs/ s/),    {OUT =3D> 'fs'}],
> +
> +     # Exercise -z option.
> +     ['z0', qw(-z a),       {OUT =3D> "a\0"}],
> +     ['z1', qw(--zero a),   {OUT =3D> "a\0"}],
> +     ['z2', qw(-za a b),    {OUT =3D> "a\0b\0"}],
> +     ['z3', qw(-z ba a),    {OUT =3D> "b\0"}],
> +     ['z4', qw(-z -s a ba), {OUT =3D> "b\0"}],
>      );
>
>   # Append a newline to end of each expected 'OUT' string.
> +# Skip -z tests, i.e. those whose name matches /^z/.
>   my $t;
>   foreach $t (@Tests)
>     {
> @@ -72,7 +80,8 @@ foreach $t (@Tests)
>       foreach $e (@$t)
>         {
>           $e->{OUT} =3D "$e->{OUT}\n"
> -          if ref $e eq 'HASH' and exists $e->{OUT};
> +          if ref $e eq 'HASH' and exists $e->{OUT}
> +          and not $t->[0] =3D~ /^z/;
>         }
>     }
>

Or alternatively skip for OUT with a trailing \0
Either way, +1

thanks,
P=E1draig.



From MAILER-DAEMON Thu Dec 20 10:47:04 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TliKu-0002kd-Sx
	for mharc-coreutils@gnu.org; Thu, 20 Dec 2012 10:47:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56443)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TliKs-0002kX-5U
	for coreutils@gnu.org; Thu, 20 Dec 2012 10:47:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TliKm-000207-4j
	for coreutils@gnu.org; Thu, 20 Dec 2012 10:47:02 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:55185)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TliKl-0001zx-Rj
	for coreutils@gnu.org; Thu, 20 Dec 2012 10:46:56 -0500
Received: from [192.168.1.11] (p4FC3E64E.dip.t-dialin.net [79.195.230.78])
	by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis)
	id 0MfZIB-1TR9JX3UOh-00OaMy; Thu, 20 Dec 2012 16:46:53 +0100
Message-ID: <50D332EC.1050707@bernhard-voelker.de>
Date: Thu, 20 Dec 2012 16:46:52 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: [PATCH] tests: add tests for basename's --zero option
References: <50D32593.1020902@bernhard-voelker.de>
	<50D32862.3000108@draigBrady.com>
In-Reply-To: <50D32862.3000108@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Provags-ID: V02:K0:TDMYRWaZ6UHAyHLtRo++2XNyp7gGDD+SEtP3WREGdvC
	TE0lDUyJYnDLheJGnWgz1UBvnI9KVjbc9WsepD2daVm7G+5rRC
	dqNouwAmPHY8UomCyj9TYaU+0WrW8d2DMP+1hW9qIQCEroE39p
	P0c3jw0m3wLClup2ZcA6JnKdHXUSmOiHQFVOtHqsGfcywUBcTJ
	2nKHErb3VivAzT9idsWq8Bdic9VoGccYFU2DCuSmhUi8RFAZUV
	9vASwGtAVZejYtfR1dC7kVN9UZgde0H/mHK/Pp0OZSB/d+8/8I
	jxbZ/0wajI3f6yI94CazCkp27FnVh1zmHlXu8+Jfm3Vz59wYCg
	q88cMZaqTWVGFvuLZ8B28fNMh+GCMuPQKKXHegFJJ
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.171
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 15:47:03 -0000

On 12/20/2012 04:01 PM, Pádraig Brady wrote:
> On 12/20/2012 02:49 PM, Bernhard Voelker wrote:
>>   # Append a newline to end of each expected 'OUT' string.
>> +# Skip -z tests, i.e. those whose name matches /^z/.
>>   my $t;
>>   foreach $t (@Tests)
>>     {
>> @@ -72,7 +80,8 @@ foreach $t (@Tests)
>>       foreach $e (@$t)
>>         {
>>           $e->{OUT} = "$e->{OUT}\n"
>> -          if ref $e eq 'HASH' and exists $e->{OUT};
>> +          if ref $e eq 'HASH' and exists $e->{OUT}
>> +          and not $t->[0] =~ /^z/;
>>         }
>>     }
>>
> 
> Or alternatively skip for OUT with a trailing \0
> Either way, +1

Thanks for the review. Pushed with your suggestion:
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=0568f72

Diff to previous patch (I also fixed the indentation of the
new and-clause):

 # Append a newline to end of each expected 'OUT' string.
-+# Skip -z tests, i.e. those whose name matches /^z/.
++# Skip -z tests, i.e. those whose 'OUT' string has a trailing '\0'.
  my $t;
  foreach $t (@Tests)
    {
@@ -39,7 +39,7 @@
          $e->{OUT} = "$e->{OUT}\n"
 -          if ref $e eq 'HASH' and exists $e->{OUT};
 +          if ref $e eq 'HASH' and exists $e->{OUT}
-+          and not $t->[0] =~ /^z/;
++            and not $e->{OUT} =~ /\0$/;

Have a nice day,
Berny


From MAILER-DAEMON Thu Dec 20 17:37:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tlojp-0000ZB-9w
	for mharc-coreutils@gnu.org; Thu, 20 Dec 2012 17:37:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42957)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <danielfsantos@att.net>) id 1TloJE-0002zN-3I
	for coreutils@gnu.org; Thu, 20 Dec 2012 17:09:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <danielfsantos@att.net>) id 1TloJ6-0007fx-Ni
	for coreutils@gnu.org; Thu, 20 Dec 2012 17:09:44 -0500
Received: from nm7.access.bullet.mail.sp2.yahoo.com ([98.139.44.134]:44872)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <danielfsantos@att.net>) id 1TloJ6-0007fo-4M
	for coreutils@gnu.org; Thu, 20 Dec 2012 17:09:36 -0500
Received: from [98.139.44.102] by nm7.access.bullet.mail.sp2.yahoo.com with
	NNFMP; 20 Dec 2012 22:09:35 -0000
Received: from [98.138.226.244] by tm7.access.bullet.mail.sp2.yahoo.com with
	NNFMP; 20 Dec 2012 22:09:35 -0000
Received: from [127.0.0.1] by smtp115.sbc.mail.ne1.yahoo.com with NNFMP;
	20 Dec 2012 22:09:35 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024;
	t=1356041374; bh=o6KqMVmWr+47Gh2Z+d2jFTUqFs+ZlhihWex4ewdnbI0=;
	h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:Content-Type;
	b=ys0Raz454B5ACGA3sIgudwJWTY6VTsr+kCDAy4pAfODrTBMwrBNMohxirSM+F5lAgZ57mSLkO7egYgrUsxPYgzOxSRTDIGO9yHVG4+oYVCcxZlrItNgms5nyUBkY9CQifccDX/fABecDmmGdWJ8hi16QpMvVfMspbUcaFknDUEY=
X-Yahoo-Newman-Id: 988668.84914.bm@smtp115.sbc.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: BH8wa7EVM1mL2DmWt4sXJWQ_e8D1kLMjOaYpESujfvcDAHF
	zVWuRemIH8ZPRl3Q_QF_Qb14jKSvVUST2zSHwmJSzCKLor4.IR7qCJxn6uwU
	FGUUf9uSnrvvtwyJhJ2AKw4dedmGcLvUDFKnjr3AfTo_YcKHtx5jiXTGAaL.
	SJyK2tAVEcVD_.6tOW.23CUoXJ7BxhyOi7YkKwBLY7YD771uuAzkj.Nu4BII
	nFEFYb5vmkFyYcrm0F76tVtaylog0rfUO_n2k3RwkgZAkEaM7mIde7Yjw61R
	.gNkOyHiiri8tHbtLhmETIAp5siqL4uNx.lMqGQb7MQIP.JXVhblCNPGkSmd
	F8ce.RH0Z5xxo4p.hg6gLgr2MN_1YuTQhwXV8PGvbbEicMwq6idi4dTLnHo3
	dUCUY1BUO2SQlWrabtMxm9IJCJsU3Z9mQYLHS9CEKa7YZZHSqz1d4arfYTwQ
	gWnoQvM0d5IM46vGAUx.VIWmqIZj5yJWnGO4o6raiDziZOR8NsHgf
X-Yahoo-SMTP: xXkkXk6swBBAi.5wfkIWFW3ugxbrqyhyk_b4Z25Sfu.XGQ--
Received: from [192.168.1.4] (danielfsantos@99.70.244.137 with plain)
	by smtp115.sbc.mail.ne1.yahoo.com with SMTP;
	20 Dec 2012 14:09:34 -0800 PST
Message-ID: <50D38CA2.3030207@att.net>
Date: Thu, 20 Dec 2012 16:09:38 -0600
From: Daniel Santos <danielfsantos@att.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.11) Gecko/20121128 Thunderbird/10.0.11
MIME-Version: 1.0
To: bug-coreutils@gnu.org
Subject: [PATCH] enhancement: modify md5sum to allow piping
Content-Type: multipart/mixed; boundary="------------000805000702020304080600"
X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x
X-Received-From: 98.139.44.134
X-Mailman-Approved-At: Thu, 20 Dec 2012 17:37:11 -0500
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Daniel Santos <daniel.santos@pobox.com>
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 22:09:51 -0000

This is a multi-part message in MIME format.
--------------000805000702020304080600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

There are many times, usually when doing system backups, maintenance, 
recovery, etc., that I would like to pipe large files through md5sum to 
produce or verify a hash so that I do not have to read the file multiple 
times.  This is especially the case when backing up a system from a 
livecd across the network

dd if=/dev/sda3 | pbzip2 -c2 | netcat 192.168.1.123 45678
or
tar c /mnt/sda3 | pbzip2 -c2 | netcat 192.168.1.123 45678

Attached is a preliminary patch set that will allow for this as in the 
following example

dd if=/dev/sda3 | pbzip2 -c2 | md5sum -po /tmp/sda3.dat.bzip2.md5 | 
netcat 192.168.1.123 45678

-p is short for --pipe and -o <filename> is short for --outfile 
<filename>.  Then, on the receiving end, the hash can be determined as 
the file is read, eliminating any worry about network corruption:

netcat -l -p 45678| md5sum -po sda3.dat.bzip2.rx.md5 > sda3.dat.bzip2

The only caveat being that you have to manually compare the sum files, 
which you can just do by calling diff, a small cost when compared to 
re-reading a 200GiB file!

You can even get the sum prior to compression, although if you wanted to 
avoid a duplicate read on the server end, you would have to decompress 
as you read it and either store the file uncompressed or re-compress it.

dd if=/dev/sda3 | md5sum -po /tmp/sda3.dat.md5 | pbzip2 -c2 | netcat 
192.168.1.123 45678
with
netcat -l -p 45678| pbzip2 -cd | md5sum -po sda3.dat.rx.md5 > sda3.dat

The attached patchset is in a very early stage and has many problems:

  * GNU coding style compliance (this coding style is new to me)
  * API in gnulib is changed, may break other apps
  * all changes are lumped together and needs to be broken apart into
    logical changes
  * it has a few hacks that need to be cleaned up

Also, this patch set addresses a problem with the gnulib's hash 
functions where there was a lot of copy & paste code.  I've implemented  
a mechanism to clean this up w/o a performance hit (as long as we're 
using gcc 4.6.1+).  This change should probably go into a separate 
patchset & bug report.

Finally, after the cursory amount that I've worked with this code, I see 
a number of other areas where I believe there's room for improvement.

  * The copy & paste code problem (mentioned above)
  * Centralize the location where BLOCKSIZE is defined and only verify
    it's a multiple of 64 in gnulib/lib/{md,sha}*.c
  * Perhaps allow BLOCKSIZE to be defined at configure time? Honestly,
    I'm not intimately familiar enough with the issues where I can be
    certain it would alter performance on any system, but I'm thinking
    about embedded where reading 32k chunks may end up thrashing the
    cache, but 8k or 4k would not. However, I don't think I would be in
    favor of this being a run-time parameter, as it would seem to be a
    lot of waste (and lost optimizations) for something that's probably
    pretty specific to the hardware and build target.
  * Centralize compiler sniffing into a single gnulib header, (like
    "compiler.h" or some such) and define the GCC_VERSION macro as
    described in
    http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html.
  * Make better use of __builtin_expect via portable likely/unlikely
    macros to make sure error handling code gets moved out of the main
    bodies of functions (which can save a cache miss here and there). 
    Of course, this would require the above item to do cleanly.
  * Introduce some tuning parameter in the configure script to choose
    between smaller and larger, but more optimized code.  I bring this
    up mainly because in my re-work of the copy & pasted code, I see a
    large opportunity to create a much smaller executable (if needed),
    but one that would create slightly slower code, which would usually
    be undesirable on a machine with plenty of RAM, storage and CPU cache.

Obviously, these should be made into separate bug reports as well and I 
can send separate emails for them if you like.

Daniel


--------------000805000702020304080600
Content-Type: text/x-patch;
 name="0001-md5sum-pipe.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-md5sum-pipe.patch"

>From 8c3d2a3019f21efce441d58e8084959cfe7bd043 Mon Sep 17 00:00:00 2001
From: Daniel Santos <daniel.santos@pobox.com>
Date: Thu, 20 Dec 2012 03:51:39 -0600
Subject: md5sum: pipe

---
 src/md5sum.c |  133 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 112 insertions(+), 21 deletions(-)

diff --git a/src/md5sum.c b/src/md5sum.c
index 1663c1e..1953e67 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -39,6 +39,7 @@
 #include "fadvise.h"
 #include "stdio--.h"
 #include "xfreopen.h"
+#include "close-stream.h"
 
 /* The official name of this program (e.g., no 'g' prefix).  */
 #if HASH_ALGO_MD5
@@ -129,6 +130,14 @@ static bool strict = false;
 /* Whether a BSD reversed format checksum is detected.  */
 static int bsd_reversed = -1;
 
+static bool pipe_to_stdout = false;
+static const char *out_filename = NULL;
+FILE *outfile = NULL;
+
+#ifndef unlikely
+#define unlikely(exp) (exp)
+#endif
+
 /* For long options that have no equivalent short option, use a
    non-character as a pseudo short option, starting with CHAR_MAX + 1.  */
 enum
@@ -149,6 +158,9 @@ static struct option const long_options[] =
   { "warn", no_argument, NULL, 'w' },
   { "strict", no_argument, NULL, STRICT_OPTION },
   { "tag", no_argument, NULL, TAG_OPTION },
+  { "outfile", required_argument, NULL, 'o' },
+  { "append", no_argument, NULL, 'a' },
+  { "pipe", no_argument, NULL, 'p' },
   { GETOPT_HELP_OPTION_DECL },
   { GETOPT_VERSION_OPTION_DECL },
   { NULL, 0, NULL, 0 }
@@ -203,6 +215,16 @@ The following three options are useful only when verifying checksums:\n\
       fputs (_("\
       --strict         with --check, exit non-zero for any invalid input\n\
 "), stdout);
+        fputs (_("\
+  -o, --outfile file   output results to the specified file instead of\n\
+                       standard out.\n\
+"), stdout);
+        fputs (_("\
+  -a, --append         append to output file (used with --output)\n\
+"), stdout);
+        fputs (_("\
+  -p, --pipe           pipe through md5sum (must be used with --outfile)\n\
+"), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       printf (_("\
@@ -457,10 +479,15 @@ digest_file (const char *filename, int *binary, unsigned char *bin_result)
 
   fadvise (fp, FADVISE_SEQUENTIAL);
 
-  err = DIGEST_STREAM (fp, bin_result);
-  if (err)
+  err = DIGEST_STREAM (fp, pipe_to_stdout ? stdout : NULL, bin_result);
+
+  if (unlikely(err))
     {
-      error (0, errno, "%s", filename);
+      if (err == 1 /* DIGEST_STREAM_READ_ERROR */)
+            error (0, errno, "%s: %s", _("read error"), filename);
+      else
+            error (0, errno, "%s: stdout", _("write error"));
+
       if (fp != stdin)
         fclose (fp);
       return false;
@@ -667,21 +694,36 @@ print_filename (char const *file)
       switch (*file)
         {
         case '\n':
-          fputs ("\\n", stdout);
+          fputs ("\\n", outfile);
           break;
 
         case '\\':
-          fputs ("\\\\", stdout);
+          fputs ("\\\\", outfile);
           break;
 
         default:
-          putchar (*file);
+          putc (*file, outfile);
           break;
         }
       file++;
     }
 }
 
+static void
+md5sum_cleanup (void)
+{
+  if (pipe_to_stdout && fflush (stdout))
+    error (0, errno, _("error flushing stdout"));
+
+  if (outfile && outfile != stdout && close_stream (outfile))
+    error (0, errno, _("error closing: %s"), out_filename);
+
+  if (out_filename)
+    free(bad_cast (out_filename));
+
+  close_stdout();
+}
+
 int
 main (int argc, char **argv)
 {
@@ -693,6 +735,7 @@ main (int argc, char **argv)
   bool ok = true;
   int binary = -1;
   bool prefix_tag = false;
+  const char *outfile_mode = "w";
 
   /* Setting values of global variables.  */
   initialize_main (&argc, &argv);
@@ -701,13 +744,9 @@ main (int argc, char **argv)
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);
 
-  atexit (close_stdout);
+  atexit (md5sum_cleanup);
 
-  /* Line buffer stdout to ensure lines are written atomically and immediately
-     so that processes running in parallel do not intersperse their output.  */
-  setvbuf (stdout, NULL, _IOLBF, 0);
-
-  while ((opt = getopt_long (argc, argv, "bctw", long_options, NULL)) != -1)
+  while ((opt = getopt_long (argc, argv, "bctwo:pa", long_options, NULL)) != -1)
     switch (opt)
       {
       case 'b':
@@ -741,6 +780,15 @@ main (int argc, char **argv)
         prefix_tag = true;
         binary = 1;
         break;
+      case 'p':
+        pipe_to_stdout = true;
+        break;
+      case 'o':
+        out_filename = strdup(optarg);
+        break;
+      case 'a':
+        outfile_mode = "a";
+        break;
       case_GETOPT_HELP_CHAR;
       case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
       default:
@@ -803,6 +851,49 @@ main (int argc, char **argv)
      usage (EXIT_FAILURE);
    }
 
+  if (pipe_to_stdout && !out_filename)
+   {
+     error (0, 0, _("--pipe must be accompanied by --outfile"));
+     usage (EXIT_FAILURE);
+   }
+
+  /* I'm not sure how strict to be here. */
+  if (pipe_to_stdout && isatty(STDOUT_FILENO) && binary)
+   {
+     error (0, 0, _("refusing to write binary data to a terminal"));
+     usage (EXIT_FAILURE);
+   }
+
+  if (pipe_to_stdout && optind >= (argc + 1))
+   {
+     error (0, 0, _("--pipe cannot be used on multiple files."));
+     usage (EXIT_FAILURE);
+   }
+
+  if (!outfile && *outfile_mode == 'a')
+    {
+      error (0, 0,
+       _("the --append option is meaningful only when accompanied by "
+         "--outfile"));
+      usage (EXIT_FAILURE);
+    }
+
+  if (!out_filename)
+    outfile = stdout;
+  else
+    {
+      if (!(outfile = fopen(out_filename, outfile_mode)))
+        {
+          error (0, 0, _("Failed to open file for writing: %s"),
+                 out_filename);
+          exit (EXIT_FAILURE);
+        }
+    }
+
+  /* Line buffer stdout to ensure lines are written atomically and immediately
+     so that processes running in parallel do not intersperse their output.  */
+  setvbuf (outfile, NULL, _IOLBF, 0);
+
   if (!O_BINARY && binary < 0)
     binary = 0;
 
@@ -826,12 +917,12 @@ main (int argc, char **argv)
               if (prefix_tag)
                 {
                   if (strchr (file, '\n') || strchr (file, '\\'))
-                    putchar ('\\');
+                    putc ('\\', outfile);
 
-                  fputs (DIGEST_TYPE_STRING, stdout);
-                  fputs (" (", stdout);
+                  fputs (DIGEST_TYPE_STRING, outfile);
+                  fputs (" (", outfile);
                   print_filename (file);
-                  fputs (") = ", stdout);
+                  fputs (") = ", outfile);
                 }
 
               size_t i;
@@ -839,21 +930,21 @@ main (int argc, char **argv)
               /* Output a leading backslash if the file name contains
                  a newline or backslash.  */
               if (!prefix_tag && (strchr (file, '\n') || strchr (file, '\\')))
-                putchar ('\\');
+                putc ('\\', outfile);
 
               for (i = 0; i < (digest_hex_bytes / 2); ++i)
-                printf ("%02x", bin_buffer[i]);
+                fprintf (outfile, "%02x", bin_buffer[i]);
 
               if (!prefix_tag)
                 {
-                  putchar (' ');
+                  putc (' ', outfile);
 
-                  putchar (file_is_binary ? '*' : ' ');
+                  putc (file_is_binary ? '*' : ' ', outfile);
 
                   print_filename (file);
                 }
 
-              putchar ('\n');
+              putc ('\n', outfile);
             }
         }
     }
-- 
1.7.8.6


--------------000805000702020304080600
Content-Type: text/x-patch;
 name="0001-piping-support.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-piping-support.patch"

>From 03009bdf1f8ca5e45f87505173a50f3f85cf6caf Mon Sep 17 00:00:00 2001
From: Daniel Santos <daniel.santos@pobox.com>
Date: Thu, 20 Dec 2012 02:47:58 -0600
Subject: piping support

---
 lib/digest.h |  164 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/md2.c    |   77 ++++------------------------
 lib/md2.h    |    2 +-
 lib/md5.c    |   77 ++++------------------------
 lib/md5.h    |    2 +-
 lib/sha1.c   |   77 ++++------------------------
 lib/sha1.h   |    2 +-
 lib/sha256.c |  151 +++++++----------------------------------------------
 lib/sha256.h |    4 +-
 lib/sha512.c |  151 +++++++----------------------------------------------
 lib/sha512.h |    4 +-
 11 files changed, 239 insertions(+), 472 deletions(-)
 create mode 100644 lib/digest.h

diff --git a/lib/digest.h b/lib/digest.h
new file mode 100644
index 0000000..0983a07
--- /dev/null
+++ b/lib/digest.h
@@ -0,0 +1,164 @@
+/* Functions to compute MD5 message digest of files or memory blocks.
+   according to the definition of MD5 in RFC 1321 from April 1992.
+   Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2012 Free Software
+   Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   This program is free software; you can redistribute it and/or modify it
+   under the terms of the GNU General Public License as published by the
+   Free Software Foundation; either version 2, or (at your option) any
+   later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+
+
+#include <stdlib.h>
+
+#include "full-write.h"
+
+#if BLOCKSIZE % 64 != 0
+# error "invalid BLOCKSIZE"
+#endif
+
+#ifdef __GNUC__
+# define likely(exp)    __builtin_expect((exp), 1)
+# define unlikely(exp)  __builtin_expect((exp), 0)
+
+# if __GNUC__ >= 4
+#  ifndef __always_inline
+#   define __always_inline inline __attribute__((always_inline))
+#  endif
+
+#  if __GNUC_MINOR__ >= 1 && !(__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ == 0)
+#   define __flatten __attribute__((flatten))
+#  endif
+
+# endif
+#endif
+
+#ifndef likely
+# define likely(exp) (exp)
+#endif
+#ifndef unlikely
+# define unlikely(exp) (exp)
+#endif
+#ifndef __always_inline
+# define __always_inline inline
+#endif
+#ifndef __flatten
+# define __flatten
+#endif
+
+typedef void (*digest_init_ctx_fn) (void *ctx);
+typedef void (*digest_process_data_fn) (const void *buffer, size_t len, void *ctx);
+typedef void *(*digest_finish_ctx_fn) (void *ctx, void *resbuf);
+
+struct digest_funcs {
+  const digest_init_ctx_fn     init_ctx;
+  const digest_process_data_fn process_block;
+  const digest_process_data_fn process_bytes;
+  const digest_finish_ctx_fn   finish_ctx;
+};
+
+/* TODO: Add configure value to make smaller code and encapsulate usage of
+ * __flatten and __always_inline */
+
+enum digest_stream_result {
+  DIGEST_STREAM_SUCCESS,
+  DIGEST_STREAM_READ_ERROR,
+  DIGEST_STREAM_WRITE_ERROR
+};
+
+/* Compute message digest for bytes read from STREAM.  The
+   resulting message digest number will be written into the 16 bytes
+   beginning at RESBLOCK.  */
+static __always_inline int
+digest_stream (FILE *instream, FILE *outstream, void *resblock, void *ctx,
+               const struct digest_funcs *funcs)
+{
+  size_t sum;
+
+  /* zero is actually stdin, which we will never write to, but this can
+   * save a register */
+  int outfd = outstream ? fileno(outstream) : 0;
+
+  char *buffer = malloc (BLOCKSIZE + 72);
+  if (!buffer)
+    return 1;
+
+  /* Initialize the computation context.  */
+  funcs->init_ctx (ctx);
+
+  /* Iterate over full file contents.  */
+  while (1)
+    {
+      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
+         computation function processes the whole buffer so that with the
+         next round of the loop another block can be read.  */
+      size_t n;
+      sum = 0;
+
+      /* Read block.  Take care for partial reads.  */
+      while (1)
+        {
+          char *start = buffer + sum;
+          size_t size = BLOCKSIZE - sum;
+
+          n = fread (start, 1, size, instream);
+
+          /* keep writes going smoothly, even if we've chosen a blocksize
+           * that's too large to work well on the arch or I/O devices */
+          if (outfd && n && unlikely(full_write (outfd, start, size) != size))
+            {
+              free (buffer);
+              return DIGEST_STREAM_WRITE_ERROR;
+            }
+
+          sum += n;
+
+          if (sum == BLOCKSIZE)
+            break;
+
+          if (n == 0)
+            {
+              /* Check for the error flag IFF N == 0, so that we don't
+                 exit the loop after a partial read due to e.g., EAGAIN
+                 or EWOULDBLOCK.  */
+              if (unlikely(ferror (instream)))
+                {
+                  free (buffer);
+                  return DIGEST_STREAM_READ_ERROR;
+                }
+              goto process_partial_block;
+            }
+
+          /* We've read at least one byte, so ignore errors.  But always
+             check for EOF, since feof may be true even though N > 0.
+             Otherwise, we could end up calling fread after EOF.  */
+          if (feof (instream))
+            goto process_partial_block;
+        }
+
+      /* Process buffer with BLOCKSIZE bytes.  Note that
+         BLOCKSIZE % 64 == 0
+       */
+      funcs->process_block (buffer, BLOCKSIZE, ctx);
+    }
+
+process_partial_block:
+
+  /* Process any remaining bytes.  */
+  if (sum > 0)
+    funcs->process_bytes (buffer, sum, ctx);
+
+  /* Construct result in desired memory.  */
+  funcs->finish_ctx (ctx, resblock);
+  free (buffer);
+  return 0;
+}
diff --git a/lib/md2.c b/lib/md2.c
index 1d181f9..5f64175 100644
--- a/lib/md2.c
+++ b/lib/md2.c
@@ -34,9 +34,7 @@
 #endif
 
 #define BLOCKSIZE 32768
-#if BLOCKSIZE % 64 != 0
-# error "invalid BLOCKSIZE"
-#endif
+#include "digest.h"
 
 static void md2_update_chksum (struct md2_ctx *md);
 static void md2_compress (struct md2_ctx *md);
@@ -90,74 +88,19 @@ md2_finish_ctx (struct md2_ctx *ctx, void *resbuf)
 /* Compute MD2 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */
-int
-md2_stream (FILE *stream, void *resblock)
+int __flatten
+md2_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct md2_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  md2_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-         BLOCKSIZE % 64 == 0
-       */
-      md2_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
-process_partial_block:;
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    md2_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)      md2_init_ctx;
+    .process_block = (digest_process_block_fn) md2_process_block;
+    .process_bytes = (digest_process_bytes_fn) md2_process_bytes;
+    .finish_ctx;   = (digest_finish_fn)        md2_finish_ctx;
+  };
 
-  /* Construct result in desired memory.  */
-  md2_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &funcs);
 }
 
 /* Compute MD5 message digest for LEN bytes beginning at BUFFER.  The
diff --git a/lib/md2.h b/lib/md2.h
index fd14155..6cb7e8b 100644
--- a/lib/md2.h
+++ b/lib/md2.h
@@ -69,7 +69,7 @@ extern void *md2_read_ctx (const struct md2_ctx *ctx, void *resbuf);
 /* Compute MD2 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */
-extern int md2_stream (FILE *stream, void *resblock);
+extern int md2_stream (FILE *instream, FILE *outstream, void *resblock);
 
 /* Compute MD2 message digest for LEN bytes beginning at BUFFER.  The
    result is always in little endian byte order, so that a byte-wise
diff --git a/lib/md5.c b/lib/md5.c
index 66ede23..ad817e2 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -57,9 +57,7 @@
 #endif
 
 #define BLOCKSIZE 32768
-#if BLOCKSIZE % 64 != 0
-# error "invalid BLOCKSIZE"
-#endif
+#include "digest.h"
 
 /* This array contains the bytes used to pad the buffer to the next
    64-byte boundary.  (RFC 1321, 3.1: Step 1)  */
@@ -132,74 +130,19 @@ md5_finish_ctx (struct md5_ctx *ctx, void *resbuf)
 /* Compute MD5 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */
-int
-md5_stream (FILE *stream, void *resblock)
+int __flatten
+md5_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct md5_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  md5_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-         BLOCKSIZE % 64 == 0
-       */
-      md5_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
-process_partial_block:
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    md5_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)     md5_init_ctx,
+    .process_block = (digest_process_data_fn) md5_process_block,
+    .process_bytes = (digest_process_data_fn) md5_process_bytes,
+    .finish_ctx    = (digest_finish_ctx_fn)   md5_finish_ctx
+  };
 
-  /* Construct result in desired memory.  */
-  md5_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &ctx, &funcs);
 }
 
 /* Compute MD5 message digest for LEN bytes beginning at BUFFER.  The
diff --git a/lib/md5.h b/lib/md5.h
index f571a70..419f922 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -109,7 +109,7 @@ extern void *__md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) __THROW;
 /* Compute MD5 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */
-extern int __md5_stream (FILE *stream, void *resblock) __THROW;
+extern int __md5_stream (FILE *instream, FILE *outstream, void *resblock) __THROW;
 
 /* Compute MD5 message digest for LEN bytes beginning at BUFFER.  The
    result is always in little endian byte order, so that a byte-wise
diff --git a/lib/sha1.c b/lib/sha1.c
index db4ab42..8dcc21d 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -42,9 +42,7 @@
 #endif
 
 #define BLOCKSIZE 32768
-#if BLOCKSIZE % 64 != 0
-# error "invalid BLOCKSIZE"
-#endif
+#include "digest.h"
 
 /* This array contains the bytes used to pad the buffer to the next
    64-byte boundary.  (RFC 1321, 3.1: Step 1)  */
@@ -120,74 +118,19 @@ sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf)
 /* Compute SHA1 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 16 bytes
    beginning at RESBLOCK.  */
-int
-sha1_stream (FILE *stream, void *resblock)
+int __flatten
+sha1_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct sha1_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  sha1_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-                        BLOCKSIZE % 64 == 0
-       */
-      sha1_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
- process_partial_block:;
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    sha1_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)     sha1_init_ctx,
+    .process_block = (digest_process_data_fn) sha1_process_block,
+    .process_bytes = (digest_process_data_fn) sha1_process_bytes,
+    .finish_ctx    = (digest_finish_ctx_fn)   sha1_finish_ctx
+  };
 
-  /* Construct result in desired memory.  */
-  sha1_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &ctx, &funcs);
 }
 
 /* Compute SHA1 message digest for LEN bytes beginning at BUFFER.  The
diff --git a/lib/sha1.h b/lib/sha1.h
index 4e55430..502cd3a 100644
--- a/lib/sha1.h
+++ b/lib/sha1.h
@@ -76,7 +76,7 @@ extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
 /* Compute SHA1 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 20 bytes
    beginning at RESBLOCK.  */
-extern int sha1_stream (FILE *stream, void *resblock);
+extern int sha1_stream (FILE *instream, FILE *outstream, void *resblock);
 
 /* Compute SHA1 message digest for LEN bytes beginning at BUFFER.  The
    result is always in little endian byte order, so that a byte-wise
diff --git a/lib/sha256.c b/lib/sha256.c
index a8d29da..cc1ac3f 100644
--- a/lib/sha256.c
+++ b/lib/sha256.c
@@ -41,9 +41,7 @@
 #endif
 
 #define BLOCKSIZE 32768
-#if BLOCKSIZE % 64 != 0
-# error "invalid BLOCKSIZE"
-#endif
+#include "digest.h"
 
 /* This array contains the bytes used to pad the buffer to the next
    64-byte boundary.  */
@@ -167,145 +165,34 @@ sha224_finish_ctx (struct sha256_ctx *ctx, void *resbuf)
 /* Compute SHA256 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 32 bytes
    beginning at RESBLOCK.  */
-int
-sha256_stream (FILE *stream, void *resblock)
+int __flatten
+sha256_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct sha256_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  sha256_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-                        BLOCKSIZE % 64 == 0
-       */
-      sha256_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
- process_partial_block:;
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    sha256_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)     sha256_init_ctx,
+    .process_block = (digest_process_data_fn) sha256_process_block,
+    .process_bytes = (digest_process_data_fn) sha256_process_bytes,
+    .finish_ctx    = (digest_finish_ctx_fn)   sha256_finish_ctx
+  };
 
-  /* Construct result in desired memory.  */
-  sha256_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &ctx, &funcs);
 }
 
-/* FIXME: Avoid code duplication */
-int
-sha224_stream (FILE *stream, void *resblock)
+int __flatten
+sha224_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct sha256_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  sha224_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-                        BLOCKSIZE % 64 == 0
-       */
-      sha256_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
- process_partial_block:;
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    sha256_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)     sha224_init_ctx,
+    .process_block = (digest_process_data_fn) sha256_process_block,
+    .process_bytes = (digest_process_data_fn) sha256_process_bytes,
+    .finish_ctx    = (digest_finish_ctx_fn)   sha224_finish_ctx
+  };
 
-  /* Construct result in desired memory.  */
-  sha224_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &ctx, &funcs);
 }
 
 /* Compute SHA512 message digest for LEN bytes beginning at BUFFER.  The
diff --git a/lib/sha256.h b/lib/sha256.h
index d69b83f..005cf86 100644
--- a/lib/sha256.h
+++ b/lib/sha256.h
@@ -74,8 +74,8 @@ extern void *sha224_read_ctx (const struct sha256_ctx *ctx, void *resbuf);
 /* Compute SHA256 (SHA224) message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 32 (28) bytes
    beginning at RESBLOCK.  */
-extern int sha256_stream (FILE *stream, void *resblock);
-extern int sha224_stream (FILE *stream, void *resblock);
+extern int sha256_stream (FILE *instream, FILE *outstream, void *resblock);
+extern int sha224_stream (FILE *instream, FILE *outstream, void *resblock);
 
 /* Compute SHA256 (SHA224) message digest for LEN bytes beginning at BUFFER.  The
    result is always in little endian byte order, so that a byte-wise
diff --git a/lib/sha512.c b/lib/sha512.c
index cf62f20..836a600 100644
--- a/lib/sha512.c
+++ b/lib/sha512.c
@@ -48,9 +48,7 @@
 #endif
 
 #define BLOCKSIZE 32768
-#if BLOCKSIZE % 128 != 0
-# error "invalid BLOCKSIZE"
-#endif
+#include "digest.h"
 
 /* This array contains the bytes used to pad the buffer to the next
    128-byte boundary.  */
@@ -175,145 +173,34 @@ sha384_finish_ctx (struct sha512_ctx *ctx, void *resbuf)
 /* Compute SHA512 message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 64 bytes
    beginning at RESBLOCK.  */
-int
-sha512_stream (FILE *stream, void *resblock)
+int __flatten
+sha512_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct sha512_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  sha512_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-                        BLOCKSIZE % 128 == 0
-       */
-      sha512_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
- process_partial_block:;
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    sha512_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)     sha512_init_ctx,
+    .process_block = (digest_process_data_fn) sha512_process_block,
+    .process_bytes = (digest_process_data_fn) sha512_process_bytes,
+    .finish_ctx    = (digest_finish_ctx_fn)   sha512_finish_ctx
+  };
 
-  /* Construct result in desired memory.  */
-  sha512_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &ctx, &funcs);
 }
 
-/* FIXME: Avoid code duplication */
-int
-sha384_stream (FILE *stream, void *resblock)
+int __flatten
+sha384_stream (FILE *instream, FILE *outstream, void *resblock)
 {
   struct sha512_ctx ctx;
-  size_t sum;
-
-  char *buffer = malloc (BLOCKSIZE + 72);
-  if (!buffer)
-    return 1;
-
-  /* Initialize the computation context.  */
-  sha384_init_ctx (&ctx);
-
-  /* Iterate over full file contents.  */
-  while (1)
-    {
-      /* We read the file in blocks of BLOCKSIZE bytes.  One call of the
-         computation function processes the whole buffer so that with the
-         next round of the loop another block can be read.  */
-      size_t n;
-      sum = 0;
-
-      /* Read block.  Take care for partial reads.  */
-      while (1)
-        {
-          n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
-
-          sum += n;
-
-          if (sum == BLOCKSIZE)
-            break;
-
-          if (n == 0)
-            {
-              /* Check for the error flag IFF N == 0, so that we don't
-                 exit the loop after a partial read due to e.g., EAGAIN
-                 or EWOULDBLOCK.  */
-              if (ferror (stream))
-                {
-                  free (buffer);
-                  return 1;
-                }
-              goto process_partial_block;
-            }
-
-          /* We've read at least one byte, so ignore errors.  But always
-             check for EOF, since feof may be true even though N > 0.
-             Otherwise, we could end up calling fread after EOF.  */
-          if (feof (stream))
-            goto process_partial_block;
-        }
-
-      /* Process buffer with BLOCKSIZE bytes.  Note that
-                        BLOCKSIZE % 128 == 0
-       */
-      sha512_process_block (buffer, BLOCKSIZE, &ctx);
-    }
-
- process_partial_block:;
 
-  /* Process any remaining bytes.  */
-  if (sum > 0)
-    sha512_process_bytes (buffer, sum, &ctx);
+  struct digest_funcs funcs = {
+    .init_ctx      = (digest_init_ctx_fn)     sha384_init_ctx,
+    .process_block = (digest_process_data_fn) sha512_process_block,
+    .process_bytes = (digest_process_data_fn) sha512_process_bytes,
+    .finish_ctx    = (digest_finish_ctx_fn)   sha384_finish_ctx
+  };
 
-  /* Construct result in desired memory.  */
-  sha384_finish_ctx (&ctx, resblock);
-  free (buffer);
-  return 0;
+  return digest_stream(instream, outstream, resblock, &ctx, &funcs);
 }
 
 /* Compute SHA512 message digest for LEN bytes beginning at BUFFER.  The
diff --git a/lib/sha512.h b/lib/sha512.h
index ddf91d6..d1fb835 100644
--- a/lib/sha512.h
+++ b/lib/sha512.h
@@ -78,8 +78,8 @@ extern void *sha384_read_ctx (const struct sha512_ctx *ctx, void *resbuf);
 /* Compute SHA512 (SHA384) message digest for bytes read from STREAM.  The
    resulting message digest number will be written into the 64 (48) bytes
    beginning at RESBLOCK.  */
-extern int sha512_stream (FILE *stream, void *resblock);
-extern int sha384_stream (FILE *stream, void *resblock);
+extern int sha512_stream (FILE *instream, FILE *outstream, void *resblock);
+extern int sha384_stream (FILE *instream, FILE *outstream, void *resblock);
 
 /* Compute SHA512 (SHA384) message digest for LEN bytes beginning at BUFFER.  The
    result is always in little endian byte order, so that a byte-wise
-- 
1.7.8.6


--------------000805000702020304080600--


From MAILER-DAEMON Thu Dec 20 17:50:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlowK-0003eb-Hh
	for mharc-coreutils@gnu.org; Thu, 20 Dec 2012 17:50:08 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47818)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TlowF-0003aX-DQ
	for coreutils@gnu.org; Thu, 20 Dec 2012 17:50:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Tlow8-0001Hs-SH
	for coreutils@gnu.org; Thu, 20 Dec 2012 17:50:02 -0500
Received: from mx1.redhat.com ([209.132.183.28]:1895)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Tlow8-0001Ho-K8
	for coreutils@gnu.org; Thu, 20 Dec 2012 17:49:56 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBKMnpNN005971
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 20 Dec 2012 17:49:51 -0500
Received: from [10.3.113.134] (ovpn-113-134.phx2.redhat.com [10.3.113.134])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBKMnoL1031465; Thu, 20 Dec 2012 17:49:50 -0500
Message-ID: <50D3960E.9020603@redhat.com>
Date: Thu, 20 Dec 2012 15:49:50 -0700
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Daniel Santos <daniel.santos@pobox.com>
Subject: Re: bug#13243: [PATCH] enhancement: modify md5sum to allow piping
References: <50D38CA2.3030207@att.net>
In-Reply-To: <50D38CA2.3030207@att.net>
X-Enigmail-Version: 1.4.6
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig9BC4AD8A0F108733FAE0D2D4"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Daniel Santos <danielfsantos@att.net>, 13243-done@debbugs.gnu.org,
	coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Dec 2012 22:50:06 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9BC4AD8A0F108733FAE0D2D4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

tag 13243 notabug
thanks

On 12/20/2012 03:09 PM, Daniel Santos wrote:
> There are many times, usually when doing system backups, maintenance,
> recovery, etc., that I would like to pipe large files through md5sum to=

> produce or verify a hash so that I do not have to read the file multipl=
e
> times.  This is especially the case when backing up a system from a
> livecd across the network
>=20
> dd if=3D/dev/sda3 | pbzip2 -c2 | netcat 192.168.1.123 45678
> or
> tar c /mnt/sda3 | pbzip2 -c2 | netcat 192.168.1.123 45678
>=20
> Attached is a preliminary patch set that will allow for this as in the
> following example
>=20
> dd if=3D/dev/sda3 | pbzip2 -c2 | md5sum -po /tmp/sda3.dat.bzip2.md5 |
> netcat 192.168.1.123 45678

Thanks for the report, and even for the attempted patch.  However, I'm
reluctant to even read through the patch, as I think that you can
already do what you want with existing tools.  In particular, 'info
coreutils tee' mentions:

>    The `tee' command is useful when you happen to be transferring a
> large amount of data and also want to summarize that data without
> reading it a second time.  For example, when you are downloading a DVD
> image, you often want to verify its signature or checksum right away.
> The inefficient way to do it is simply:
>=20
>      wget http://example.com/some.iso && sha1sum some.iso
>=20
>    One problem with the above is that it makes you wait for the
> download to complete before starting the time-consuming SHA1
> computation.  Perhaps even more importantly, the above requires reading=

> the DVD image a second time (the first was from the network).
>=20
>    The efficient way to do it is to interleave the download and SHA1
> computation.  Then, you'll get the checksum for free, because the
> entire process parallelizes so well:
>=20
>      # slightly contrived, to demonstrate process substitution
>      wget -O - http://example.com/dvd.iso \
>        | tee >(sha1sum > dvd.sha1) > dvd.iso

In your case, you can do:

dd if=3D/dev/sda3 | pbzip2 -c2 | tee >(md5sum > /tmp/sda3.dat.bzip2.md5) =
|
 netcat 192.168.1.123 45678

Besides, isn't it nicer to use something that already works than to
worry about a preliminary patch still needing lots of work to come up to
coding standards, not to mention copyright assignment paperwork?

As such, I'm going to close the bug report so that we don't spin our
wheels re-implementing something that already works.  But you should
still feel welcome to contribute, and even add further comments to this
thread as appropriate (we can always reopen this bug if there is
convincing reason that I missed something in my decision to close it).

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enig9BC4AD8A0F108733FAE0D2D4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBCAAGBQJQ05YOAAoJEKeha0olJ0NqXhkH/1HgmzzGUDXTgekKZYwD/jNU
JE0qkB4GmpXTe8+jEst9sOu+Qnjb3YIlbvaWyomA43AOB4a68t7iTgSa5k3fUh4l
+e93oM+GYYZg/R9drx8o1dBKYfuqBRPUS45TzoLI8gKRsVVIMtbSmS4Z+do9qFKN
WQmametgWdJdcKuARfQtFaFxumomo1rtPJZN8Uq+WPAjbYMCdrJb7wVIoGxJPcdi
m2hof8MftjTDtQnvBbpvUhPqvI/PgrEFIlUW9NYdrkwrQdIKE8mWQlqJpapfEunK
6fUN3d16ckaufdalWduKvn/t629nqG9Yd/Uz9ArHlKYKCoVkSSgiGQnwPMMG7ZA=
=ar4j
-----END PGP SIGNATURE-----

--------------enig9BC4AD8A0F108733FAE0D2D4--


From MAILER-DAEMON Fri Dec 21 12:42:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tm6cP-0003P9-3f
	for mharc-coreutils@gnu.org; Fri, 21 Dec 2012 12:42:45 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49510)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tm6cL-0003Mu-Gq
	for coreutils@gnu.org; Fri, 21 Dec 2012 12:42:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tm6cF-00019i-Gh
	for coreutils@gnu.org; Fri, 21 Dec 2012 12:42:41 -0500
Received: from mx1.redhat.com ([209.132.183.28]:40856)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Tm6cF-00019e-8u
	for coreutils@gnu.org; Fri, 21 Dec 2012 12:42:35 -0500
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBLHgWN5003780
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 21 Dec 2012 12:42:32 -0500
Received: from [10.36.116.57] (ovpn-116-57.ams2.redhat.com [10.36.116.57])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBLHgTDF011082
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 21 Dec 2012 12:42:31 -0500
Message-ID: <50D49F85.20300@draigBrady.com>
Date: Fri, 21 Dec 2012 17:42:29 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
In-Reply-To: <50CAE913.6090905@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBLHgWN5003780
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 17:42:44 -0000

On 12/14/2012 08:53 AM, P=E1draig Brady wrote:
> On 12/14/2012 05:38 AM, Assaf Gordon wrote:
>> Hello,
>>
>> Attached is a slightly improved patch - minor code changes, and many m=
ore tests.
>> Line coverage is 98%, and branch coverage is now >93% , and most of th=
e non-covered branches are simply unreachable (I'm checking the reachable=
 ones).
>>
>> The comments below still apply.

It's looking like a really useful cohesive command.

I verified all the new tests pass and
syntax check is fine too.
Your attention to detail is _much_ appreciated.

I'll note here some _future_ TODO items, which
don't need to be added for the initial version:
   1. Parse numbers containing grouping separators.
   2. Have --fields support multiple values.

I did some basic perf testing and verified no leaks with:
$ yes "1 2" | pv > /dev/null
^C09MB 0:00:03 [ 102MB/s] [       <=3D>                                  =
                   ]
$ yes "1 2" | (ulimit -v 20000; src/numfmt --field 2 --to=3Diec --from=3D=
auto) | pv > /dev/null
^C.9MB 0:00:11 [6.32MB/s] [                           <=3D>              =
                   ]
$ yes "1 2" | head -n10 | valgrind src/numfmt --field 2 --to=3Diec --from=
=3Dauto 2>&1 | grep leaks
=3D=3D23446=3D=3D All heap blocks were freed -- no leaks are possible

I notice the "UNIT options:" seciont is mis-formatted by help2man.

I notice use of fprintf (stderr, ...) where error (0, 0, ...) should be u=
sed.

indent -nut src/numfmt.c makes lots of changes, most valid.


So on to some usage...

This shows auto padding works, with before and after displayed through te=
e.

$ df | head -n3 | tee >(src/numfmt --header --field=3D2 --to=3Diec)
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                13102208  12544324    424816  97% /
udev                   1454732         0   1454732   0% /dev
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                     13M  12544324    424816  97% /
udev                      1.4M         0   1454732   0% /dev

This shows padding increases the field width as required in edge cases:

$ src/df /home | tee >(src/numfmt --header --field=3D2 --from-unit=3D1024=
 --to-unit=3D1 --group)
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sdb1      100791728 71565732  24105996  75% /home
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sdb1 103,210,729,472 71565732  24105996  75% /home

I notice the unit on both --to=3Diec and --to=3Dsi is the same.
I was thinking that --to=3Diec would add a 'i' to distinguish?

$ /bin/ls -l | head -n4 | src/numfmt --to=3Diec --field=3D5
total 7252
-rw-rw-r--.  1 padraig padraig     92K Aug 23  2011 ABOUT-NLS
-rw-rw-r--.  1 padraig padraig     49K Dec 21 16:22 aclocal.m4
-rw-rw-r--.  1 padraig padraig    3.6K Dec 21 16:15 AUTHORS

I notice we exit immediately with invalid numbers.
How about printing the warning, outputting the unparsable number as is
and continuing?

$ printf "%s\n" 1 one 2 | src/numfmt
1
src/numfmt: invalid number: 'one'


As suggested missing fields are ignored now...

$ echo -ne "1\n2 2\n" | src/numfmt --field=3D2
1
2 2

...and we get warnings with --debug. However they mix awkwardly with
the output. Perhaps delay the warning until line causing the warning is d=
isplayed.

$ echo -ne "1\n2 2\n" | src/numfmt --field=3D2 --debug
src/numfmt: no conversion option specified
1src/numfmt: input line is too short, no numbers found to convert in fiel=
d 2

2 2

--devdebug should probably renamed to ---devdebug

I'm starting to think the original idea of having a --format option
would be more a more concise, well known and extendible interface
rather than having --padding, --grouping, --base, ...
It wouldn't have to be passed directly to printf, and could
be parsed and preprocessed something like we do in seq(1).

thanks!
P=E1draig.


From MAILER-DAEMON Fri Dec 21 19:51:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TmDJ8-00078I-4i
	for mharc-coreutils@gnu.org; Fri, 21 Dec 2012 19:51:18 -0500
Received: from eggs.gnu.org ([208.118.235.92]:57469)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TmDJ5-000752-4c
	for coreutils@gnu.org; Fri, 21 Dec 2012 19:51:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TmDJ3-0002Tc-49
	for coreutils@gnu.org; Fri, 21 Dec 2012 19:51:15 -0500
Received: from mail-vb0-f51.google.com ([209.85.212.51]:60643)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TmDJ2-0002Ss-Re
	for coreutils@gnu.org; Fri, 21 Dec 2012 19:51:13 -0500
Received: by mail-vb0-f51.google.com with SMTP id fq11so5709524vbb.38
	for <coreutils@gnu.org>; Fri, 21 Dec 2012 16:51:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:user-agent:mime-version:to:cc
	:subject:references:in-reply-to:content-type;
	bh=IIx+GrC5xaJXgp1PXICWSI6VuDPF+OX3zcFmy8DquRs=;
	b=vx+StRrUHwYIZYhPcSh8ho/A5drsq5rQ6mJ8swBKoTCwiz/FdTRwSZ7nI/2wlN2jF0
	I67VYqWcIUOb74umPbLlta967N9okXyZmvbDxhHQHayVP7VE5OJlbNOvuOrc9mA/6i8+
	xwGJ0tOX/3umzbA+IIITqOKNOSg8+L6/LVnmK6YgLUhKgrtRayX0tvDi2e1tzjpO+XGW
	6fvDnj5Sj+r+lzfFmzVEw/tzx3DT/Ns1CC9M41V11OEknfE32ZInG1pXkF5un/j9Hl5c
	8dNMGfjwyJ7T5tq1MHVoBFgvSznrsNcGUx+FAEP0RaTQrfWm3AaZgVIt4ZR5od4Muvy8
	Nqwg==
X-Received: by 10.58.85.134 with SMTP id h6mr23430993vez.18.1356137471678;
	Fri, 21 Dec 2012 16:51:11 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id z20sm11057351vds.12.2012.12.21.16.51.10
	(version=TLSv1/SSLv3 cipher=OTHER);
	Fri, 21 Dec 2012 16:51:10 -0800 (PST)
Message-ID: <50D503FD.3000406@gmail.com>
Date: Fri, 21 Dec 2012 19:51:09 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com> <50D49F85.20300@draigBrady.com>
In-Reply-To: <50D49F85.20300@draigBrady.com>
Content-Type: multipart/mixed; boundary="------------010304050404000801050805"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.51
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Dec 2012 00:51:16 -0000

This is a multi-part message in MIME format.
--------------010304050404000801050805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello P=E1draig,

Thanks for the review and the feedback.

P=E1draig Brady wrote, On 12/21/2012 12:42 PM:
>=20
> It's looking like a really useful cohesive command.
>=20

The attached patch addresses the following issues:

1. changed the "---devdebug" option
2. incorporated most of 'indent -nut' recommendations.=20
3. improved the usage string, to generate somewhat better man page.
  (help2man is a bit finicky about formatting, so it's not optimal).=20

4. "i" suffix with "iec" input/output:

I understand the reason for always adding "i", as it is The Right Thing t=
o do.
But I think some (most?) people still treat single-letter suffix (K/M/G/T=
/etc.) as a valid suffix for both SI and IEC, and deduce the scale from t=
he context of whatever they're working on. Forcing them to use "Ki" might=
 be too obtrusive.
It could also mess-up automated scripted, when IEC scale is needed, but o=
nly with single-letter suffix (and there are many programs like that).

As a compromise, I've added yet another scale option: "ieci" .
When used with "--from=3Dieci", a two-letter suffix is required.
When used with "--to=3Dieci", "i" will always be appended.

Examples:
=3D=3D=3D=3D
$ ./src/numfmt --to=3Diec 4096
4.0K
$ ./src/numfmt --to=3Dieci 4096
4.0Ki
$ ./src/numfmt --from=3Diec 4K
4096
$ ./src/numfmt --from=3Dieci 4Ki
4096
$ ./src/numfmt --from=3Dauto 4Ki
4096
$ ./src/numfmt --from=3Dauto 4K
4000

# 'ieci' requires the 'i':
$ ./src/numfmt --from=3Dieci 4K=20
=2E/src/numfmt: missing 'i' suffix in input: '4K' (e.g Ki/Mi/Gi)

# 'iec' does not accept 'i':
$ ./src/numfmt --from=3Diec 4Ki
=2E/src/numfmt: invalid suffix in input '4Ki': 'i'
=3D=3D=3D=3D

I hope this cover all the options, while maintaining consistent and expec=
ted behavior.
(Optionally, we can change "iec" to behave like "ieci", and rename "ieci"=
 to something else).


I will send "--format" and error message updates soon.

Regards,
 -gordon

--------------010304050404000801050805
Content-Type: application/x-xz;
 name="numfmt.9.patch.xz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt.9.patch.xz"

/Td6WFoAAATm1rRGAgAh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n/6x6wm/RM9FtRNMlc7yBPcXnQwPHQKe+WYNrnkSRh9wuWUoMVcrauFORStbF7Wv0
nstlqkIQcncF8SZb7PaPAw/jMNshd5IEfyCQkRGEkNzX4XfwsJ7PQaCCuyIoqRo09ewkYDKd
NXAcInluTfeq3iy2NYR/d93XmQiqt42Z01v/5pBSK2NuoJ7VS0aOjipXBTMTJOp1RcJRPNzu
aEbn3/KQraykBxBNEF4u9Ngw/Ssnqju4HPtAT49D+SNbGNGprHBA2739rkO3l/pWr4gjdBNU
RU1WGwRnR3iIDZr2vr+ILmqGYPMb3s/QUftm8Apf9pYkmd5jX2/0Co/vqRAO4ncbaHbOZ7p5
HplaymtXdv9KRzvaWveV/Cy/xohnYUYZFUTarjbf28fjki5nBSJs+NB0pPzk54whXGHVsf3l
VBKiIplLAQbpqeiP4ApbJ9d7fOzo9UGmZaRSA0QMOeVpPWpIUw/r9Kkb1NwDSGfBy55qEsrH
JF9TxCa8Wdgbm46WMH95Ci8JVZQcZ3fK10B+iVwaL6eTuC8j6LqjB/qGnyFTzyPgMaxJQH10
5i3BLOS3XNulBhtoDA40b2EaAAAAABu4KjnfHkjhAAHC4wGB2gwBoSvascRn+wIAAAAABFla

--------------010304050404000801050805--


From MAILER-DAEMON Fri Dec 21 21:07:23 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TmEUl-0007VS-Cq
	for mharc-coreutils@gnu.org; Fri, 21 Dec 2012 21:07:23 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36251)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TmEUi-0007TQ-77
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:07:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TmEUg-00045x-HG
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:07:20 -0500
Received: from mx1.redhat.com ([209.132.183.28]:10242)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TmEUg-00045s-9H
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:07:18 -0500
Received: from int-mx11.intmail.prod.int.phx2.redhat.com
	(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBM27G2O026489
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 21 Dec 2012 21:07:16 -0500
Received: from [10.36.116.57] (ovpn-116-57.ams2.redhat.com [10.36.116.57])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBM27Do7021897
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 21 Dec 2012 21:07:15 -0500
Message-ID: <50D515D1.8090000@draigBrady.com>
Date: Sat, 22 Dec 2012 02:07:13 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
	<50D49F85.20300@draigBrady.com> <50D503FD.3000406@gmail.com>
In-Reply-To: <50D503FD.3000406@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBM27G2O026489
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Dec 2012 02:07:22 -0000

On 12/22/2012 12:51 AM, Assaf Gordon wrote:
> Hello P=E1draig,
>
> Thanks for the review and the feedback.
>
> P=E1draig Brady wrote, On 12/21/2012 12:42 PM:
>>
>> It's looking like a really useful cohesive command.
>>
>
> The attached patch addresses the following issues:
>
> 1. changed the "---devdebug" option
> 2. incorporated most of 'indent -nut' recommendations.
> 3. improved the usage string, to generate somewhat better man page.
>    (help2man is a bit finicky about formatting, so it's not optimal).

Yes it's awkward to work around the help2man constraints.

> 4. "i" suffix with "iec" input/output:
>
> I understand the reason for always adding "i", as it is The Right Thing=
 to do.
> But I think some (most?) people still treat single-letter suffix (K/M/G=
/T/etc.) as a valid suffix for both SI and IEC, and deduce the scale from=
 the context of whatever they're working on. Forcing them to use "Ki" mig=
ht be too obtrusive.
> It could also mess-up automated scripted, when IEC scale is needed, but=
 only with single-letter suffix (and there are many programs like that).
>
> As a compromise, I've added yet another scale option: "ieci" .
> When used with "--from=3Dieci", a two-letter suffix is required.
> When used with "--to=3Dieci", "i" will always be appended.
>
> Examples:
> =3D=3D=3D=3D
> $ ./src/numfmt --to=3Diec 4096
> 4.0K
> $ ./src/numfmt --to=3Dieci 4096
> 4.0Ki
> $ ./src/numfmt --from=3Diec 4K
> 4096
> $ ./src/numfmt --from=3Dieci 4Ki
> 4096
> $ ./src/numfmt --from=3Dauto 4Ki
> 4096
> $ ./src/numfmt --from=3Dauto 4K
> 4000
>
> # 'ieci' requires the 'i':
> $ ./src/numfmt --from=3Dieci 4K
> ./src/numfmt: missing 'i' suffix in input: '4K' (e.g Ki/Mi/Gi)
>
> # 'iec' does not accept 'i':
> $ ./src/numfmt --from=3Diec 4Ki
> ./src/numfmt: invalid suffix in input '4Ki': 'i'
> =3D=3D=3D=3D
>
> I hope this cover all the options, while maintaining consistent and exp=
ected behavior.
> (Optionally, we can change "iec" to behave like "ieci", and rename "iec=
i" to something else).

I like the 'ieci' compromise.
Also because it has two 'i's in it, there will be
less confusion as to which is which between 'si' and 'ieci'.
I suppose an alternative to 'ieci' is 'ibi', but I slightly
prefer your 'ieci'.

> I will send "--format" and error message updates soon.

thanks!
P=E1draig.


From MAILER-DAEMON Fri Dec 21 21:09:37 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TmEWv-0007cT-N9
	for mharc-coreutils@gnu.org; Fri, 21 Dec 2012 21:09:37 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36429)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TmEWo-0007cH-1W
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:09:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TmEWl-0004P8-A0
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:09:29 -0500
Received: from mx1.redhat.com ([209.132.183.28]:23348)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1TmEWl-0004Md-2J
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:09:27 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBM29NWr024128
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 21 Dec 2012 21:09:23 -0500
Received: from [10.3.113.134] (ovpn-113-134.phx2.redhat.com [10.3.113.134])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBM29MgG028004; Fri, 21 Dec 2012 21:09:23 -0500
Message-ID: <50D51652.8080303@redhat.com>
Date: Fri, 21 Dec 2012 19:09:22 -0700
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat, Inc.
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
	<50D49F85.20300@draigBrady.com> <50D503FD.3000406@gmail.com>
	<50D515D1.8090000@draigBrady.com>
In-Reply-To: <50D515D1.8090000@draigBrady.com>
X-Enigmail-Version: 1.4.6
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigDF6B9241A0FFC0B78C1A1AF0"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Dec 2012 02:09:36 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDF6B9241A0FFC0B78C1A1AF0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/21/2012 07:07 PM, P=C3=A1draig Brady wrote:
>>
>> As a compromise, I've added yet another scale option: "ieci" .
>> When used with "--from=3Dieci", a two-letter suffix is required.
>> When used with "--to=3Dieci", "i" will always be appended.

That's a little hard to read.  Would --from=3Diec-i be any easier, where
we are separating the IEC acronym from the output of 'i'?

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enigDF6B9241A0FFC0B78C1A1AF0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBCAAGBQJQ1RZSAAoJEKeha0olJ0Nq35IH/0Hn+fXNb9rECeauwpdHIcv1
/WF5hn1PFwQ92N3ziUpHDJxJ4SJDvu3wYtpyVJ7OCAAK0U1f1jXl/T8jNinGN7h8
vsG8UzpIcrvCg3WqhTImw0wshwEsSddmc3Z9xRU9fpvzKoyB0pO4ce3sjKE9a+Eq
zxwcU5Ecb3jZFgUs4dRPj1yPEEDIwWKiDCMHQgkppxw7UeyiqAU5bCXZ2b6zpEYz
cA7+P8y/HCVKplY28kC/IcLXmhYfeh8W9HzxgsnHNzJ4AbpPw4Jg1d2zZ8v7f4bm
YK0kCuNRww8Nd+osR9oAY5F0l0BQGZc8zKqHWjr9EdcM2jEuAJXUKKYcq151lUc=
=YiAV
-----END PGP SIGNATURE-----

--------------enigDF6B9241A0FFC0B78C1A1AF0--


From MAILER-DAEMON Fri Dec 21 21:17:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TmEeG-0002f5-4r
	for mharc-coreutils@gnu.org; Fri, 21 Dec 2012 21:17:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37324)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TmEe9-0002J5-Ks
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:17:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TmEe7-0006Lk-NA
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:17:05 -0500
Received: from mx1.redhat.com ([209.132.183.28]:58016)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TmEe7-0006Ld-F6
	for coreutils@gnu.org; Fri, 21 Dec 2012 21:17:03 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBM2H2Fw027949
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 21 Dec 2012 21:17:02 -0500
Received: from [10.36.116.57] (ovpn-116-57.ams2.redhat.com [10.36.116.57])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBM2GxBP023147
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 21 Dec 2012 21:17:01 -0500
Message-ID: <50D5181B.9090009@draigBrady.com>
Date: Sat, 22 Dec 2012 02:16:59 +0000
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
	<50D49F85.20300@draigBrady.com> <50D503FD.3000406@gmail.com>
	<50D515D1.8090000@draigBrady.com> <50D51652.8080303@redhat.com>
In-Reply-To: <50D51652.8080303@redhat.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBM2H2Fw027949
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Assaf Gordon <assafgordon@gmail.com>, Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Dec 2012 02:17:10 -0000

On 12/22/2012 02:09 AM, Eric Blake wrote:
> On 12/21/2012 07:07 PM, P=C3=A1draig Brady wrote:
>>>
>>> As a compromise, I've added yet another scale option: "ieci" .
>>> When used with "--from=3Dieci", a two-letter suffix is required.
>>> When used with "--to=3Dieci", "i" will always be appended.
>
> That's a little hard to read.  Would --from=3Diec-i be any easier, wher=
e
> we are separating the IEC acronym from the output of 'i'?

Yes that's slightly better.

thanks,
P=C3=A1draig.


From MAILER-DAEMON Wed Dec 26 10:28:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TnsuO-00080U-97
	for mharc-coreutils@gnu.org; Wed, 26 Dec 2012 10:28:40 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39186)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TnsuL-0007yu-1o
	for coreutils@gnu.org; Wed, 26 Dec 2012 10:28:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TnsuJ-0003Er-Re
	for coreutils@gnu.org; Wed, 26 Dec 2012 10:28:36 -0500
Received: from mail-vb0-f44.google.com ([209.85.212.44]:51574)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TnsuJ-0003Em-NI
	for coreutils@gnu.org; Wed, 26 Dec 2012 10:28:35 -0500
Received: by mail-vb0-f44.google.com with SMTP id fc26so8879871vbb.17
	for <coreutils@gnu.org>; Wed, 26 Dec 2012 07:28:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:user-agent:mime-version:to:cc
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=1J9BRAHy5e9uVvcVWQidKIMLqwxRojHez+/hB+NsVjM=;
	b=vhesV1SG1etbBSV70f3H6jT2ORdsG5ybNFg/zJpyARgP5OdwOfiv1ClX5xHqREbc0K
	ZuUPrgky09A1KTE3DYPwRxGhRHc6upaVG/d2e+NHtofk8riokSXFpP8OKOx4d7yTG/qm
	xwFpgobLWC/N42v0oXeNoXJMyVcgMMRw0n4DXuRCEXRvCgoQ6oaQYBev2+7KZN1/9/Uc
	hx4VU2yS3MzujTAnpWhx94ads2tuYeAUWqp5wW8mrIiguJlq2SCKaUSl3p9m8S44ptEH
	cfMB1sSkO6gUn0RqWKPIo7PLIgiQXcRmPNtxaPVoBWOhBJaCpdzv6nV/xq1iPGFjf/ol
	UV4Q==
X-Received: by 10.52.70.13 with SMTP id i13mr21286662vdu.80.1356535715015;
	Wed, 26 Dec 2012 07:28:35 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id dx4sm23841552vdb.16.2012.12.26.07.28.34
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 26 Dec 2012 07:28:34 -0800 (PST)
Message-ID: <50DB17A1.2020903@gmail.com>
Date: Wed, 26 Dec 2012 10:28:33 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com> <50D49F85.20300@draigBrady.com>
In-Reply-To: <50D49F85.20300@draigBrady.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.212.44
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 15:28:38 -0000

Hello,=20

P=E1draig Brady wrote, On 12/21/2012 12:42 PM:
>=20
> I'm starting to think the original idea of having a --format option
> would be more a more concise, well known and extendible interface
> rather than having --padding, --grouping, --base, ...
> It wouldn't have to be passed directly to printf, and could
> be parsed and preprocessed something like we do in seq(1).
>=20

Regarding 'format' option, there are some intricacies that are worth disc=
ussing:

1. Depending on the requested conversion, the output can be a string (e.g=
=2E "1.4Ki") or a long double (e.g. 1400000).

2. Internally, the program uses long doubles - so the real format is "%Lf=
" - regardless of what the user will give (e.g. "%f").

3. printf accepts all sorts of options, some of which aren't relevant to =
numfmt, or only relevant when printing non-humanized values.
e.g.:
    $ LC_ALL=3Den_US.utf8 seq -f "%0'14.5f" 1000 1001
    0001,000.00000
    0001,001.00000

4. The assumption was that humanized numbers are always maximum 4 charact=
ers in SI/IEC (e.g. "1024" or "4.5M") or 5 characters with "iec-i" (e.g. =
"999Ti").
With the new 'format', if given "%'2.9f" - should the output be still 4 c=
haracters (e.g. "4.5T"), or respect the ".9" format (e.g. "4.500000000T")=
 ? and does the suffix character counts in the "2.9" format ?


My preference is to keep things simple, and accept just a limited subset =
of the "format" syntax:
1. grouping (the ' character)
2. padding (the number after '%' and before the 'f'
3. alignment (optional '-' after '%')
4. Any prefix/suffix before/after the '%' option.
5. Accept just "%f", but internally treat it as '%s' or '%Lf', depending =
on the output.

All other options will be silently ignored, or trigger errors.

Example:
    $ numfmt --format "xx%20fxx" --to=3Dsi 5000
    [[ internally, treats as "--padding 20" ]]
    xx                5.0Kxx

    $ numfmt --format "xx%'-10fxx" 5000
    [[ internally, treats as "--padding -10 --grouping" ]]
    xx5,000     xx

    $ numfmt --format "xx%0#'+010llfxx" 5000
    [[ reject as 'too complicated' / unsupported printf options ]]


WDYT?

-gordon




From MAILER-DAEMON Wed Dec 26 16:18:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TnyNG-0002kd-J8
	for mharc-coreutils@gnu.org; Wed, 26 Dec 2012 16:18:50 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49719)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <aaron.davies@gmail.com>) id 1TnyND-0002iG-Fx
	for coreutils@gnu.org; Wed, 26 Dec 2012 16:18:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <aaron.davies@gmail.com>) id 1TnyN8-0007UK-TG
	for coreutils@gnu.org; Wed, 26 Dec 2012 16:18:47 -0500
Received: from mail-vc0-f169.google.com ([209.85.220.169]:62016)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <aaron.davies@gmail.com>) id 1TnyN8-0007UC-O7
	for coreutils@gnu.org; Wed, 26 Dec 2012 16:18:42 -0500
Received: by mail-vc0-f169.google.com with SMTP id gb23so9311896vcb.28
	for <coreutils@gnu.org>; Wed, 26 Dec 2012 13:18:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:from:content-type:content-transfer-encoding:subject:date
	:message-id:to:mime-version:x-mailer;
	bh=l1StbLl1XiVvoc/H23yNoWS7LMX2nMUWSsx9weCyH1s=;
	b=00xVToVU6bjVKe5xaRoqO26qzPSugsjAMx7o4ZBclWBggyY9xzA+vWBc03edrFBYHS
	8N1sL222mz6U2Vt381zLEgf5kuhc7MHp/lZ0sQCWP2rc18NsMsBPf4/mgao225kQAz3Y
	3+JRF//MmTRa6UmPjGz1IxhhIWwUi/tAbaGE5hQfCGUUQocFf/L0CRB2p4KHnni1vPFM
	pc3eP5/79PIY8b6r4PV1LrjlxX3YjS9CIo4yxd1AKlhFDz2XXUAi6XIfLTsWOJ40XPzF
	PRn35BQxQE8BprKEDwQvKHIwIWdjmbc6j7T/grdOxV+pUoCwbIvlL+w+SPBAPXlrDKKA
	1BQQ==
X-Received: by 10.220.149.69 with SMTP id s5mr43778486vcv.23.1356556721199;
	Wed, 26 Dec 2012 13:18:41 -0800 (PST)
Received: from [192.168.2.103] (pool-71-127-228-196.nwrknj.east.verizon.net.
	[71.127.228.196])
	by mx.google.com with ESMTPS id sk8sm24657810vdb.13.2012.12.26.13.18.38
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 26 Dec 2012 13:18:39 -0800 (PST)
From: Aaron Davies <aaron.davies@gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: standard for stdin / args handling?
Date: Wed, 26 Dec 2012 16:18:36 -0500
Message-Id: <C19E7CEA-B2F6-48BB-AD79-B89EAF24FC06@gmail.com>
To: coreutils@gnu.org
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.169
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 21:18:48 -0000

afaict from my general *nx experience, the basic rule for text-handling =
utilities (filters, etc.) is as follows: first, no argument(s) means =
stdin is used; second, argument(s) means stdin is ignored, unless "-" is =
present as an argument, in which case stdin is used in the position in =
the sequence where the first "-" occurs (later "-"s have no effect, =
presumably due to the way pipes behave); finally, if no arguments and =
not receiving a pipe and in some sort of interactive context (stdin is a =
tty?), stdin is accepted from the terminal (and handled line-by-line =
(rev(1)) or at end-of-file (tac(1)), as appropriate).

cat(1) is the canonical example.

my questions are: have i described the behavior correctly, and is there =
anything (in any context--C, shell, etc.) to make creating new tools =
which follow these rules easier?

for instance, in a small filter i recently wrote in C (which only =
accepts a single file (or stdin)), i have this (simplified):

   FILE *f;
   argp_parse(&argp,argc,argv,0,NULL,&arguments);
   // read arg or stdin
   if(!strcmp(arguments.arg,"-"))
       f=3Dstdin;
   else
       if(!(f=3Dfopen(arguments.arg,"r")))
           error(1,errno,"%s",arguments.arg);

and in a (ksh) shell filter, this:

   (($#)) && files=3D("$@") || files=3D(-)
   integer n=3D${#files[*]} i=3D0
   for ((i=3D0;i<n;i++))
   do
       file=3D${files[$i]}
       sed -rn "/$pattern/,$ p" "$file"
   done

note that here, i'm relying on sed's ability to correctly interpret a =
file argument of "-" -- if i wanted to do the reading myself (e.g. using =
"<") or to use a utility that didn't understand "-", i'd have to do =
something more sophisticated.

both of these seem somewhat overcomplicated, and are likely to have bugs =
lurking in them. is there a better way to do this?
--=20
Aaron Davies
aaron.davies@gmail.com


From MAILER-DAEMON Wed Dec 26 16:26:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TnyUM-0003QA-8U
	for mharc-coreutils@gnu.org; Wed, 26 Dec 2012 16:26:10 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50841)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TnyUJ-0003Q2-Ri
	for coreutils@gnu.org; Wed, 26 Dec 2012 16:26:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TnyUI-0001Dd-1l
	for coreutils@gnu.org; Wed, 26 Dec 2012 16:26:07 -0500
Received: from mx1.redhat.com ([209.132.183.28]:14880)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TnyUH-0001DH-OH
	for coreutils@gnu.org; Wed, 26 Dec 2012 16:26:05 -0500
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBQLQ3i1009055
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 26 Dec 2012 16:26:03 -0500
Received: from [10.36.116.17] (ovpn-116-17.ams2.redhat.com [10.36.116.17])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBQLQ0Mh014562
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Wed, 26 Dec 2012 16:26:02 -0500
Message-ID: <50DB6B67.6050509@draigBrady.com>
Date: Wed, 26 Dec 2012 21:25:59 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Assaf Gordon <assafgordon@gmail.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
	<50D49F85.20300@draigBrady.com> <50DB17A1.2020903@gmail.com>
In-Reply-To: <50DB17A1.2020903@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBQLQ3i1009055
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: Coreutils <coreutils@gnu.org>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 21:26:09 -0000

On 12/26/2012 03:28 PM, Assaf Gordon wrote:
> Hello,
>
> P=E1draig Brady wrote, On 12/21/2012 12:42 PM:
>>
>> I'm starting to think the original idea of having a --format option
>> would be more a more concise, well known and extendible interface
>> rather than having --padding, --grouping, --base, ...
>> It wouldn't have to be passed directly to printf, and could
>> be parsed and preprocessed something like we do in seq(1).
>>
>
> Regarding 'format' option, there are some intricacies that are worth di=
scussing:
>
> 1. Depending on the requested conversion, the output can be a string (e=
.g. "1.4Ki") or a long double (e.g. 1400000).

I would expect the numeric format applies to the number portion only,
so there should be little confusion there.

> 2. Internally, the program uses long doubles - so the real format is "%=
Lf" - regardless of what the user will give (e.g. "%f").

Yes. There is a long_double_format() function in seq.c that converts from
specified format to L.. internally.

> 3. printf accepts all sorts of options, some of which aren't relevant t=
o numfmt, or only relevant when printing non-humanized values.
> e.g.:
>      $ LC_ALL=3Den_US.utf8 seq -f "%0'14.5f" 1000 1001
>      0001,000.00000
>      0001,001.00000
>
> 4. The assumption was that humanized numbers are always maximum 4 chara=
cters in SI/IEC (e.g. "1024" or "4.5M") or 5 characters with "iec-i" (e.g=
. "999Ti").
> With the new 'format', if given "%'2.9f" - should the output be still 4=
 characters (e.g. "4.5T"), or respect the ".9" format (e.g. "4.500000000T=
") ? and does the suffix character counts in the "2.9" format ?

I would expect that specifying a precision after the '.' with --to=3D{si,=
iec,iec-i}
would override any default precision, and that the width for the field wo=
uld adjusted accordingly.
The suffix character would be significant to the field/padding width rath=
er than the precision
(similarly to the first point that format only directly applies to the nu=
meric portion).
So:

$ printf "%s\n" 94500 95000 | numfmt --to=3Diec
  94.5K
  95.0K
$ printf "%s\n" 94500 95000 | numfmt --to=3Diec-i
  94.5Ki
  95.0Ki
$ printf "%s\n" 94500 95000 | numfmt --to=3Diec-i --format=3D'[%f]' # Kee=
p default of %7.1Lf for --to=3Diec-i
[ 94.5Ki]
[ 95.0Ki]
$ printf "%s\n" 94500 95000 | numfmt --to=3Diec-i --format=3D'[%g]' # %g =
-> %7Lg for --to=3Diec-i (adjusted for padding)
[ 94.5Ki]
[ 95  Ki]
$ printf "%s\n" 94500 95000 | numfmt --to=3Diec-i --format=3D'[%10.f]' # =
Any padding or precision overrides defaults
[      94Ki]
[      95Ki]
$ printf "%s\n" 94500 95000 | numfmt --to=3Diec-i --format=3D'%.f ' # Com=
mon would be to strip decimals and add a space
  94 Ki
  95 Ki

> My preference is to keep things simple, and accept just a limited subse=
t of the "format" syntax:
> 1. grouping (the ' character)
> 2. padding (the number after '%' and before the 'f'
> 3. alignment (optional '-' after '%')
> 4. Any prefix/suffix before/after the '%' option.
> 5. Accept just "%f", but internally treat it as '%s' or '%Lf', dependin=
g on the output.

The above are consistent with my examples I think.

> All other options will be silently ignored, or trigger errors.
>
> Example:
>      $ numfmt --format "xx%20fxx" --to=3Dsi 5000
>      [[ internally, treats as "--padding 20" ]]
>      xx                5.0Kxx
>
>      $ numfmt --format "xx%'-10fxx" 5000
>      [[ internally, treats as "--padding -10 --grouping" ]]
>      xx5,000     xx
>
>      $ numfmt --format "xx%0#'+010llfxx" 5000
>      [[ reject as 'too complicated' / unsupported printf options ]]

Too complicated/unsupported might just completely override our
defaults and padding etc. and be passed to printf?
I.E. follow the "it's better to ask forgiveness than permission" idiom,
i.e. use as much logic below you as possible.

$ echo 1111 | numfmt --format=3D"xx%0#'+010llfxx\n"
xx+1,111.000000xx

cheers,
P=E1draig.


From MAILER-DAEMON Wed Dec 26 17:40:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TnzeL-00032T-EI
	for mharc-coreutils@gnu.org; Wed, 26 Dec 2012 17:40:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33535)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TnzeI-00031k-1b
	for coreutils@gnu.org; Wed, 26 Dec 2012 17:40:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TnzeG-0002wD-Lq
	for coreutils@gnu.org; Wed, 26 Dec 2012 17:40:29 -0500
Received: from mail-vc0-f173.google.com ([209.85.220.173]:59693)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1TnzeG-0002w7-Dg
	for coreutils@gnu.org; Wed, 26 Dec 2012 17:40:28 -0500
Received: by mail-vc0-f173.google.com with SMTP id f13so9209081vcb.4
	for <coreutils@gnu.org>; Wed, 26 Dec 2012 14:40:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:user-agent:mime-version:to:subject
	:references:in-reply-to:content-type;
	bh=i72IHu2efDLMIHe1zsRpa43PBKjhvvN9RMrpBeluF+8=;
	b=enI1hRyVwqb8U4C0Avj0oY7V/KkqwGr5ciZ1/q8DpsywAFb0zn1Pp2QdmkyOZmPKBr
	VIH4vyb1Ck/7YfU06P6Cvczql8/zMqlFODqghAnTi2FMcBE3oAdQ6gn8wyR7WZwGKlv7
	YgCwHRSXw/6EJMxIFESYXxsTHThs7l56+bxaCEJQz27Fojo9MGU2yRRI5Zy8MkFkFExL
	vaILFFUiif1fqQAZH3JZfQGVy3Ke1DEpyDt/B/VF9m3kuS014NX342lVZ2/xE8N2ZWE2
	VpUkZ6yNCj1ZaqpzU82qbsGXNMWxZXnHjNeiZ/uMiUcBXMKnrkrDFakn5pvHNFKRk0dP
	9+vA==
X-Received: by 10.220.219.204 with SMTP id hv12mr42982155vcb.71.1356561627868; 
	Wed, 26 Dec 2012 14:40:27 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id qj8sm23469104veb.2.2012.12.26.14.40.26
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 26 Dec 2012 14:40:26 -0800 (PST)
Message-ID: <50DB7CD9.8040008@gmail.com>
Date: Wed, 26 Dec 2012 17:40:25 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>, =?ISO-8859-1?Q?P=E1draig_Brady?=
	<P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
	<50D49F85.20300@draigBrady.com> <50DB17A1.2020903@gmail.com>
	<50DB6B67.6050509@draigBrady.com>
In-Reply-To: <50DB6B67.6050509@draigBrady.com>
Content-Type: multipart/mixed; boundary="------------060001090108050501060805"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.173
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Dec 2012 22:40:31 -0000

This is a multi-part message in MIME format.
--------------060001090108050501060805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

Attached is an updated numfmt, with the following two changes:
1. "--format" support
2. optionally ignoring input errors.


Regarding output format:
I've implemented a limited subset of the functionality: it supports only format strings with the syntax "%['][-][N]f" (while of course allowing characters before/after the % directive). I did not implement additional functionality, as you've described (in previous email). I hope it stil addresses most of the common use-cases. 

Some examples:
    $ ./src/numfmt --format --%f-- 5000
    --5000--
    $ ./src/numfmt --format --%f-- --to=iec 5000
    --4.9K--
    $ ./src/numfmt --format --%10f-- 5000
    --      5000--
    $ ./src/numfmt --format --%-10f-- 5000
    --5000      --
    $ ./src/numfmt --format --%10f-- --to=si 5000
    --      5.0K--
    $ ./src/numfmt --format --%-10f-- --to=si 5000
    --5.0K      --
    $ ./src/numfmt --format --%-10f-- --to=iec-i 5000
    --4.9Ki     --
    $ LC_ALL=fr_FR.utf8 ./src/numfmt --format "--%'10f--" 5000
    --     5 000--
    $ LC_ALL=en_US.utf8 ./src/numfmt --format "--%'-10f--" 5000
    --5,000     --
    $ ./src/numfmt --format --%10f-- --suffix B 5000
    --     5000B--
    $ ./src/numfmt --format --%-10f-- --suffix B 5000
    --5000B     --

The following two are now equivalent:
   ls -lh | ./src/numfmt --field 5 --header --from=iec --padding 10
   ls -lh | ./src/numfmt --field 5 --header --from=iec --format %10f

Any 'too-complicated' format will trigger an error:
   $ ./src/numfmt --format %4.5f 5000
   ./src/numfmt: invalid format '%4.5f', directive must be %['][-][N]f
   $ ./src/numfmt --format %+4g 5000
   ./src/numfmt: invalid format '%+4g', directive must be %['][-][N]f
 



Regarding ignoring input errors:
I've restructured the code, so that all the parsing and converting is done before any output is printed. 
Any errors/warnings will be printed before any output (not interleaving output lines and error messages).

I'm not sure that it's optimal to always ignore conversion errors (and print the input as-is) in all cases.
It could lead to invalid and very confusing output for unsuspecting users.
Example:
   echo "5.0M" | numfmt --to=si   -> "5.0M"
Which is incorrect, because the program should not accept suffixed numbers on the input (There's no "--from=si").
This is just one case amongst many other possible confusions.
And not all users will look at STDERR messages, if they redirect output to a file and ignore what's printed on the screen, or try something like
  VAR=$(numfmt --to=si "$TEXT")
and "$TEXT" is not valid.


As a compromise, I added (yet another) option of "--ignore-errors".
By default, any input error will stop the program and exit with code 1.
If "--ignore-errors" is used, invalid input lines will trigger a warning to stderr, followed by the original line, and will eventually exit with status of 2.

This way we can assume that a user who knows to use "--ignore-errors" will also know to explicitly check exit codes and error messages. And a novice user will just get an immediate error and empty output.

Examples:
    ## Default - no STDOUT output if input is invalid
    $ ./src/numfmt --to=si 10M ; echo STATUS=$?
    ./src/numfmt: rejecting suffix in input: '10M' (consider using --from)
    STATUS=1
    
    ## ignore errors will pass input as-is
    $ ./src/numfmt --ignore-errors --to=si 10M ; echo STATUS=$?
    ./src/numfmt: rejecting suffix in input: '10M' (consider using --from)
    10M
    STATUS=1
    

    ## multi-lined input - stop at first error
    $ printf "10000\n2M\n30000" | ./src/numfmt --to=si ; echo STATUS=$?
    10K
    ./src/numfmt: rejecting suffix in input: '2M' (consider using --from)
    STATUS=1

    ## --ignore-errors will process all lines   
    $ printf "10000\n2M\n30000" | ./src/numfmt --ignore-errors --to=si ; echo STATUS=$?
    10K
    ./src/numfmt: rejecting suffix in input: '2M' (consider using --from)
    2M
    30K
    STATUS=2
    

    ## multi-lined input - stop at first error
    $ printf "A 1M\nB\nC 3G\n" | ./src/numfmt --from=si --field 2 ; echo STATUS=$?
    A 1000000
    ./src/numfmt: input line is too short, no numbers found to convert in field 2
    STATUS=1
    
    ## --ignore-errors will process all lines   
    $ printf "A 1M\nB\nC 3G\n" | ./src/numfmt --ignore-errors --from=si --field 2 ; echo STATUS=$?
    A 1000000
    ./src/numfmt: input line is too short, no numbers found to convert in field 2
    B
    C 3000000000
    STATUS=2

Of course, if there are no errors, exit code is 0 regardless of "--ignore-errors".


Comments are welcomed,
 -gordon



--------------060001090108050501060805
Content-Type: application/x-xz;
 name="numfmt.10.patch.xz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt.10.patch.xz"

/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4+hUhypdACMcieb23wYJJZC6LBe7M5EH8D9Xy3IQ
IdveZ3QfKbZU/U/0dNpqjCL/C05+0IXIkSe2f4zXHhSIOjLz0r3dJPgOaQgtXutza6yhYG+6
Xwg6sPac7S78JsetSXQ3+HmaXiobps4U6DTxFTojoL21rp+rbLZvaPa68EsdUYFJOWBoyyFW
/72S8JT3ItyBbkscpGUVVWK14XhfgcRyYAnTCf/NXHWHHcrs/O2QwCj7Yw1iLAn6UY62vTLg
WvxvF9o9/pqm0tBMtwWTIIhlRx+hXCIgZvGlUUp8bQTpoDYikIseAgejpGeew6stalxEsOpE
qyNfC80XDbouSS02Uv9+48obQHG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Z7kdsLW
P40LZwpl9NZDDSY38bGDkaDZunxkcyEwamoi6CFWwKTBpenU3ItUiUvmCQxFngE/VfvaFDjJ
/uSWjh1oMP1V0VF1eHgZVK+OI27URXrEP++YsVKW9QZ7/wd61rAmG3OOC7BG//daPlOxNI9R
zpzVfhj/re4uDkd7Me6VCc0JJgAAAB79lH0L1iu/AAHGjgLV0A9ZwP46scRn+wIAAAAABFla

--------------060001090108050501060805--


From MAILER-DAEMON Wed Dec 26 21:14:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1To2zk-0005jC-8Y
	for mharc-coreutils@gnu.org; Wed, 26 Dec 2012 21:14:52 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53784)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1To2zi-0005iz-8X
	for coreutils@gnu.org; Wed, 26 Dec 2012 21:14:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1To2zh-0000CU-8o
	for coreutils@gnu.org; Wed, 26 Dec 2012 21:14:50 -0500
Received: from mx1.redhat.com ([209.132.183.28]:35083)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1To2zh-0000C8-16
	for coreutils@gnu.org; Wed, 26 Dec 2012 21:14:49 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBR2EkaM031346
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 26 Dec 2012 21:14:46 -0500
Received: from [10.36.116.17] (ovpn-116-17.ams2.redhat.com [10.36.116.17])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBR2Ehql012811
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Wed, 26 Dec 2012 21:14:45 -0500
Message-ID: <50DBAF13.9020004@draigBrady.com>
Date: Thu, 27 Dec 2012 02:14:43 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Aaron Davies <aaron.davies@gmail.com>
Subject: Re: standard for stdin / args handling?
References: <C19E7CEA-B2F6-48BB-AD79-B89EAF24FC06@gmail.com>
In-Reply-To: <C19E7CEA-B2F6-48BB-AD79-B89EAF24FC06@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBR2EkaM031346
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Dec 2012 02:14:51 -0000

On 12/26/2012 09:18 PM, Aaron Davies wrote:
> afaict from my general *nx experience, the basic rule for text-handling=
 utilities (filters, etc.) is as follows: first, no argument(s) means std=
in is used; second, argument(s) means stdin is ignored, unless "-" is pre=
sent as an argument, in which case stdin is used in the position in the s=
equence where the first "-" occurs (later "-"s have no effect, presumably=
 due to the way pipes behave); finally, if no arguments and not receiving=
 a pipe and in some sort of interactive context (stdin is a tty?), stdin =
is accepted from the terminal (and handled line-by-line (rev(1)) or at en=
d-of-file (tac(1)), as appropriate).

That's the usual operation of a filter yes.
Though there are always exceptions like dd for example.
Note multiple '-' aren't usually ignored.

cat - - -
seq 10 | paste - - -
...

>
> cat(1) is the canonical example.
>
> my questions are: have i described the behavior correctly, and is there=
 anything (in any context--C, shell, etc.) to make creating new tools whi=
ch follow these rules easier?

I don't know of higher level abstractions for this behavior.

thanks,
P=E1draig.


From MAILER-DAEMON Thu Dec 27 17:52:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ToMJK-0007tU-Rm
	for mharc-coreutils@gnu.org; Thu, 27 Dec 2012 17:52:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43960)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1ToMJI-0007sX-QK
	for coreutils@gnu.org; Thu, 27 Dec 2012 17:52:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1ToMJH-0000hp-Nx
	for coreutils@gnu.org; Thu, 27 Dec 2012 17:52:20 -0500
Received: from mail-vc0-f173.google.com ([209.85.220.173]:57405)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <assafgordon@gmail.com>) id 1ToMJH-0000he-Jj
	for coreutils@gnu.org; Thu, 27 Dec 2012 17:52:19 -0500
Received: by mail-vc0-f173.google.com with SMTP id f13so10273970vcb.18
	for <coreutils@gnu.org>; Thu, 27 Dec 2012 14:52:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:user-agent:mime-version:to:subject
	:references:in-reply-to:content-type;
	bh=Xb+f0wNr2fHH8iCsQFijdTnr7xtdIeihoqBskY7v78U=;
	b=ES4Y9TVT39EAsGuOoBFdwqfXSTX+8VFzkww3cXSakELUpSw4WhkCPN3ECW1jGX8qND
	jQKe4OM0/c6G/oqHmxGXuh5n6Ai4sWKIJAgruM/1NUBm5kwOeW4+bn5JqRI6MEe/Lc09
	XqAo8YRuSFf7AdadBulJf9OmJrkYRemkgrTA4tGWdihz0OJ9llZE7DVwseU+EDn7PfO+
	+ntxyjQ7FFZw/nlTMFQYVVZrI46M+5D26A3jWq7x2gW9uYc5O3kq4jh7rVas1yrmrNgj
	v5voOIMiiR4xw56dDG+ijh5db5tQ5ut95yQSlqR/Wjz6E0McXXBWktQeGYsANX7Mviwu
	Hocg==
X-Received: by 10.52.33.143 with SMTP id r15mr42468972vdi.78.1356648738697;
	Thu, 27 Dec 2012 14:52:18 -0800 (PST)
Received: from [143.48.11.9] (tango.cshl.edu. [143.48.11.9])
	by mx.google.com with ESMTPS id n4sm27772395vdf.10.2012.12.27.14.52.17
	(version=TLSv1/SSLv3 cipher=OTHER);
	Thu, 27 Dec 2012 14:52:17 -0800 (PST)
Message-ID: <50DCD120.3050707@gmail.com>
Date: Thu, 27 Dec 2012 17:52:16 -0500
From: Assaf Gordon <assafgordon@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120510 Icedove/10.0.4
MIME-Version: 1.0
To: Coreutils <coreutils@gnu.org>, =?ISO-8859-1?Q?P=E1draig_Brady?=
	<P@draigBrady.com>
Subject: Re: numfmt (=print 'human' sizes) updates
References: <50C96F87.3090407@gmail.com> <50CABB3B.4000307@gmail.com>
	<50CAE913.6090905@draigBrady.com>
	<50D49F85.20300@draigBrady.com> <50DB17A1.2020903@gmail.com>
	<50DB6B67.6050509@draigBrady.com> <50DB7CD9.8040008@gmail.com>
In-Reply-To: <50DB7CD9.8040008@gmail.com>
Content-Type: multipart/mixed; boundary="------------000903030303040703060301"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.220.173
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Dec 2012 22:52:21 -0000

This is a multi-part message in MIME format.
--------------000903030303040703060301
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello,

Assaf Gordon wrote, On 12/26/2012 05:40 PM:
> 
> Attached is an updated numfmt, with the following two changes:
> 1. "--format" support
> 2. optionally ignoring input errors.

The attached patch (incremental to the above full patch) adds few more tests, and fixes 4 issues found with the clang static analyzer.

There's no change in functionality.

-gordon


--------------000903030303040703060301
Content-Type: application/x-xz;
 name="numfmt.11.patch.xz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="numfmt.11.patch.xz"

/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4ApFBEldACMcieb23zJ2mmK+ra/sBdvWlV80LPqS
bz8hZhE8ODz8VH75d5+Cj0kX9jw4m8fEE+4uxZo/7TPYXPUDCZS+EtVRouqrwkpqL24AoRCs
rdPcUD4JmxyNDviS+S4RyOvn+35SDMdEI5COWxARtDqmGD2Tffv8nixfOUso7d9J9Ka529Aj
JIJ4AexSvOmhQGrzEM28GMESWZpIpuSEIkeHpThHS1YDSZkZZ0dd7RrUnX2odwlQyWiGSXG/
DzZwren+BgyBWGInuywmAITX3whaUlUTQAmOIhbHNRDkvZBmgGjEWHa1YmxGzSS1iGsJ0DPQ
3jMsYD4P1wfbC/IOWcVyMIrWEeMK72rN5plMtidGHC8D0SfQNksLHBut2n56KdRIyO+RPQJx
dxY+DRpQ6ywEmA9ZC5DiDhpaQZdmCcHBzkexpnjXESJ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AABbr6X9scRn+wIAAAAABFla
--------------000903030303040703060301--


From MAILER-DAEMON Fri Dec 28 10:31:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tobu6-00020h-QC
	for mharc-coreutils@gnu.org; Fri, 28 Dec 2012 10:31:22 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40132)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1ToYJI-0008Dm-9H
	for coreutils@gnu.org; Fri, 28 Dec 2012 06:41:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1ToYJF-0001My-Iv
	for coreutils@gnu.org; Fri, 28 Dec 2012 06:41:08 -0500
Received: from smtpout7.laposte.net ([193.253.67.232]:35522
	helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1ToYJF-0001Mt-Dg
	for coreutils@gnu.org; Fri, 28 Dec 2012 06:41:05 -0500
Received: from samson.geekdomain ([82.246.226.4]) by mwinf8514-out with ME
	id gzh41k00306KZ4J03zh4nv; Fri, 28 Dec 2012 12:41:04 +0100
Date: Fri, 28 Dec 2012 12:41:02 +0100
From: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
To: coreutils@gnu.org
Subject: dd: it doesn't continue after errors
Message-Id: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.4; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 193.253.67.232
X-Mailman-Approved-At: Fri, 28 Dec 2012 10:31:21 -0500
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Dec 2012 11:41:11 -0000

Hello,

I am using dd (coreutils) 8.11 on a GNU/Linux operating system.

I am trying to blank a 160 GB hard disk drive but I got an error and dd doesn't want to continue:
$ sudo dd if=/dev/zero of=/dev/sdb conv=noerror,sync
dd: writing to `/dev/sdb': Input/output error
6160537+0 records in
6160536+0 records out
3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s

Only 3.2 GB have been copied...

Have you any idea on how to force dd to continue after errors?

Thank you.
Regards.


From MAILER-DAEMON Fri Dec 28 11:02:24 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TocO8-0006He-Of
	for mharc-coreutils@gnu.org; Fri, 28 Dec 2012 11:02:24 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53922)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TocO5-0006H1-Do
	for coreutils@gnu.org; Fri, 28 Dec 2012 11:02:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TocO4-00075e-GS
	for coreutils@gnu.org; Fri, 28 Dec 2012 11:02:21 -0500
Received: from mx1.redhat.com ([209.132.183.28]:51259)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1TocO4-00075M-9Z
	for coreutils@gnu.org; Fri, 28 Dec 2012 11:02:20 -0500
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBSG2Hn7002545
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 28 Dec 2012 11:02:18 -0500
Received: from [10.36.116.44] (ovpn-116-44.ams2.redhat.com [10.36.116.44])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id qBSG2ED7008614
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Fri, 28 Dec 2012 11:02:17 -0500
Message-ID: <50DDC286.1040701@draigBrady.com>
Date: Fri, 28 Dec 2012 16:02:14 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
Subject: Re: dd: it doesn't continue after errors
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
In-Reply-To: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBSG2Hn7002545
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Dec 2012 16:02:23 -0000

On 12/28/2012 11:41 AM, YuGiOhJCJ Mailing-List wrote:
> Hello,
>
> I am using dd (coreutils) 8.11 on a GNU/Linux operating system.
>
> I am trying to blank a 160 GB hard disk drive but I got an error and dd=
 doesn't want to continue:
> $ sudo dd if=3D/dev/zero of=3D/dev/sdb conv=3Dnoerror,sync
> dd: writing to `/dev/sdb': Input/output error
> 6160537+0 records in
> 6160536+0 records out
> 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
>
> Only 3.2 GB have been copied...
>
> Have you any idea on how to force dd to continue after errors?

So this is a specialized operation not currently
implemented by dd. For example in the case of errors,
you will want to retry and try smaller black sizes around
the problematic area and pad out the missing data etc.
Please look at ddrescue or dd_rescue to achieve this.

thanks,
P=E1draig.


From MAILER-DAEMON Fri Dec 28 11:29:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tocog-00021g-Oo
	for mharc-coreutils@gnu.org; Fri, 28 Dec 2012 11:29:50 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58733)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1Tocoa-0001y9-IC
	for coreutils@gnu.org; Fri, 28 Dec 2012 11:29:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TocoZ-0006JE-9z
	for coreutils@gnu.org; Fri, 28 Dec 2012 11:29:44 -0500
Received: from moutng.kundenserver.de ([212.227.126.186]:54530)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TocoZ-0006J8-1B
	for coreutils@gnu.org; Fri, 28 Dec 2012 11:29:43 -0500
Received: from [192.168.1.11] (p4FC3E6F0.dip.t-dialin.net [79.195.230.240])
	by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis)
	id 0Lv8ja-1T70VN49WU-00zgoV; Fri, 28 Dec 2012 17:29:40 +0100
Message-ID: <50DDC8F2.1070906@bernhard-voelker.de>
Date: Fri, 28 Dec 2012 17:29:38 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
Subject: Re: dd: it doesn't continue after errors
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
In-Reply-To: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:710RKzZEWdUOnKLiedWR8PybkOkgOzWMXZQFSuds80O
	TgVNibCPBQhzXlkmox+BJ1OCpKE013vBidle5HuTE6s0hqelM3
	2y5z0iAraVyvMVn7568YZRodL8W5vKLpW6lWBP8e04E8LgV+Fh
	ATesMTmxzSJsHETIuByynZw/x6N8JZLWIXlWwBUzaDyyTWk8fo
	eGI3kx3kvB786O4FTZOENl2lnLt8n5MunD/FkjEA0jKThI7CZW
	WNQ6HbmNgMeVOMmkWe09wp5Q9Gpe74UK3JUDAsf72G9IEVDPNz
	15O/L1I8+SMfeqQShGkjyRPgKL9pjn2zZR1knhu696iIuXZwzm
	XWeEfZKc7/P7i8X+/MvAOO+LSyimyQ/PSYUJW9ahZ
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.126.186
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Dec 2012 16:29:49 -0000

On 12/28/2012 12:41 PM, YuGiOhJCJ Mailing-List wrote:
> I am trying to blank a 160 GB hard disk drive but I got an error and dd doesn't want to continue:
> $ sudo dd if=/dev/zero of=/dev/sdb conv=noerror,sync
> dd: writing to `/dev/sdb': Input/output error
> 6160537+0 records in
> 6160536+0 records out
> 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
> 
> Only 3.2 GB have been copied...
> 
> Have you any idea on how to force dd to continue after errors?

You mean your hard disk is dying and you want to overwrite it with NULs?

As you most probably will throw it away anyway, why not
simply use a hammer to destroy your sensitive data?
And maybe using a huge magnet before or after that ... ;-)

Otherwise, the ddrescue's are the right tools (as Padraig already mentioned).
dd_rescue: http://www.garloff.de/kurt/linux/ddrescue/ or
GNU ddrescue: http://www.gnu.org/software/ddrescue/ddrescue.html

Have a nice day,
Berny


From MAILER-DAEMON Fri Dec 28 12:01:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TodIq-0000KL-Mb
	for mharc-coreutils@gnu.org; Fri, 28 Dec 2012 12:01:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35409)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1TodIp-0000Jd-0J
	for coreutils@gnu.org; Fri, 28 Dec 2012 12:00:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1TodIo-0006Ar-0G
	for coreutils@gnu.org; Fri, 28 Dec 2012 12:00:58 -0500
Received: from smtp.gentoo.org ([140.211.166.183]:36340)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1TodIn-0006Am-Q2
	for coreutils@gnu.org; Fri, 28 Dec 2012 12:00:57 -0500
Received: from vapier.localnet (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id B1D9533D9FD;
	Fri, 28 Dec 2012 17:00:55 +0000 (UTC)
From: Mike Frysinger <vapier@gentoo.org>
Organization: wh0rd.org
To: coreutils@gnu.org
Subject: Re: dd: it doesn't continue after errors
Date: Fri, 28 Dec 2012 12:01:59 -0500
User-Agent: KMail/1.13.7 (Linux/3.7.1; KDE/4.6.5; x86_64; ; )
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
In-Reply-To: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart7674625.q28FYgGrS4";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201212281201.59752.vapier@gentoo.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 140.211.166.183
Cc: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Dec 2012 17:00:59 -0000

--nextPart7674625.q28FYgGrS4
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On Friday 28 December 2012 06:41:02 YuGiOhJCJ Mailing-List wrote:
> I am trying to blank a 160 GB hard disk drive but I got an error and dd
> doesn't want to continue: $ sudo dd if=3D/dev/zero of=3D/dev/sdb
> conv=3Dnoerror,sync
> dd: writing to `/dev/sdb': Input/output error
> 6160537+0 records in
> 6160536+0 records out
> 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
>=20
> Only 3.2 GB have been copied...
>=20
> Have you any idea on how to force dd to continue after errors?

look at `dmesg` and see if it's reporting errors.  if so, consult the feedb=
ack=20
P=E1draig and Bernhard provided.
=2Dmike

--nextPart7674625.q28FYgGrS4
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAABAgAGBQJQ3dCHAAoJEEFjO5/oN/WBwe8P/RqGP1Ql58Kdwaa7qSRIN2Hh
v4dazwS2jcTcIjq0+ApfGfZRzlhsYqFg1emgtL9fVQ4qM77fd8iKV0V2AwnQXBEJ
/0w5ja8hROLPwRb1KzD/edfp62tzyx5QMhtPFjbyjlGFJUbIc2Hd1eycZQdfF+MU
dd1PNVphs4dAW2o1+C6pJdwLtatYT4nOzTC08R7kr01M4BxX+fTAyGNCkRSqOnw8
0s8PGiWtr+SVcL0oblVs6vfoVhV8ByEhvGmzyE2UFayUn7so9gTVkFh0tQaPKcDx
MgvOCsvG+6A7JZSzxxVMtY8NRRicJNGgac/niPs2mJOR0Liwxw7BLPxUQ3pikzFo
g4F+JGBNG+FF6k1ildzqixevigh2G0G98Y1rmBFw3oKmk4pQlxg+mYGzuPtFTiZ/
KHLB87B2PUce7J/0F1Pg9lfgT/qPsUS0m2Zysui/FhLmKGUGO06qwGXjaNKIc9tF
Hl1m0kkimbPm3KIkari6hTMmODMBXG3xzr7aSvGhvCBsvxN0q+aREzvNTTgryN59
8ELfllBKsFUz4juKjP3q7Awbf72LA+bcU75TLUzWe59KgVNAku36Ta3uBlIGjcHX
yYXhNyt7Fbrg6r84GvwCKPUIa88JfP3eEmKm+0TDafwJxd/e+8uZhdnF7bBbg9cq
HJe0Jf5qip13V4fEvWPx
=9ViQ
-----END PGP SIGNATURE-----

--nextPart7674625.q28FYgGrS4--


From MAILER-DAEMON Fri Dec 28 12:29:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Todks-0005lY-QA
	for mharc-coreutils@gnu.org; Fri, 28 Dec 2012 12:29:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:39380)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Todkm-0005kz-Jy
	for coreutils@gnu.org; Fri, 28 Dec 2012 12:29:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Todkj-0004Bd-RZ
	for coreutils@gnu.org; Fri, 28 Dec 2012 12:29:52 -0500
Received: from mx1.redhat.com ([209.132.183.28]:1120)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Todkj-0004BW-KZ
	for coreutils@gnu.org; Fri, 28 Dec 2012 12:29:49 -0500
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBSHTdJ9014616
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 28 Dec 2012 12:29:39 -0500
Received: from [10.36.116.44] (ovpn-116-44.ams2.redhat.com [10.36.116.44])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBSHTZ3l024438
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 28 Dec 2012 12:29:37 -0500
Message-ID: <50DDD6FF.6060207@draigBrady.com>
Date: Fri, 28 Dec 2012 17:29:35 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: dd: it doesn't continue after errors
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
	<50DDC8F2.1070906@bernhard-voelker.de>
In-Reply-To: <50DDC8F2.1070906@bernhard-voelker.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBSHTdJ9014616
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>,
	coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Dec 2012 17:29:58 -0000

On 12/28/2012 04:29 PM, Bernhard Voelker wrote:
> On 12/28/2012 12:41 PM, YuGiOhJCJ Mailing-List wrote:
>> I am trying to blank a 160 GB hard disk drive but I got an error and d=
d doesn't want to continue:
>> $ sudo dd if=3D/dev/zero of=3D/dev/sdb conv=3Dnoerror,sync
>> dd: writing to `/dev/sdb': Input/output error
>> 6160537+0 records in
>> 6160536+0 records out
>> 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
>>
>> Only 3.2 GB have been copied...
>>
>> Have you any idea on how to force dd to continue after errors?
>
> You mean your hard disk is dying and you want to overwrite it with NULs=
?
>
> As you most probably will throw it away anyway, why not
> simply use a hammer to destroy your sensitive data?
> And maybe using a huge magnet before or after that ... ;-)

Oops right, the issue seems to be with writing to the dodgy disk.
conv=3Dnoerror,sync confused me since this is only concerned with reading.
Anyway I had a look at shred.c and noticed this comment:

/* 'shred' is often used on bad media, before throwing it
     out.  Thus, it shouldn't give up on bad blocks.  */

So shred is probably the best tool for this.
You can get shred to write just NULs like:

shred -n0 -z -v /dec/sdb

thanks,
P=E1draig.


From MAILER-DAEMON Fri Dec 28 16:45:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TohkX-0001Ov-H9
	for mharc-coreutils@gnu.org; Fri, 28 Dec 2012 16:45:53 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41669)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1TohkT-0001Oo-Ky
	for coreutils@gnu.org; Fri, 28 Dec 2012 16:45:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1TohkO-00042C-Fv
	for coreutils@gnu.org; Fri, 28 Dec 2012 16:45:49 -0500
Received: from smtpout5.laposte.net ([193.253.67.230]:35082
	helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1TohkO-00041Y-5E
	for coreutils@gnu.org; Fri, 28 Dec 2012 16:45:44 -0500
Received: from samson.geekdomain ([82.246.226.4]) by mwinf8510-out with ME
	id h9li1k00706KZ4J039lid4; Fri, 28 Dec 2012 22:45:42 +0100
Date: Fri, 28 Dec 2012 22:45:42 +0100
From: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
To: coreutils@gnu.org
Subject: Re: dd: it doesn't continue after errors
Message-Id: <20121228224542.8d5aa53b03d9a16cadae2493@laposte.net>
In-Reply-To: <201212281201.59752.vapier@gentoo.org>
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
	<201212281201.59752.vapier@gentoo.org>
X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.4; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 193.253.67.230
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Dec 2012 21:45:52 -0000

On Fri, 28 Dec 2012 12:01:59 -0500
Mike Frysinger <vapier@gentoo.org> wrote:

> On Friday 28 December 2012 06:41:02 YuGiOhJCJ Mailing-List wrote:
> > I am trying to blank a 160 GB hard disk drive but I got an error and dd
> > doesn't want to continue: $ sudo dd if=3D/dev/zero of=3D/dev/sdb
> > conv=3Dnoerror,sync
> > dd: writing to `/dev/sdb': Input/output error
> > 6160537+0 records in
> > 6160536+0 records out
> > 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
> >=20
> > Only 3.2 GB have been copied...
> >=20
> > Have you any idea on how to force dd to continue after errors?
>=20
> look at `dmesg` and see if it's reporting errors.  if so, consult the fee=
dback=20
> P=E1draig and Bernhard provided.
> -mike

Yes I see some errors when I look at `dmesg` concerning my hard disk drive.
But it's normal, I know this hard disk drive has problems.
I just want to clean it a last time before forget it... And maybe, if it's =
possible, repair it using some tools but I don't think it's possible.
OK, I will follow the instructions given by P=E1draig and Bernhard.
There are some interesting utilities that can help me (shred, dd_rescue and=
 GNU ddrescue).

Thank you.
Regards.


From MAILER-DAEMON Sat Dec 29 08:50:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TowoD-0003XU-QM
	for mharc-coreutils@gnu.org; Sat, 29 Dec 2012 08:50:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:36265)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1TowoA-0003Wo-4A
	for coreutils@gnu.org; Sat, 29 Dec 2012 08:50:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1Towo7-0007Hu-M6
	for coreutils@gnu.org; Sat, 29 Dec 2012 08:50:38 -0500
Received: from smtpout7.laposte.net ([193.253.67.232]:30336
	helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yugiohjcj-mailinglist@laposte.net>)
	id 1Towo7-0007Hp-GC
	for coreutils@gnu.org; Sat, 29 Dec 2012 08:50:35 -0500
Received: from samson.geekdomain ([82.246.226.4]) by mwinf8513-out with ME
	id hRqY1k00206KZ4J03RqYt9; Sat, 29 Dec 2012 14:50:32 +0100
Date: Sat, 29 Dec 2012 14:50:31 +0100
From: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
To: coreutils@gnu.org
Subject: Re: dd: it doesn't continue after errors
Message-Id: <20121229145031.a240fc7f2bbc3a2083776705@laposte.net>
In-Reply-To: <50DDD6FF.6060207@draigBrady.com>
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
	<50DDC8F2.1070906@bernhard-voelker.de>
	<50DDD6FF.6060207@draigBrady.com>
X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.4; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 193.253.67.232
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 13:50:41 -0000

On Fri, 28 Dec 2012 17:29:35 +0000
P=E1draig Brady <P@draigBrady.com> wrote:

> On 12/28/2012 04:29 PM, Bernhard Voelker wrote:
> > On 12/28/2012 12:41 PM, YuGiOhJCJ Mailing-List wrote:
> >> I am trying to blank a 160 GB hard disk drive but I got an error and d=
d doesn't want to continue:
> >> $ sudo dd if=3D/dev/zero of=3D/dev/sdb conv=3Dnoerror,sync
> >> dd: writing to `/dev/sdb': Input/output error
> >> 6160537+0 records in
> >> 6160536+0 records out
> >> 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
> >>
> >> Only 3.2 GB have been copied...
> >>
> >> Have you any idea on how to force dd to continue after errors?
> >
> > You mean your hard disk is dying and you want to overwrite it with NULs?
> >
> > As you most probably will throw it away anyway, why not
> > simply use a hammer to destroy your sensitive data?
> > And maybe using a huge magnet before or after that ... ;-)
>=20
> Oops right, the issue seems to be with writing to the dodgy disk.
> conv=3Dnoerror,sync confused me since this is only concerned with reading.
> Anyway I had a look at shred.c and noticed this comment:
>=20
> /* 'shred' is often used on bad media, before throwing it
>      out.  Thus, it shouldn't give up on bad blocks.  */
>=20
> So shred is probably the best tool for this.
> You can get shred to write just NULs like:
>=20
> shred -n0 -z -v /dec/sdb
>=20
> thanks,
> P=E1draig.
>=20

I have just tried 'shred' and I got an error:
$ sudo shred -n0 -z -v /dev/sdb
[...]
shred: /dev/sdb: pass 1/1 (000000)...149GiB/150GiB 99%
shred: /dev/sdb: fdatasync failed: Input/output error
shred: /dev/sdb: pass 1/1 (000000)...150GiB/150GiB 100%
shred: /dev/sdb: fdatasync failed: Input/output error

What it means?


From MAILER-DAEMON Sat Dec 29 09:34:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ToxUZ-0003ZR-Vk
	for mharc-coreutils@gnu.org; Sat, 29 Dec 2012 09:34:27 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41165)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1ToxUW-0003ZL-Df
	for coreutils@gnu.org; Sat, 29 Dec 2012 09:34:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1ToxUV-0008Jo-0k
	for coreutils@gnu.org; Sat, 29 Dec 2012 09:34:24 -0500
Received: from mx.meyering.net ([88.168.87.75]:47687)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1ToxUU-0008Je-Lw
	for coreutils@gnu.org; Sat, 29 Dec 2012 09:34:22 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 01D6B600A6
	for <coreutils@gnu.org>; Sat, 29 Dec 2012 15:34:22 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: coreutils@gnu.org
Subject: [PATCH] maint: adjust NEWS entry wording
Date: Sat, 29 Dec 2012 15:34:21 +0100
Message-ID: <87zk0xdj0y.fsf@rho.meyering.net>
Lines: 85
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 14:34:26 -0000

I've made a few changes as I read through the recent NEWS entries:

>From cebf94eeb1dd07dbc1afff73acf2b586f63367d5 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sat, 29 Dec 2012 15:30:48 +0100
Subject: [PATCH] maint: adjust NEWS entry wording

* NEWS: Adjust wording in a few entries.
---
 NEWS | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/NEWS b/NEWS
index 7c0e554..f9fec94 100644
--- a/NEWS
+++ b/NEWS
@@ -35,7 +35,7 @@ GNU coreutils NEWS                                    -*- outline -*-
   install -m M SOURCE DEST no longer has a race condition where DEST's
   permissions are temporarily derived from SOURCE instead of from M.

-  pr -n no longer crashes when passed values >= 32.  Also line numbers are
+  pr -n no longer crashes when passed values >= 32.  Also, line numbers are
   consistently padded with spaces, rather than with zeros for certain widths.
   [bug introduced in TEXTUTILS-1_22i]

@@ -43,25 +43,25 @@ GNU coreutils NEWS                                    -*- outline -*-
   the output numbers are properly aligned and of the correct width.
   [This bug was present in "the beginning".]

-  seq -s now doesn't output an erroneous newline after the first number, and
+  seq -s no longer prints an erroneous newline after the first number, and
   outputs a newline after the last number rather than a trailing separator.
   [bug introduced in coreutils-8.20]

 ** Changes in behavior

   df --total now prints '-' into the target column (mount point) of the
-  summary line, accommodating to the --output option where the target
-  field can be in any column.  If there is no source column, then df
-  prints 'total' into the target column.
+  summary line, accommodating the --output option where the target field
+  can be in any column.  If there is no source column, then df prints
+  'total' in the target column.

   df now properly outputs file system information with bind mounts present on
   the system by skipping duplicate entries (identified by the device number).

-  df now skips the early-boot pseudo file system type "rootfs" unless either
-  the -a option or "-t rootfs" is specified.
+  df now elides any entry with the early-boot pseudo file system type
+  "rootfs" unless either the -a option or "-t rootfs" is specified.

-  nl no longer supports the --page-increment option which was deprecated
-  since coreutils-7.5.  Use --line-increment instead.
+  nl no longer supports the --page-increment option, which has been
+  deprecated since coreutils-7.5.  Use --line-increment instead.

 ** Improvements

@@ -76,7 +76,7 @@ GNU coreutils NEWS                                    -*- outline -*-

   Perl is now more of a prerequisite.  It has long been required in order
   to run (not skip) a significant percentage of the tests.  Now, it is
-  also required in order to generate proper man pages, via help2man. The
+  also required in order to generate proper man pages, via help2man.  The
   generated man/*.1 man pages are no longer distributed.  Building without
   perl, you would create stub man pages.  Thus, while perl is not an
   official prerequisite (build and "make check" will still succeed), any
@@ -88,10 +88,10 @@ GNU coreutils NEWS                                    -*- outline -*-
   factor now builds on x86_64 with x32 ABI, by avoiding incompatible asm.
   [bug introduced in coreutils-8.20]

-  The check in the root-only tests to test whether our dummy user,
-  $NON_ROOT_USERNAME, is able to run binaries from the build directory
-  failed.  As a result, these tests have been skipped unnecessarily.
-  [bug introduced in coreutils-8.20]
+  A root-only test predicate would always fail.  Its job was to determine
+  whether our dummy user, $NON_ROOT_USERNAME, was able to run binaries from
+  the build directory.  As a result, all dependent tests were always skipped.
+  Now, those tests may be run once again.  [bug introduced in coreutils-8.20]


 * Noteworthy changes in release 8.20 (2012-10-23) [stable]
--
1.8.0.2


From MAILER-DAEMON Sat Dec 29 09:43:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Toxd5-0004g4-5U
	for mharc-coreutils@gnu.org; Sat, 29 Dec 2012 09:43:15 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42006)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Toxd1-0004eW-NR
	for coreutils@gnu.org; Sat, 29 Dec 2012 09:43:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Toxcz-000205-Gb
	for coreutils@gnu.org; Sat, 29 Dec 2012 09:43:11 -0500
Received: from mx1.redhat.com ([209.132.183.28]:27344)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <P@draigBrady.com>) id 1Toxcz-0001zv-7h
	for coreutils@gnu.org; Sat, 29 Dec 2012 09:43:09 -0500
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBTEh72M006161
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Sat, 29 Dec 2012 09:43:07 -0500
Received: from [10.36.116.33] (ovpn-116-33.ams2.redhat.com [10.36.116.33])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id qBTE15GA021801
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sat, 29 Dec 2012 09:01:07 -0500
Message-ID: <50DEF7A0.20903@draigBrady.com>
Date: Sat, 29 Dec 2012 14:01:04 +0000
From: =?ISO-8859-1?Q?P=E1draig_Brady?= <P@draigBrady.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
Subject: Re: dd: it doesn't continue after errors
References: <20121228124102.3e3e14f86a3687a3eb4f37aa@laposte.net>
	<50DDC8F2.1070906@bernhard-voelker.de>
	<50DDD6FF.6060207@draigBrady.com>
	<20121229145031.a240fc7f2bbc3a2083776705@laposte.net>
In-Reply-To: <20121229145031.a240fc7f2bbc3a2083776705@laposte.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id
	qBTEh72M006161
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 209.132.183.28
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 14:43:13 -0000

On 12/29/2012 01:50 PM, YuGiOhJCJ Mailing-List wrote:
> On Fri, 28 Dec 2012 17:29:35 +0000
> P=E1draig Brady <P@draigBrady.com> wrote:
>
>> On 12/28/2012 04:29 PM, Bernhard Voelker wrote:
>>> On 12/28/2012 12:41 PM, YuGiOhJCJ Mailing-List wrote:
>>>> I am trying to blank a 160 GB hard disk drive but I got an error and=
 dd doesn't want to continue:
>>>> $ sudo dd if=3D/dev/zero of=3D/dev/sdb conv=3Dnoerror,sync
>>>> dd: writing to `/dev/sdb': Input/output error
>>>> 6160537+0 records in
>>>> 6160536+0 records out
>>>> 3154194432 bytes (3.2 GB) copied, 209.528 s, 15.1 MB/s
>>>>
>>>> Only 3.2 GB have been copied...
>>>>
>>>> Have you any idea on how to force dd to continue after errors?
>>>
>>> You mean your hard disk is dying and you want to overwrite it with NU=
Ls?
>>>
>>> As you most probably will throw it away anyway, why not
>>> simply use a hammer to destroy your sensitive data?
>>> And maybe using a huge magnet before or after that ... ;-)
>>
>> Oops right, the issue seems to be with writing to the dodgy disk.
>> conv=3Dnoerror,sync confused me since this is only concerned with read=
ing.
>> Anyway I had a look at shred.c and noticed this comment:
>>
>> /* 'shred' is often used on bad media, before throwing it
>>       out.  Thus, it shouldn't give up on bad blocks.  */
>>
>> So shred is probably the best tool for this.
>> You can get shred to write just NULs like:
>>
>> shred -n0 -z -v /dec/sdb
>>
>> thanks,
>> P=E1draig.
>>
>
> I have just tried 'shred' and I got an error:
> $ sudo shred -n0 -z -v /dev/sdb
> [...]
> shred: /dev/sdb: pass 1/1 (000000)...149GiB/150GiB 99%
> shred: /dev/sdb: fdatasync failed: Input/output error
> shred: /dev/sdb: pass 1/1 (000000)...150GiB/150GiB 100%
> shred: /dev/sdb: fdatasync failed: Input/output error
>
> What it means?

It means that the write() "worked" because it was buffered
by the kernel, but when asked to actually sync the data
to the disk it returned the EIO error at that stage.
Note this is handled internally by shred, and so is just
an informative error to say that, that particular
portion was not written. shred will continue on and
write to the parts of the disk it can.

thanks,
P=E1draig.
>
>




From MAILER-DAEMON Sat Dec 29 12:35:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Tp0KD-0005Q7-Ls
	for mharc-coreutils@gnu.org; Sat, 29 Dec 2012 12:35:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35861)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1Tp0KB-0005O0-6G
	for coreutils@gnu.org; Sat, 29 Dec 2012 12:35:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1Tp0KA-0000hm-8Z
	for coreutils@gnu.org; Sat, 29 Dec 2012 12:35:55 -0500
Received: from joseki.proulx.com ([216.17.153.58]:43980)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bob@proulx.com>) id 1Tp0K9-0000he-TV
	for coreutils@gnu.org; Sat, 29 Dec 2012 12:35:54 -0500
Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119])
	by joseki.proulx.com (Postfix) with ESMTP id DA045211DF
	for <coreutils@gnu.org>; Sat, 29 Dec 2012 10:35:52 -0700 (MST)
Received: by hysteria.proulx.com (Postfix, from userid 1000)
	id 8A9C32DCD9; Sat, 29 Dec 2012 10:35:52 -0700 (MST)
Date: Sat, 29 Dec 2012 10:35:52 -0700
From: Bob Proulx <bob@proulx.com>
To: coreutils@gnu.org
Subject: tag -1 stuff
Message-ID: <20121229173552.GA9519@hysteria.proulx.com>
Mail-Followup-To: coreutils@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 216.17.153.58
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Dec 2012 17:35:56 -0000

I figure I better give a report on the usage.

I have been seeing people use -1 to refer to the current bug in the
upstream BTS.  If the control message has the bug number in the
subject then it can extract the number from it and it doesn't need to
be included in the command.  Seemed very convenient.  So without
digging into it deeply I gave it a try on a recent bug reply.

> tag -1 notabug
> close -1
> thanks

But it didn't work for our instance.  I haven't dug into it yet.  But
it didn't work and I received all of the errors back by email from the
robot bugs control processor.  Without looking yet, I will dig into it
later, I think this must be a newer upstream feature and just hasn't
trickled down to us yet.  I probably got impatient trying it out.
But it was just too attractive not to try!

So I thought I would pass that along and let you guys know.  No need
to try it yourself.  I just did the experiment and it isn't available
for us.  At least not yet.  But probably something we can look forward
to having at some point in the future.

Bob


From MAILER-DAEMON Mon Dec 31 08:37:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TpfYW-0000w1-Mn
	for mharc-coreutils@gnu.org; Mon, 31 Dec 2012 08:37:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37718)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TpfYU-0000u3-59
	for coreutils@gnu.org; Mon, 31 Dec 2012 08:37:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TpfYT-0001bF-90
	for coreutils@gnu.org; Mon, 31 Dec 2012 08:37:26 -0500
Received: from moutng.kundenserver.de ([212.227.17.10]:65145)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@bernhard-voelker.de>) id 1TpfYS-0001b0-W3
	for coreutils@gnu.org; Mon, 31 Dec 2012 08:37:25 -0500
Received: from [192.168.1.11] (p4FC3E6F0.dip.t-dialin.net [79.195.230.240])
	by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis)
	id 0MErUc-1To2zw3jVS-00G94g; Mon, 31 Dec 2012 14:37:23 +0100
Message-ID: <50E19512.1030706@bernhard-voelker.de>
Date: Mon, 31 Dec 2012 14:37:22 +0100
From: Bernhard Voelker <mail@bernhard-voelker.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
Subject: Re: [PATCH] maint: adjust NEWS entry wording
References: <87zk0xdj0y.fsf@rho.meyering.net>
In-Reply-To: <87zk0xdj0y.fsf@rho.meyering.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:i89ydhXkX/KDvaWJ5F7JrDjWagwk0S74giClrZZ1ZWO
	eEI5LEr21Cto9oh8Sz9hFkBSmFaQkPAQRLu36R02T2/PFgS+qm
	X8CGpCluGi3JhamaEOQF8Jd0tHPGdUd6XPckIHQjG3GqUcTkPI
	KJPugyFHJzrqGggY9IbgqMm4euaiHdOLP41A+yy6eMKipObfHA
	Yz25kOVmRcFEfrBd9tQ7YCOhkFvW8SnZxNlxIzCWQ7DUpEJRBD
	N+6Kc7ajV6RINGCzNlgHqQDy34eJESJyUGA/9iHiN+RNzqGpYl
	BNJqjvCv2ZsqYO57K5AimqgP9/SUZ7v/YbGbxvhfGiOwrz9F65
	xAEDpPj+0K26+HlCHTeVs4TbXjmu/PgJ8xOB/8Q0e
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.10
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Dec 2012 13:37:27 -0000


On 12/29/2012 03:34 PM, Jim Meyering wrote:
> I've made a few changes as I read through the recent NEWS entries:

Thanks.
+1

Have a nice day,
Berny


From MAILER-DAEMON Mon Dec 31 10:22:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TphC6-0004z2-7P
	for mharc-coreutils@gnu.org; Mon, 31 Dec 2012 10:22:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49967)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TphBy-0004xz-V1
	for coreutils@gnu.org; Mon, 31 Dec 2012 10:22:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TphBu-00034y-DW
	for coreutils@gnu.org; Mon, 31 Dec 2012 10:22:18 -0500
Received: from mx.meyering.net ([88.168.87.75]:50459)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TphBu-00034s-6k
	for coreutils@gnu.org; Mon, 31 Dec 2012 10:22:14 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 6F8056026C;
	Mon, 31 Dec 2012 16:22:12 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Subject: Re: [PATCH] maint: adjust NEWS entry wording
In-Reply-To: <50E19512.1030706@bernhard-voelker.de> (Bernhard Voelker's
	message of "Mon, 31 Dec 2012 14:37:22 +0100")
References: <87zk0xdj0y.fsf@rho.meyering.net>
	<50E19512.1030706@bernhard-voelker.de>
Date: Mon, 31 Dec 2012 16:22:12 +0100
Message-ID: <874nj2ckm3.fsf@rho.meyering.net>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: coreutils@gnu.org
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Dec 2012 15:22:24 -0000

Bernhard Voelker wrote:
> On 12/29/2012 03:34 PM, Jim Meyering wrote:
>> I've made a few changes as I read through the recent NEWS entries:
>
> Thanks.
> +1

Thanks for the review.  Pushed.


From MAILER-DAEMON Mon Dec 31 23:14:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TptFJ-0003pH-W4
	for mharc-coreutils@gnu.org; Mon, 31 Dec 2012 23:14:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33129)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TptFF-0003nm-0s
	for coreutils@gnu.org; Mon, 31 Dec 2012 23:14:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TptFB-0006OH-Gt
	for coreutils@gnu.org; Mon, 31 Dec 2012 23:14:28 -0500
Received: from mx.meyering.net ([88.168.87.75]:51180)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TptFA-0006O9-PF
	for coreutils@gnu.org; Mon, 31 Dec 2012 23:14:25 -0500
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 3B9E16021C
	for <coreutils@gnu.org>; Tue,  1 Jan 2013 05:14:24 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: coreutils@gnu.org
Subject: [PATCH] maint: update all copyright year number ranges
Date: Tue, 01 Jan 2013 05:14:24 +0100
Message-ID: <87sj6lbkv3.fsf@rho.meyering.net>
Lines: 762
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
X-BeenThere: coreutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: GNU coreutils General Discussion <coreutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/coreutils>
List-Post: <mailto:coreutils@gnu.org>
List-Help: <mailto:coreutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/coreutils>,
	<mailto:coreutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Jan 2013 04:14:32 -0000

We don't like "make syntax-check" failures :-)
I've updated to the latest in gnulib, and updated copyright years
in coreutils.  All tests still pass, at least on Fedora 17, 18,
and rawhide (all x86_64).

>From a4838da139dde3739d9046153809939b8ccfe72d Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Tue, 1 Jan 2013 03:54:41 +0100
Subject: [PATCH 1/2] build: update gnulib submodule to latest

---
 gnulib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnulib b/gnulib
index d245e6d..9fc8109 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit d245e6ddd6ab2624d0d83acd8f111454f984f50f
+Subproject commit 9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e
--
1.8.1.rc3.27.g3b73c7d


>From 77da73c75432f3c5b4beebae7b0797a1e33160bc Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Tue, 1 Jan 2013 03:54:51 +0100
Subject: [PATCH 2/2] maint: update all copyright year number ranges

Run "make update-copyright", but then also run this,
  perl -pi -e 's/2\d\d\d-//' tests/sample-test
to make that one script use the single most recent year number.
---
 .vg-suppressions                             | 2 +-
 ChangeLog-2005                               | 2 +-
 ChangeLog-2006                               | 2 +-
 ChangeLog-2007                               | 2 +-
 ChangeLog-2008                               | 2 +-
 HACKING                                      | 2 +-
 Makefile.am                                  | 2 +-
 NEWS                                         | 2 +-
 README                                       | 2 +-
 README-hacking                               | 2 +-
 README-valgrind                              | 2 +-
 TODO                                         | 2 +-
 bootstrap                                    | 2 +-
 bootstrap.conf                               | 2 +-
 build-aux/ChangeLog-2007                     | 2 +-
 cfg.mk                                       | 2 +-
 configure.ac                                 | 2 +-
 doc/ChangeLog-2007                           | 2 +-
 doc/coreutils.texi                           | 2 +-
 doc/local.mk                                 | 2 +-
 doc/perm.texi                                | 2 +-
 gl/lib/buffer-lcm.c                          | 2 +-
 gl/lib/fadvise.c                             | 2 +-
 gl/lib/fadvise.h                             | 2 +-
 gl/lib/fd-reopen.c                           | 2 +-
 gl/lib/fd-reopen.h                           | 2 +-
 gl/lib/heap.c                                | 2 +-
 gl/lib/heap.h                                | 2 +-
 gl/lib/mbsalign.c                            | 2 +-
 gl/lib/mbsalign.h                            | 2 +-
 gl/lib/rand-isaac.c                          | 2 +-
 gl/lib/rand-isaac.h                          | 2 +-
 gl/lib/randint.c                             | 2 +-
 gl/lib/randint.h                             | 2 +-
 gl/lib/randperm.c                            | 2 +-
 gl/lib/randread.c                            | 2 +-
 gl/lib/randread.h                            | 2 +-
 gl/lib/root-dev-ino.c                        | 2 +-
 gl/lib/root-dev-ino.h                        | 2 +-
 gl/lib/strintcmp.c                           | 2 +-
 gl/lib/strnumcmp-in.h                        | 2 +-
 gl/lib/strnumcmp.c                           | 2 +-
 gl/lib/xfts.c                                | 2 +-
 gl/tests/test-fadvise.c                      | 2 +-
 gl/tests/test-mbsalign.c                     | 2 +-
 gl/tests/test-rand-isaac.c                   | 2 +-
 init.cfg                                     | 2 +-
 lib/ChangeLog-2007                           | 2 +-
 lib/t-chdir-long                             | 2 +-
 m4/ChangeLog-2007                            | 2 +-
 m4/boottime.m4                               | 2 +-
 m4/check-decl.m4                             | 2 +-
 m4/gmp.m4                                    | 2 +-
 m4/include-exclude-prog.m4                   | 2 +-
 m4/jm-macros.m4                              | 2 +-
 m4/prereq.m4                                 | 2 +-
 m4/stat-prog.m4                              | 2 +-
 m4/xattr.m4                                  | 2 +-
 man/chmod.x                                  | 2 +-
 man/chown.x                                  | 2 +-
 man/df.x                                     | 2 +-
 man/du.x                                     | 2 +-
 man/help2man                                 | 2 +-
 man/local.mk                                 | 2 +-
 man/rm.x                                     | 2 +-
 man/stdbuf.x                                 | 2 +-
 old/fileutils/ChangeLog                      | 2 +-
 old/fileutils/ChangeLog-1997                 | 2 +-
 old/fileutils/NEWS                           | 2 +-
 old/sh-utils/ChangeLog                       | 2 +-
 old/sh-utils/ChangeLog.0                     | 2 +-
 old/sh-utils/NEWS                            | 2 +-
 old/textutils/ChangeLog                      | 2 +-
 old/textutils/NEWS                           | 2 +-
 po/ChangeLog-2007                            | 2 +-
 po/POTFILES.in                               | 2 +-
 src/base64.c                                 | 2 +-
 src/basename.c                               | 2 +-
 src/cat.c                                    | 2 +-
 src/chcon.c                                  | 2 +-
 src/chgrp.c                                  | 2 +-
 src/chmod.c                                  | 2 +-
 src/chown-core.c                             | 2 +-
 src/chown-core.h                             | 2 +-
 src/chown.c                                  | 2 +-
 src/chroot.c                                 | 2 +-
 src/cksum.c                                  | 2 +-
 src/comm.c                                   | 2 +-
 src/copy.c                                   | 2 +-
 src/copy.h                                   | 2 +-
 src/cp-hash.c                                | 2 +-
 src/cp.c                                     | 2 +-
 src/csplit.c                                 | 2 +-
 src/cut.c                                    | 2 +-
 src/date.c                                   | 2 +-
 src/dcgen                                    | 2 +-
 src/dd.c                                     | 2 +-
 src/df.c                                     | 2 +-
 src/dircolors.c                              | 2 +-
 src/dircolors.hin                            | 2 +-
 src/dirname.c                                | 2 +-
 src/du-tests                                 | 2 +-
 src/du.c                                     | 2 +-
 src/echo.c                                   | 2 +-
 src/env.c                                    | 2 +-
 src/expand.c                                 | 2 +-
 src/expr.c                                   | 2 +-
 src/extent-scan.c                            | 2 +-
 src/extent-scan.h                            | 2 +-
 src/extract-magic                            | 2 +-
 src/factor.c                                 | 2 +-
 src/find-mount-point.c                       | 2 +-
 src/find-mount-point.h                       | 2 +-
 src/fmt.c                                    | 2 +-
 src/fold.c                                   | 2 +-
 src/getlimits.c                              | 2 +-
 src/group-list.c                             | 2 +-
 src/group-list.h                             | 2 +-
 src/groups.c                                 | 2 +-
 src/head.c                                   | 2 +-
 src/hostid.c                                 | 2 +-
 src/hostname.c                               | 2 +-
 src/id.c                                     | 2 +-
 src/install.c                                | 2 +-
 src/ioblksize.h                              | 2 +-
 src/join.c                                   | 2 +-
 src/kill.c                                   | 2 +-
 src/libstdbuf.c                              | 2 +-
 src/link.c                                   | 2 +-
 src/ln.c                                     | 2 +-
 src/local.mk                                 | 2 +-
 src/logname.c                                | 2 +-
 src/longlong.h                               | 3 +--
 src/ls.c                                     | 2 +-
 src/make-prime-list.c                        | 2 +-
 src/md5sum.c                                 | 2 +-
 src/mkdir.c                                  | 2 +-
 src/mkfifo.c                                 | 2 +-
 src/mknod.c                                  | 2 +-
 src/mktemp.c                                 | 2 +-
 src/mv.c                                     | 2 +-
 src/nice.c                                   | 2 +-
 src/nl.c                                     | 2 +-
 src/nohup.c                                  | 2 +-
 src/nproc.c                                  | 2 +-
 src/od.c                                     | 2 +-
 src/operand2sig.c                            | 2 +-
 src/operand2sig.h                            | 2 +-
 src/paste.c                                  | 2 +-
 src/pathchk.c                                | 2 +-
 src/pinky.c                                  | 2 +-
 src/pr.c                                     | 2 +-
 src/printenv.c                               | 2 +-
 src/printf.c                                 | 2 +-
 src/prog-fprintf.c                           | 2 +-
 src/prog-fprintf.h                           | 2 +-
 src/ptx.c                                    | 2 +-
 src/pwd.c                                    | 2 +-
 src/readlink.c                               | 2 +-
 src/realpath.c                               | 2 +-
 src/relpath.c                                | 2 +-
 src/relpath.h                                | 2 +-
 src/remove.c                                 | 2 +-
 src/remove.h                                 | 2 +-
 src/rm.c                                     | 2 +-
 src/rmdir.c                                  | 2 +-
 src/runcon.c                                 | 2 +-
 src/seq.c                                    | 2 +-
 src/setuidgid.c                              | 2 +-
 src/shred.c                                  | 2 +-
 src/shuf.c                                   | 2 +-
 src/sleep.c                                  | 2 +-
 src/sort.c                                   | 2 +-
 src/split.c                                  | 2 +-
 src/stat.c                                   | 2 +-
 src/stdbuf.c                                 | 2 +-
 src/stty.c                                   | 2 +-
 src/sum.c                                    | 2 +-
 src/sync.c                                   | 2 +-
 src/system.h                                 | 2 +-
 src/tac-pipe.c                               | 2 +-
 src/tac.c                                    | 2 +-
 src/tail.c                                   | 2 +-
 src/tee.c                                    | 2 +-
 src/test.c                                   | 2 +-
 src/timeout.c                                | 2 +-
 src/touch.c                                  | 2 +-
 src/tr.c                                     | 2 +-
 src/true.c                                   | 2 +-
 src/truncate.c                               | 2 +-
 src/tsort.c                                  | 2 +-
 src/tty.c                                    | 2 +-
 src/uname.c                                  | 2 +-
 src/unexpand.c                               | 2 +-
 src/uniq.c                                   | 2 +-
 src/unlink.c                                 | 2 +-
 src/uptime.c                                 | 2 +-
 src/users.c                                  | 2 +-
 src/wc.c                                     | 2 +-
 src/who.c                                    | 2 +-
 src/whoami.c                                 | 2 +-
 src/yes.c                                    | 2 +-
 tests/Coreutils.pm                           | 2 +-
 tests/CuSkip.pm                              | 2 +-
 tests/CuTmpdir.pm                            | 2 +-
 tests/chgrp/basic.sh                         | 2 +-
 tests/chgrp/default-no-deref.sh              | 2 +-
 tests/chgrp/deref.sh                         | 2 +-
 tests/chgrp/no-x.sh                          | 2 +-
 tests/chgrp/posix-H.sh                       | 2 +-
 tests/chgrp/recurse.sh                       | 2 +-
 tests/chmod/c-option.sh                      | 2 +-
 tests/chmod/equal-x.sh                       | 2 +-
 tests/chmod/equals.sh                        | 2 +-
 tests/chmod/inaccessible.sh                  | 2 +-
 tests/chmod/no-x.sh                          | 2 +-
 tests/chmod/octal.sh                         | 2 +-
 tests/chmod/setgid.sh                        | 2 +-
 tests/chmod/silent.sh                        | 2 +-
 tests/chmod/thru-dangling.sh                 | 2 +-
 tests/chmod/umask-x.sh                       | 2 +-
 tests/chmod/usage.sh                         | 2 +-
 tests/chown/basic.sh                         | 2 +-
 tests/chown/deref.sh                         | 2 +-
 tests/chown/preserve-root.sh                 | 2 +-
 tests/chown/separator.sh                     | 2 +-
 tests/cp/abuse.sh                            | 2 +-
 tests/cp/acl.sh                              | 2 +-
 tests/cp/attr-existing.sh                    | 2 +-
 tests/cp/backup-1.sh                         | 2 +-
 tests/cp/backup-dir.sh                       | 2 +-
 tests/cp/backup-is-src.sh                    | 2 +-
 tests/cp/capability.sh                       | 2 +-
 tests/cp/cp-HL.sh                            | 2 +-
 tests/cp/cp-a-selinux.sh                     | 2 +-
 tests/cp/cp-deref.sh                         | 2 +-
 tests/cp/cp-i.sh                             | 2 +-
 tests/cp/cp-mv-backup.sh                     | 2 +-
 tests/cp/cp-mv-enotsup-xattr.sh              | 2 +-
 tests/cp/cp-parents.sh                       | 2 +-
 tests/cp/deref-slink.sh                      | 2 +-
 tests/cp/dir-rm-dest.sh                      | 2 +-
 tests/cp/dir-slash.sh                        | 2 +-
 tests/cp/dir-vs-file.sh                      | 2 +-
 tests/cp/existing-perm-dir.sh                | 2 +-
 tests/cp/existing-perm-race.sh               | 2 +-
 tests/cp/fail-perm.sh                        | 2 +-
 tests/cp/fiemap-2.sh                         | 2 +-
 tests/cp/fiemap-FMR.sh                       | 2 +-
 tests/cp/fiemap-empty.sh                     | 2 +-
 tests/cp/fiemap-perf.sh                      | 2 +-
 tests/cp/file-perm-race.sh                   | 2 +-
 tests/cp/into-self.sh                        | 2 +-
 tests/cp/link-heap.sh                        | 2 +-
 tests/cp/link-no-deref.sh                    | 2 +-
 tests/cp/link-preserve.sh                    | 2 +-
 tests/cp/link-symlink.sh                     | 2 +-
 tests/cp/link.sh                             | 2 +-
 tests/cp/nfs-removal-race.sh                 | 2 +-
 tests/cp/no-deref-link1.sh                   | 2 +-
 tests/cp/no-deref-link2.sh                   | 2 +-
 tests/cp/no-deref-link3.sh                   | 2 +-
 tests/cp/parent-perm-race.sh                 | 2 +-
 tests/cp/parent-perm.sh                      | 2 +-
 tests/cp/perm.sh                             | 2 +-
 tests/cp/preserve-2.sh                       | 2 +-
 tests/cp/preserve-gid.sh                     | 2 +-
 tests/cp/preserve-link.sh                    | 2 +-
 tests/cp/preserve-mode.sh                    | 2 +-
 tests/cp/preserve-slink-time.sh              | 2 +-
 tests/cp/proc-short-read.sh                  | 2 +-
 tests/cp/proc-zero-len.sh                    | 2 +-
 tests/cp/r-vs-symlink.sh                     | 2 +-
 tests/cp/reflink-auto.sh                     | 2 +-
 tests/cp/reflink-perm.sh                     | 2 +-
 tests/cp/same-file.sh                        | 2 +-
 tests/cp/slink-2-slink.sh                    | 2 +-
 tests/cp/sparse-fiemap.sh                    | 2 +-
 tests/cp/sparse-to-pipe.sh                   | 2 +-
 tests/cp/sparse.sh                           | 2 +-
 tests/cp/special-bits.sh                     | 2 +-
 tests/cp/special-f.sh                        | 2 +-
 tests/cp/src-base-dot.sh                     | 2 +-
 tests/cp/symlink-slash.sh                    | 2 +-
 tests/cp/thru-dangling.sh                    | 2 +-
 tests/dd/bytes.sh                            | 2 +-
 tests/dd/direct.sh                           | 2 +-
 tests/dd/misc.sh                             | 2 +-
 tests/dd/nocache.sh                          | 2 +-
 tests/dd/not-rewound.sh                      | 2 +-
 tests/dd/reblock.sh                          | 2 +-
 tests/dd/skip-seek-past-dev.sh               | 2 +-
 tests/dd/skip-seek-past-file.sh              | 2 +-
 tests/dd/skip-seek.pl                        | 2 +-
 tests/dd/skip-seek2.sh                       | 2 +-
 tests/dd/sparse.sh                           | 2 +-
 tests/dd/stderr.sh                           | 2 +-
 tests/dd/unblock-sync.sh                     | 2 +-
 tests/dd/unblock.pl                          | 2 +-
 tests/df/df-P.sh                             | 2 +-
 tests/df/df-output.sh                        | 2 +-
 tests/df/header.sh                           | 2 +-
 tests/df/no-mtab-status.sh                   | 2 +-
 tests/df/problematic-chars.sh                | 2 +-
 tests/df/skip-duplicates.sh                  | 2 +-
 tests/df/skip-rootfs.sh                      | 2 +-
 tests/df/total-unprocessed.sh                | 2 +-
 tests/df/total-verify.sh                     | 2 +-
 tests/df/unreadable.sh                       | 2 +-
 tests/du/2g.sh                               | 2 +-
 tests/du/8gb.sh                              | 2 +-
 tests/du/basic.sh                            | 2 +-
 tests/du/bigtime.sh                          | 2 +-
 tests/du/bind-mount-dir-cycle.sh             | 2 +-
 tests/du/deref-args.sh                       | 2 +-
 tests/du/deref.sh                            | 2 +-
 tests/du/exclude.sh                          | 2 +-
 tests/du/fd-leak.sh                          | 2 +-
 tests/du/files0-from-dir.sh                  | 2 +-
 tests/du/files0-from.pl                      | 2 +-
 tests/du/hard-link.sh                        | 2 +-
 tests/du/inacc-dest.sh                       | 2 +-
 tests/du/inacc-dir.sh                        | 2 +-
 tests/du/inaccessible-cwd.sh                 | 2 +-
 tests/du/long-from-unreadable.sh             | 2 +-
 tests/du/long-sloop.sh                       | 2 +-
 tests/du/max-depth.sh                        | 2 +-
 tests/du/move-dir-while-traversing.sh        | 2 +-
 tests/du/no-deref.sh                         | 2 +-
 tests/du/no-x.sh                             | 2 +-
 tests/du/one-file-system.sh                  | 2 +-
 tests/du/restore-wd.sh                       | 2 +-
 tests/du/slash.sh                            | 2 +-
 tests/du/slink.sh                            | 2 +-
 tests/du/trailing-slash.sh                   | 2 +-
 tests/du/two-args.sh                         | 2 +-
 tests/envvar-check                           | 2 +-
 tests/factor/create-test.sh                  | 2 +-
 tests/factor/run.sh                          | 2 +-
 tests/fmt/base.pl                            | 2 +-
 tests/fmt/goal-option.sh                     | 2 +-
 tests/fmt/long-line.sh                       | 2 +-
 tests/id/gnu-zero-uids.sh                    | 2 +-
 tests/id/no-context.sh                       | 2 +-
 tests/init.sh                                | 2 +-
 tests/install/basic-1.sh                     | 2 +-
 tests/install/create-leading.sh              | 2 +-
 tests/install/d-slashdot.sh                  | 2 +-
 tests/install/install-C-root.sh              | 2 +-
 tests/install/install-C-selinux.sh           | 2 +-
 tests/install/install-C.sh                   | 2 +-
 tests/install/strip-program.sh               | 2 +-
 tests/install/trap.sh                        | 2 +-
 tests/ln/backup-1.sh                         | 2 +-
 tests/ln/hard-backup.sh                      | 2 +-
 tests/ln/hard-to-sym.sh                      | 2 +-
 tests/ln/misc.sh                             | 2 +-
 tests/ln/relative.sh                         | 2 +-
 tests/ln/sf-1.sh                             | 2 +-
 tests/ln/slash-decorated-nonexistent-dest.sh | 2 +-
 tests/ln/target-1.sh                         | 2 +-
 tests/local.mk                               | 2 +-
 tests/ls/abmon-align.sh                      | 2 +-
 tests/ls/block-size.sh                       | 2 +-
 tests/ls/capability.sh                       | 2 +-
 tests/ls/color-clear-to-eol.sh               | 2 +-
 tests/ls/color-dtype-dir.sh                  | 2 +-
 tests/ls/color-norm.sh                       | 2 +-
 tests/ls/dangle.sh                           | 2 +-
 tests/ls/dired.sh                            | 2 +-
 tests/ls/file-type.sh                        | 2 +-
 tests/ls/follow-slink.sh                     | 2 +-
 tests/ls/getxattr-speedup.sh                 | 2 +-
 tests/ls/infloop.sh                          | 2 +-
 tests/ls/inode.sh                            | 2 +-
 tests/ls/m-option.sh                         | 2 +-
 tests/ls/multihardlink.sh                    | 2 +-
 tests/ls/nameless-uid.sh                     | 2 +-
 tests/ls/no-arg.sh                           | 2 +-
 tests/ls/no-cap.sh                           | 2 +-
 tests/ls/proc-selinux-segfault.sh            | 2 +-
 tests/ls/readdir-mountpoint-inode.sh         | 2 +-
 tests/ls/recursive.sh                        | 2 +-
 tests/ls/root-rel-symlink-color.sh           | 2 +-
 tests/ls/rt-1.sh                             | 2 +-
 tests/ls/slink-acl.sh                        | 2 +-
 tests/ls/stat-dtype.sh                       | 2 +-
 tests/ls/stat-failed.sh                      | 2 +-
 tests/ls/stat-free-color.sh                  | 2 +-
 tests/ls/stat-free-symlinks.sh               | 2 +-
 tests/ls/stat-vs-dirent.sh                   | 2 +-
 tests/ls/symlink-slash.sh                    | 2 +-
 tests/ls/time-style-diag.sh                  | 2 +-
 tests/ls/x-option.sh                         | 2 +-
 tests/misc/arch.sh                           | 2 +-
 tests/misc/base64.pl                         | 2 +-
 tests/misc/basename.pl                       | 2 +-
 tests/misc/cat-buf.sh                        | 2 +-
 tests/misc/cat-proc.sh                       | 2 +-
 tests/misc/chcon-fail.sh                     | 2 +-
 tests/misc/chcon.sh                          | 2 +-
 tests/misc/chroot-credentials.sh             | 2 +-
 tests/misc/chroot-fail.sh                    | 2 +-
 tests/misc/close-stdout.sh                   | 2 +-
 tests/misc/comm.pl                           | 2 +-
 tests/misc/csplit-1000.sh                    | 2 +-
 tests/misc/csplit-heap.sh                    | 2 +-
 tests/misc/csplit.sh                         | 2 +-
 tests/misc/cut-huge-to-eol-range.sh          | 2 +-
 tests/misc/cut.pl                            | 2 +-
 tests/misc/date-next-dow.pl                  | 2 +-
 tests/misc/date-sec.sh                       | 2 +-
 tests/misc/date.pl                           | 2 +-
 tests/misc/dircolors.pl                      | 2 +-
 tests/misc/dirname.pl                        | 2 +-
 tests/misc/env-null.sh                       | 2 +-
 tests/misc/env.sh                            | 2 +-
 tests/misc/expand.pl                         | 2 +-
 tests/misc/expr.pl                           | 2 +-
 tests/misc/factor.pl                         | 2 +-
 tests/misc/false-status.sh                   | 2 +-
 tests/misc/fold.pl                           | 2 +-
 tests/misc/groups-dash.sh                    | 2 +-
 tests/misc/groups-version.sh                 | 2 +-
 tests/misc/head-c.sh                         | 2 +-
 tests/misc/head-elide-tail.pl                | 2 +-
 tests/misc/head-pos.sh                       | 2 +-
 tests/misc/head.pl                           | 2 +-
 tests/misc/help-version.sh                   | 2 +-
 tests/misc/id-context.sh                     | 2 +-
 tests/misc/id-groups.sh                      | 2 +-
 tests/misc/id-setgid.sh                      | 2 +-
 tests/misc/invalid-opt.pl                    | 2 +-
 tests/misc/join.pl                           | 2 +-
 tests/misc/ls-misc.pl                        | 2 +-
 tests/misc/ls-time.sh                        | 2 +-
 tests/misc/md5sum-bsd.sh                     | 2 +-
 tests/misc/md5sum-newline.pl                 | 2 +-
 tests/misc/md5sum-parallel.sh                | 2 +-
 tests/misc/md5sum.pl                         | 2 +-
 tests/misc/mknod.sh                          | 2 +-
 tests/misc/mktemp.pl                         | 2 +-
 tests/misc/nice-fail.sh                      | 2 +-
 tests/misc/nice.sh                           | 2 +-
 tests/misc/nl.sh                             | 2 +-
 tests/misc/nohup.sh                          | 2 +-
 tests/misc/nproc-avail.sh                    | 2 +-
 tests/misc/nproc-positive.sh                 | 2 +-
 tests/misc/od-N.sh                           | 2 +-
 tests/misc/od-float.sh                       | 2 +-
 tests/misc/od-multiple-t.sh                  | 2 +-
 tests/misc/od-x8.sh                          | 2 +-
 tests/misc/od.pl                             | 2 +-
 tests/misc/paste.pl                          | 2 +-
 tests/misc/pathchk1.sh                       | 2 +-
 tests/misc/printenv.sh                       | 2 +-
 tests/misc/printf-cov.pl                     | 2 +-
 tests/misc/printf-hex.sh                     | 2 +-
 tests/misc/printf-surprise.sh                | 2 +-
 tests/misc/printf.sh                         | 2 +-
 tests/misc/ptx-overrun.sh                    | 2 +-
 tests/misc/ptx.pl                            | 2 +-
 tests/misc/pwd-long.sh                       | 2 +-
 tests/misc/pwd-option.sh                     | 2 +-
 tests/misc/readlink-fp-loop.sh               | 2 +-
 tests/misc/readlink-root.sh                  | 2 +-
 tests/misc/realpath.sh                       | 2 +-
 tests/misc/runcon-no-reorder.sh              | 2 +-
 tests/misc/selinux.sh                        | 2 +-
 tests/misc/seq-long-double.sh                | 2 +-
 tests/misc/seq.pl                            | 2 +-
 tests/misc/sha1sum-vec.pl                    | 2 +-
 tests/misc/sha1sum.pl                        | 2 +-
 tests/misc/sha224sum.pl                      | 2 +-
 tests/misc/sha256sum.pl                      | 2 +-
 tests/misc/sha384sum.pl                      | 2 +-
 tests/misc/sha512sum.pl                      | 2 +-
 tests/misc/shred-exact.sh                    | 2 +-
 tests/misc/shred-passes.sh                   | 2 +-
 tests/misc/shred-remove.sh                   | 2 +-
 tests/misc/shuf.sh                           | 2 +-
 tests/misc/sort-NaN-infloop.sh               | 2 +-
 tests/misc/sort-benchmark-random.sh          | 2 +-
 tests/misc/sort-compress-hang.sh             | 2 +-
 tests/misc/sort-compress-proc.sh             | 2 +-
 tests/misc/sort-compress.sh                  | 2 +-
 tests/misc/sort-continue.sh                  | 2 +-
 tests/misc/sort-debug-keys.sh                | 2 +-
 tests/misc/sort-debug-warn.sh                | 2 +-
 tests/misc/sort-discrim.sh                   | 2 +-
 tests/misc/sort-exit-early.sh                | 2 +-
 tests/misc/sort-files0-from.pl               | 2 +-
 tests/misc/sort-float.sh                     | 2 +-
 tests/misc/sort-merge-fdlimit.sh             | 2 +-
 tests/misc/sort-merge.pl                     | 2 +-
 tests/misc/sort-month.sh                     | 2 +-
 tests/misc/sort-rand.sh                      | 2 +-
 tests/misc/sort-spinlock-abuse.sh            | 2 +-
 tests/misc/sort-stale-thread-mem.sh          | 2 +-
 tests/misc/sort-u-FMR.sh                     | 2 +-
 tests/misc/sort-unique-segv.sh               | 2 +-
 tests/misc/sort-unique.sh                    | 2 +-
 tests/misc/sort-version.sh                   | 2 +-
 tests/misc/sort.pl                           | 2 +-
 tests/misc/stat-birthtime.sh                 | 2 +-
 tests/misc/stat-fmt.sh                       | 2 +-
 tests/misc/stat-hyphen.sh                    | 2 +-
 tests/misc/stat-mount.sh                     | 2 +-
 tests/misc/stat-nanoseconds.sh               | 2 +-
 tests/misc/stat-printf.pl                    | 2 +-
 tests/misc/stat-slash.sh                     | 2 +-
 tests/misc/stdbuf.sh                         | 2 +-
 tests/misc/stty-invalid.sh                   | 2 +-
 tests/misc/stty-pairs.sh                     | 2 +-
 tests/misc/stty-row-col.sh                   | 2 +-
 tests/misc/stty.sh                           | 2 +-
 tests/misc/sum-sysv.sh                       | 2 +-
 tests/misc/sum.pl                            | 2 +-
 tests/misc/tac-2-nonseekable.sh              | 2 +-
 tests/misc/tac-continue.sh                   | 2 +-
 tests/misc/tac.pl                            | 2 +-
 tests/misc/tail.pl                           | 2 +-
 tests/misc/tee-dash.sh                       | 2 +-
 tests/misc/tee.sh                            | 2 +-
 tests/misc/test-diag.pl                      | 2 +-
 tests/misc/test.pl                           | 2 +-
 tests/misc/timeout-group.sh                  | 2 +-
 tests/misc/timeout-parameters.sh             | 2 +-
 tests/misc/timeout.sh                        | 2 +-
 tests/misc/tr-case-class.sh                  | 2 +-
 tests/misc/tr.pl                             | 2 +-
 tests/misc/truncate-dangling-symlink.sh      | 2 +-
 tests/misc/truncate-dir-fail.sh              | 2 +-
 tests/misc/truncate-fail-diag.sh             | 2 +-
 tests/misc/truncate-fifo.sh                  | 2 +-
 tests/misc/truncate-no-create-missing.sh     | 2 +-
 tests/misc/truncate-overflow.sh              | 2 +-
 tests/misc/truncate-owned-by-other.sh        | 2 +-
 tests/misc/truncate-parameters.sh            | 2 +-
 tests/misc/truncate-relative.sh              | 2 +-
 tests/misc/tsort.pl                          | 2 +-
 tests/misc/tty-eof.pl                        | 2 +-
 tests/misc/unexpand.pl                       | 2 +-
 tests/misc/uniq-perf.sh                      | 2 +-
 tests/misc/uniq.pl                           | 2 +-
 tests/misc/wc-files0-from.pl                 | 2 +-
 tests/misc/wc-files0.sh                      | 2 +-
 tests/misc/wc-parallel.sh                    | 2 +-
 tests/misc/wc.pl                             | 2 +-
 tests/misc/xattr.sh                          | 2 +-
 tests/misc/xstrtol.pl                        | 2 +-
 tests/mkdir/p-1.sh                           | 2 +-
 tests/mkdir/p-2.sh                           | 2 +-
 tests/mkdir/p-3.sh                           | 2 +-
 tests/mkdir/p-slashdot.sh                    | 2 +-
 tests/mkdir/p-thru-slink.sh                  | 2 +-
 tests/mkdir/p-v.sh                           | 2 +-
 tests/mkdir/parents.sh                       | 2 +-
 tests/mkdir/perm.sh                          | 2 +-
 tests/mkdir/selinux.sh                       | 2 +-
 tests/mkdir/special-1.sh                     | 2 +-
 tests/mkdir/t-slash.sh                       | 2 +-
 tests/mkdir/writable-under-readonly.sh       | 2 +-
 tests/mv/acl.sh                              | 2 +-
 tests/mv/atomic.sh                           | 2 +-
 tests/mv/atomic2.sh                          | 2 +-
 tests/mv/backup-dir.sh                       | 2 +-
 tests/mv/backup-is-src.sh                    | 2 +-
 tests/mv/childproof.sh                       | 2 +-
 tests/mv/diag.sh                             | 2 +-
 tests/mv/dir-file.sh                         | 2 +-
 tests/mv/dir2dir.sh                          | 2 +-
 tests/mv/dup-source.sh                       | 2 +-
 tests/mv/force.sh                            | 2 +-
 tests/mv/hard-2.sh                           | 2 +-
 tests/mv/hard-3.sh                           | 2 +-
 tests/mv/hard-4.sh                           | 2 +-
 tests/mv/hard-link-1.sh                      | 2 +-
 tests/mv/hard-verbose.sh                     | 2 +-
 tests/mv/i-1.pl                              | 2 +-
 tests/mv/i-2.sh                              | 2 +-
 tests/mv/i-3.sh                              | 2 +-
 tests/mv/i-4.sh                              | 2 +-
 tests/mv/i-5.sh                              | 2 +-
 tests/mv/i-link-no.sh                        | 2 +-
 tests/mv/into-self-2.sh                      | 2 +-
 tests/mv/into-self-3.sh                      | 2 +-
 tests/mv/into-self-4.sh                      | 2 +-
 tests/mv/into-self.sh                        | 2 +-
 tests/mv/leak-fd.sh                          | 2 +-
 tests/mv/mv-n.sh                             | 2 +-
 tests/mv/mv-special-1.sh                     | 2 +-
 tests/mv/no-target-dir.sh                    | 2 +-
 tests/mv/part-fail.sh                        | 2 +-
 tests/mv/part-hardlink.sh                    | 2 +-
 tests/mv/part-rename.sh                      | 2 +-
 tests/mv/part-symlink.sh                     | 2 +-
 tests/mv/partition-perm.sh                   | 2 +-
 tests/mv/perm-1.sh                           | 2 +-
 tests/mv/sticky-to-xpart.sh                  | 2 +-
 tests/mv/symlink-onto-hardlink-to-self.sh    | 2 +-
 tests/mv/symlink-onto-hardlink.sh            | 2 +-
 tests/mv/to-symlink.sh                       | 2 +-
 tests/mv/trailing-slash.sh                   | 2 +-
 tests/mv/update.sh                           | 2 +-
 tests/mv/vfat                                | 2 +-
 tests/other-fs-tmpdir                        | 2 +-
 tests/pr/pr-tests.pl                         | 2 +-
 tests/readlink/can-e.sh                      | 2 +-
 tests/readlink/can-f.sh                      | 2 +-
 tests/readlink/can-m.sh                      | 2 +-
 tests/readlink/multi.sh                      | 2 +-
 tests/readlink/rl-1.sh                       | 2 +-
 tests/rm/cycle.sh                            | 2 +-
 tests/rm/d-1.sh                              | 2 +-
 tests/rm/d-2.sh                              | 2 +-
 tests/rm/d-3.sh                              | 2 +-
 tests/rm/dangling-symlink.sh                 | 2 +-
 tests/rm/deep-1.sh                           | 2 +-
 tests/rm/deep-2.sh                           | 2 +-
 tests/rm/dir-no-w.sh                         | 2 +-
 tests/rm/dir-nonrecur.sh                     | 2 +-
 tests/rm/dot-rel.sh                          | 2 +-
 tests/rm/empty-inacc.sh                      | 2 +-
 tests/rm/empty-name.pl                       | 2 +-
 tests/rm/ext3-perf.sh                        | 2 +-
 tests/rm/f-1.sh                              | 2 +-
 tests/rm/fail-2eperm.sh                      | 2 +-
 tests/rm/fail-eacces.sh                      | 2 +-
 tests/rm/fail-eperm.xpl                      | 2 +-
 tests/rm/hash.sh                             | 2 +-
 tests/rm/i-1.sh                              | 2 +-
 tests/rm/i-never.sh                          | 2 +-
 tests/rm/i-no-r.sh                           | 2 +-
 tests/rm/ignorable.sh                        | 2 +-
 tests/rm/inaccessible.sh                     | 2 +-
 tests/rm/interactive-always.sh               | 2 +-
 tests/rm/interactive-once.sh                 | 2 +-
 tests/rm/ir-1.sh                             | 2 +-
 tests/rm/isatty.sh                           | 2 +-
 tests/rm/many-dir-entries-vs-OOM.sh          | 2 +-
 tests/rm/no-give-up.sh                       | 2 +-
 tests/rm/one-file-system.sh                  | 2 +-
 tests/rm/one-file-system2.sh                 | 2 +-
 tests/rm/r-1.sh                              | 2 +-
 tests/rm/r-2.sh                              | 2 +-
 tests/rm/r-3.sh                              | 2 +-
 tests/rm/r-4.sh                              | 2 +-
 tests/rm/read-only.sh                        | 2 +-
 tests/rm/readdir-bug.sh                      | 2 +-
 tests/rm/rm1.sh                              | 2 +-
 tests/rm/rm2.sh                              | 2 +-
 tests/rm/rm3.sh                              | 2 +-
 tests/rm/rm4.sh                              | 2 +-
 tests/rm/rm5.sh                              | 2 +-
 tests/rm/sunos-1.sh                          | 2 +-
 tests/rm/unread2.sh                          | 2 +-
 tests/rm/unread3.sh                          | 2 +-
 tests/rm/unreadable.pl                       | 2 +-
 tests/rm/v-slash.sh                          | 2 +-
 tests/rmdir/fail-perm.sh                     | 2 +-
 tests/rmdir/ignore.sh                        | 2 +-
 tests/rmdir/t-slash.sh                       | 2 +-
 tests/sample-test                            | 2 +-
 tests/split/additional-suffix.sh             | 2 +-
 tests/split/b-chunk.sh                       | 2 +-
 tests/split/fail.sh                          | 2 +-
 tests/split/filter.sh                        | 2 +-
 tests/split/guard-input.sh                   | 2 +-
 tests/split/l-chunk.sh                       | 2 +-
 tests/split/lines.sh                         | 2 +-
 tests/split/numeric.sh                       | 2 +-
 tests/split/r-chunk.sh                       | 2 +-
 tests/split/suffix-auto-length.sh            | 2 +-
 tests/split/suffix-length.sh                 | 2 +-
 tests/tail-2/F-vs-missing.sh                 | 2 +-
 tests/tail-2/F-vs-rename.sh                  | 2 +-
 tests/tail-2/append-only.sh                  | 2 +-
 tests/tail-2/assert-2.sh                     | 2 +-
 tests/tail-2/assert.sh                       | 2 +-
 tests/tail-2/big-4gb.sh                      | 2 +-
 tests/tail-2/flush-initial.sh                | 2 +-
 tests/tail-2/follow-name.sh                  | 2 +-
 tests/tail-2/follow-stdin.sh                 | 2 +-
 tests/tail-2/infloop-1.sh                    | 2 +-
 tests/tail-2/inotify-hash-abuse.sh           | 2 +-
 tests/tail-2/inotify-hash-abuse2.sh          | 2 +-
 tests/tail-2/inotify-race.sh                 | 2 +-
 tests/tail-2/inotify-rotate.sh               | 2 +-
 tests/tail-2/pid.sh                          | 2 +-
 tests/tail-2/pipe-f.sh                       | 2 +-
 tests/tail-2/pipe-f2.sh                      | 2 +-
 tests/tail-2/proc-ksyms.sh                   | 2 +-
 tests/tail-2/start-middle.sh                 | 2 +-
 tests/tail-2/tail-n0f.sh                     | 2 +-
 tests/tail-2/wait.sh                         | 2 +-
 tests/touch/60-seconds.sh                    | 2 +-
 tests/touch/dangling-symlink.sh              | 2 +-
 tests/touch/empty-file.sh                    | 2 +-
 tests/touch/fail-diag.sh                     | 2 +-
 tests/touch/fifo.sh                          | 2 +-
 tests/touch/no-create-missing.sh             | 2 +-
 tests/touch/no-dereference.sh                | 2 +-
 tests/touch/no-rights.sh                     | 2 +-
 tests/touch/not-owner.sh                     | 2 +-
 tests/touch/now-owned-by-other.sh            | 2 +-
 tests/touch/obsolescent.sh                   | 2 +-
 tests/touch/read-only.sh                     | 2 +-
 tests/touch/relative.sh                      | 2 +-
 tests/touch/trailing-slash.sh                | 2 +-
 710 files changed, 710 insertions(+), 711 deletions(-)

...
diff --git a/tests/sample-test b/tests/sample-test
index a67a5dd..0bf4948 100644
--- a/tests/sample-test
+++ b/tests/sample-test
@@ -1,7 +1,7 @@
 #!/bin/sh
 # FIXME

-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2013 Free Software Foundation, Inc.

 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

[most diffs elided]


