delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/06/21:41:53

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=MFHlN+Yt0SlvoqjGIQC3A24BVEMZ
loaUgNLXYf8cLM7jJQi37Lrv4oD1lS3nzR2jdV1PnqM2Uf7EnpPyLsWGM3yeVvV0
lcFR3K22MPinlYNrZ/lXVuI+StU/mPVJlH++NpFzD8RmRtCUHf1FW2yVt1pN7Or0
HboPe9ExtpSnHzE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=hOGxaZczJLn1P/sl6l+TrkJfB90=; b=jV
jeny0Nyuja/vMhdDURar73kNQVEm0P3f48o9iC4kd0sxexPs/Vsr7YxFo0WuyjVY
lNjCwySS9yRPEAHBQ4WqLqkBf2W/6ZKmT9fDJnwt5+fsEn2t9VACFUyF0zG7ItcO
uU4EwkvzSijOJnC+tSFCkmHNlVuRBlUDG5zjTmUVY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=pax, diffutils, towotowonet, towo AT towo DOT net
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: cmp missing from base
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <572C697E.1090408@towo.net>
Date: Fri, 6 May 2016 19:41:21 -0600
Message-Id: <29250DCF-60A0-4113-9834-25EA744E8F41@etr-usa.com>
References: <572C697E DOT 1090408 AT towo DOT net>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u471fndI002058

On May 6, 2016, at 3:53 AM, Thomas Wolff <towo AT towo DOT net> wrote:
> 
> after a recent fresh installation of cygwin, I was surprised that `cmp` was missing, which is part of the traditional Unix base commands.
> I think the diffutils package should be part of the base installation.

We’ve never really had a hard rule on what is in Base and what isn’t.  It’s always been a judgement call.

I wonder if the rule should just be “POSIX”?  That is, if it’s on this page, it should be in Base:

  http://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html

That would exclude other things we’ve always excluded, such as Perl.

I’m not suggesting that we make this rule a strict one.  Most importantly, it cannot be an exclusion rule: Cygwin must contain things not in POSIX.  I’m just suggesting that it would be nice if Cygwin were as close to POSIX as practical out-of-the-box.

By that latter, I mean without extra effort other than adjusting some setup.hint files.  I mean, if there is a command on that list that doesn’t even have a Cygwin package, I don’t mean to propose with this rule that someone must go out and package it just to satisfy POSIX.

As a counterexample, that list contains pax(1), which is currently in Archive, not Base, so by that rule, pax(1) should also move to Base.

By that very example, though, I can argue against this proposed rule: as I understand it, pax(1) was added to POSIX at the same time they dropped cpio(1) and tar(1), thinking that by doing so, they’d change existing practice, moving everyone over to pax(1).  That just created a Standard in the XKCD sense:

  https://xkcd.com/927/
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019