GNU bug report logs - #7486
philosophical wishlist

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Severity: wishlist; Reported by: Kjetil Halvorsen <kjetilbrinchmannhalvorsen@HIDDEN>; Keywords: notabug; dated Fri, 26 Nov 2010 16:23:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.
Added tag(s) notabug. Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 7486 <at> debbugs.gnu.org:


Received: (at 7486) by debbugs.gnu.org; 13 Sep 2011 14:33:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 13 10:33:08 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R3U2p-0003E7-Gf
	for submit <at> debbugs.gnu.org; Tue, 13 Sep 2011 10:33:07 -0400
Received: from mx1.redhat.com ([209.132.183.28])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <jim@HIDDEN>) id 1R3U2j-0003Dg-Up
	for 7486 <at> debbugs.gnu.org; Tue, 13 Sep 2011 10:33:02 -0400
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 p8DESU9t031051
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 13 Sep 2011 10:28:30 -0400
Received: from mx.meyering.net (ovpn01.gateway.prod.ext.phx2.redhat.com
	[10.5.9.1])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p8DESFkE008287; Tue, 13 Sep 2011 10:28:28 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 5EB526004E;
	Tue, 13 Sep 2011 16:28:10 +0200 (CEST)
From: Jim Meyering <jim@HIDDEN>
To: Kjetil Halvorsen <kjetilbrinchmannhalvorsen@HIDDEN>
Subject: Re: bug#7486: philosophical wishlist
In-Reply-To: <AANLkTinYeEydij-qwyML3uqOqUqonfo_26iTngXPBX+z@HIDDEN>
	(Kjetil Halvorsen's message of "Fri, 26 Nov 2010 12:47:43 -0300")
References: <AANLkTinYeEydij-qwyML3uqOqUqonfo_26iTngXPBX+z@HIDDEN>
Date: Tue, 13 Sep 2011 16:28:10 +0200
Message-ID: <874o0g1pqd.fsf@HIDDEN>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-Spam-Score: -10.5 (----------)
X-Debbugs-Envelope-To: 7486
Cc: 7486 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -10.5 (----------)

severity 7486 wishlist
tags 7486 + notabug
thanks

Kjetil Halvorsen wrote:
> All the GNU coreutils commands should accept a new flag:
> --example
>
> Which should print a (half)screenfull of instructive examples,
> functioning as a reminder.
>
> This idea is taken from the project Gnu R (www.r-project.org).
> R has a command example(9, which is invokes as
> example(fun)
>
> and then runs the examples from the help-page of fun.
>
> Extremely usefull!

Thanks for the suggestion.
Marking as notabug/wishlist.




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:
bug#7486; Package coreutils. Full text available.

Message received at 7486 <at> debbugs.gnu.org:


Received: (at 7486) by debbugs.gnu.org; 26 Nov 2010 20:57:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 26 15:57:58 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PM5Mk-0007Uc-8P
	for submit <at> debbugs.gnu.org; Fri, 26 Nov 2010 15:57:58 -0500
Received: from mx1.redhat.com ([209.132.183.28])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eblake@HIDDEN>) id 1PM5Mg-0007UP-Vz
	for 7486 <at> debbugs.gnu.org; Fri, 26 Nov 2010 15:57:56 -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.13.8/8.13.8) with ESMTP id oAQL3Kph002381
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 26 Nov 2010 16:03:21 -0500
Received: from [10.3.113.7] ([10.3.113.7])
	by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id oAQL3KRf001029; Fri, 26 Nov 2010 16:03:20 -0500
Message-ID: <4CF02092.7070709@HIDDEN>
Date: Fri, 26 Nov 2010 14:03:14 -0700
From: Eric Blake <eblake@HIDDEN>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6
MIME-Version: 1.0
To: Kjetil Halvorsen <kjetilbrinchmannhalvorsen@HIDDEN>
Subject: Re: bug#7486: philosophical wishlist
References: <AANLkTinYeEydij-qwyML3uqOqUqonfo_26iTngXPBX+z@HIDDEN>
In-Reply-To: <AANLkTinYeEydij-qwyML3uqOqUqonfo_26iTngXPBX+z@HIDDEN>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigA5F5399FE85BBDEEDEDF88C2"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Spam-Score: -10.2 (----------)
X-Debbugs-Envelope-To: 7486
Cc: 7486 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -10.2 (----------)

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

On 11/26/2010 08:47 AM, Kjetil Halvorsen wrote:
> All the GNU coreutils commands should accept a new flag:
> --example
>=20
> Which should print a (half)screenfull of instructive examples,
> functioning as a reminder.
>=20
> This idea is taken from the project Gnu R (www.r-project.org).
> R has a command example(9, which is invokes as
> example(fun)
>=20
> and then runs the examples from the help-page of fun.
>=20
> Extremely usefull!

Thanks for reporting this.  However, you'll need to report this to the
bug-standards@HIDDEN list to get it accepted into the GNU Coding
Standards before we could reasonably ask all GNU programs to consider
adding this functionality.

http://www.gnu.org/software/autoconf/manual/standards.html#Command_002dLi=
ne-Interfaces

--=20
Eric Blake   eblake@HIDDEN    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigA5F5399FE85BBDEEDEDF88C2
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJM8CCXAAoJEKeha0olJ0NquZ4IAJdoX0Nk7/omnPT8j+/I+715
0brm4ZPYRm2tB2UZDGqXuIiHvBrj8papcBtTX/1Z6+9KwpuqVODBMOSDAOc6XO6+
qjmDYZhe2c8gUUYNoJhziOSdNi/+5ZdUrgYCBD5og4NBnu+seGijo8ayvz9nOqu5
85vhgoNYmul68i9raSE24orqUVER1kqvv6S+w4c1TWzaPrMrcd9hRzDhW6NhHfdh
vEEiaDTv5PEg+JO6Typ6/LTXWZxUPwMdZdit5KD97dU9OvYI2ysE7lVTx9QV0IEY
DrvAWCnIXsKT/hcZ6r5qxGDGApENOrh+dKlQ1zbw35h0vWxibnx6tqQPLN9Qv04=
=0PJp
-----END PGP SIGNATURE-----

--------------enigA5F5399FE85BBDEEDEDF88C2--




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:
bug#7486; Package coreutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Nov 2010 16:22:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 26 11:22:16 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PM13w-0001LZ-7Q
	for submit <at> debbugs.gnu.org; Fri, 26 Nov 2010 11:22:16 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <kjetilbrinchmannhalvorsen@HIDDEN>)
	id 1PM0VC-0000Zo-CN
	for submit <at> debbugs.gnu.org; Fri, 26 Nov 2010 10:46:22 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kjetilbrinchmannhalvorsen@HIDDEN>)
	id 1PM0ZC-0001Og-1Y
	for submit <at> debbugs.gnu.org; Fri, 26 Nov 2010 10:51:48 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:38623)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kjetilbrinchmannhalvorsen@HIDDEN>)
	id 1PM0ZB-0001OZ-T1
	for submit <at> debbugs.gnu.org; Fri, 26 Nov 2010 10:50:29 -0500
Received: from [140.186.70.92] (port=57960 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PM0YD-00079R-TF
	for bug-coreutils@HIDDEN; Fri, 26 Nov 2010 10:50:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kjetilbrinchmannhalvorsen@HIDDEN>)
	id 1PM0WX-0000iV-8J
	for bug-coreutils@HIDDEN; Fri, 26 Nov 2010 10:49:02 -0500
Received: from mail-pz0-f41.google.com ([209.85.210.41]:49069)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kjetilbrinchmannhalvorsen@HIDDEN>)
	id 1PM0WX-0000iG-0I
	for bug-coreutils@HIDDEN; Fri, 26 Nov 2010 10:47:45 -0500
Received: by pzk27 with SMTP id 27so1986776pzk.0
	for <bug-coreutils@HIDDEN>; Fri, 26 Nov 2010 07:47:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:received:date:message-id
	:subject:from:to:content-type;
	bh=ykeywJrlK72gxwUjva9C+gbTtKlYN0UpuYWUhrTfHDk=;
	b=hREHCSYPJqa6f6yOJdgO6MEDlKLYZPSmRPLGqyP0XMNzp1d+i6ntlseDbHA98ZkLWS
	H9QMMolsOD36qz5kKFLe/I5nuCE8NTm1kEVChhj8F7/yWsRFiRL+mcqp9t3igLS6Tg9e
	XPflhH3haZuc/F4lxyvtODTZkqerzVryhbUfc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=r7semmnLFySJ1Arl4hdUMt9P/Ia0pY6Fr7XLNJ8MlaKK55T98cUQkE9+ayGHdvsuau
	U/FV0PymqYoqb0PQEsME8KEmRUJ1Blzhj4GbCGY+Ki6IwEscXltXNtbglQ7W+LDvZM+I
	/olHQFR9YbAC1XjK63YuSVDtweet4c9RNGwEQ=
MIME-Version: 1.0
Received: by 10.142.216.3 with SMTP id o3mr2507085wfg.296.1290786463470; Fri,
	26 Nov 2010 07:47:43 -0800 (PST)
Received: by 10.142.104.2 with HTTP; Fri, 26 Nov 2010 07:47:43 -0800 (PST)
Date: Fri, 26 Nov 2010 12:47:43 -0300
Message-ID: <AANLkTinYeEydij-qwyML3uqOqUqonfo_26iTngXPBX+z@HIDDEN>
Subject: philosophical wishlist
From: Kjetil Halvorsen <kjetilbrinchmannhalvorsen@HIDDEN>
To: bug-coreutils@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -5.9 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 26 Nov 2010 11:22:15 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.9 (-----)

All the GNU coreutils commands should accept a new flag:
--example

Which should print a (half)screenfull of instructive examples,
functioning as a reminder.

This idea is taken from the project Gnu R (www.r-project.org).
R has a command example(9, which is invokes as
example(fun)

and then runs the examples from the help-page of fun.

Extremely usefull!

Kjetil Brinchmann Halvorsen




Acknowledgement sent to Kjetil Halvorsen <kjetilbrinchmannhalvorsen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:
bug#7486; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.