cygcheck -f reorders output

Marco Atzeri marco.atzeri@gmail.com
Fri Sep 15 19:54:00 GMT 2017


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



More information about the Cygwin mailing list