From owner-svn-src-all@FreeBSD.ORG Wed May 20 23:29:07 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4323E106564A; Wed, 20 May 2009 23:29:07 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id 3E8F28FC19; Wed, 20 May 2009 23:29:06 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by bwz9 with SMTP id 9so725793bwz.43 for ; Wed, 20 May 2009 16:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=H1mO/fLXhLaAdQxzTyUxVB0rAx8LJvCcTE1Faj2WEq8=; b=FNJbGntTxbPfgBuTsoJ0/5wnKJCLQgl21eJxs2+8TMBlDzB/p3z3dgRCBlmikVIjH7 sAN+LGQ71CPYuiZ9AmvlImsIhiQCR1Gib61TH9GbtrpZKA40tk+D9d7G8f++hHUDJ1yq MEkCYu+NCS2gGC3JCELOk35orm1hsVsadAOX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=usZyChOMnw+bYswRC/2f0BQCRt1QE/mmfwu2fa34h5oKuIs6TUjay7WA3ELS0S8f2I YGFub95Eo83RkKw0uv4xqvCfpr3gD503+MJW6+2Z/1CHm2RStuz2D/Mk/vDslUgStK7P V0m4yXwOox2RVPdX+0f5V41EU4VOLTv9neDfA= MIME-Version: 1.0 Received: by 10.204.65.65 with SMTP id h1mr1742148bki.18.1242860300429; Wed, 20 May 2009 15:58:20 -0700 (PDT) In-Reply-To: <20090520200138.GA33344@server.vk2pj.dyndns.org> References: <200905191740.n4JHeMMU005087@svn.freebsd.org> <20090520200138.GA33344@server.vk2pj.dyndns.org> Date: Wed, 20 May 2009 19:58:20 -0300 Message-ID: From: "Carlos A. M. dos Santos" To: Peter Jeremy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, "George V. Neville-Neil" , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r192398 - in head/usr.bin: . perror X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 23:29:07 -0000 On Wed, May 20, 2009 at 5:01 PM, Peter Jeremy wrote: > On 2009-May-19 17:40:22 +0000, "George V. Neville-Neil" wrote: >>Log: >> Add a new program, perror, which takes an errno as a command line argument >> and outputs the associated textual message in the same way that >> perror(3) would if called within a program. Rename it to "strerror", please. > Given how easy it is to "grep <> /usr/include/sys/errno.h" or > perl -e '$! = <>; print "$!\n";' > I'm not sure of the utility of this tool. One downside is that > man perror > will now return perror(1) instead of perror(3) So does "man printf", which is a pity. It bytes me each time I'm using Vim and press "k" over the word. :-( -- My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken.