delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/15/15:54:37

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Iu/bjQKmRK+dWh2I
ozfuzumjCaRA0GElyK5GyRj9k88GUEtoN7f4ruPql4b86noG2UYO2tEeZpSQavWp
O6bVyfJ6dG4LT7kjQynVE6EFAn0GnZLRjOjXaJfme6ksDig9VyeRB6qOozfEhX6v
N/EHAI+qenQ8Z11NPrlRHspf5wU=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=xs7vodDh+cmLoPpDSzaAc+
hOOSE=; b=QbTQkSjlCeGCs8Kw7XhrS3fNjYfCISNEsUjq6AKIoIWhj26xuFh1yb
KO+p6DdY8kZwgyZeVPhkhXM2ugbaxzY7KhraWEbsoPQqGblTiwQzWET91+Alp5y4
O7msBD7WGcUtoR4nCK/lw5qlPGNTGINGgk3YKA7M1uPBXLwo9inME=
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=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:192.168.2, kenneth
X-HELO: mail-wr0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=s2pZ2vcDMzx7SQqGnteSJefymu4TaGonIwmR9rVQR7U=; b=K4iREo5ah2x64vMFNi+Pt5awA3WQi3kR10zfg70zBighVVGQUNbJnLAjO5Jcx5fM6y 7gAo+b5siEwZQ8SJj7GcxyHKEIm71hKBp9wQB693OXALuVF+oXecrYQlk3hL3dxH9OAV XrJp4Kk909aDTumx1yvmdxLq6nvX/mG7Oydbsmq7f8qQAYW/0Cr3ViPkPtHbR2FgRXyK dgp9K3JZBlXIdm3lQQq02rOp8UY0URVm/UgaPMx6DB9IA51c0nUrfxYIMzmBrOC7rxyf cKYMcUM5joyYilGn/8xQ9opr4wFgi+OmnV3VwW8863StnqTo0/Llmp+c1ye2rh1iDVWU /Uzw==
X-Gm-Message-State: AHPjjUg/jGQMk7L5mBa2gBQp9EpLcqlN0dlobcRzSyIV/O08C/9IUrR5 pVbaZeSUQNJZUXZk
X-Google-Smtp-Source: ADKCNb4Jnr9LQJcf8ZJx5Y/h8sHkSrAeemB5YyQUULRLneRB2kI2e7XZeYBKMb3Jjt12wQ2S3KTDLQ==
X-Received: by 10.223.165.75 with SMTP id j11mr21855336wrb.234.1505505252646; Fri, 15 Sep 2017 12:54:12 -0700 (PDT)
Subject: Re: cygcheck -f reorders output
To: cygwin AT cygwin DOT com
References: <BN6PR2001MB10746383A0FC764A570D3B4EF16C0 AT BN6PR2001MB1074 DOT namprd20 DOT prod DOT outlook DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <aaf2da40-d35f-322e-0acc-0dff363a8342@gmail.com>
Date: Fri, 15 Sep 2017 21:54:06 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <BN6PR2001MB10746383A0FC764A570D3B4EF16C0@BN6PR2001MB1074.namprd20.prod.outlook.com>
X-IsSubscribed: yes

On 15/09/2017 21:38, Nellis, Kenneth wrote:
> I found it surprising that the packages aren't listed in the order requested:
> 
> $ cygcheck -f `which bash find grep xargs cygwin1.dll`
> bash-4.4.12-3
> cygwin-2.9.0-3
> findutils-4.6.0-1
> findutils-4.6.0-1
> grep-3.0-2
> $
> 
> Adds a bit of challenge to match the output with the parameters.
> 

it is a side effect of the order of search in the
/etc/setup/*.gz file list.
The first match is reported first and so on.

To maintain the order

$ for i in  `which bash find grep xargs cygwin1.dll`;
   do cygcheck -f $i;done

bash-4.4.12-3
findutils-4.6.0-1
grep-3.0-2
findutils-4.6.0-1
cygwin-2.9.0-3

--
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