This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygcheck -f reorders output


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]