public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: cygcheck -f reorders output
Date: Fri, 15 Sep 2017 19:54:00 -0000	[thread overview]
Message-ID: <aaf2da40-d35f-322e-0acc-0dff363a8342@gmail.com> (raw)
In-Reply-To: <BN6PR2001MB10746383A0FC764A570D3B4EF16C0@BN6PR2001MB1074.namprd20.prod.outlook.com>

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

  reply	other threads:[~2017-09-15 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-15 19:38 Nellis, Kenneth
2017-09-15 19:54 ` Marco Atzeri [this message]
2017-09-15 20:02 ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aaf2da40-d35f-322e-0acc-0dff363a8342@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).