From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68946 invoked by alias); 15 Sep 2017 19:54:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 68904 invoked by uid 89); 15 Sep 2017 19:54:16 -0000 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 Received: from mail-wr0-f181.google.com (HELO mail-wr0-f181.google.com) (209.85.128.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 Sep 2017 19:54:14 +0000 Received: by mail-wr0-f181.google.com with SMTP id m18so2584354wrm.2 for ; Fri, 15 Sep 2017 12:54:14 -0700 (PDT) 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) Received: from [192.168.2.108] (p4FDB32F6.dip0.t-ipconnect.de. [79.219.50.246]) by smtp.googlemail.com with ESMTPSA id o65sm1514815wmd.8.2017.09.15.12.54.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Sep 2017 12:54:12 -0700 (PDT) Subject: Re: cygcheck -f reorders output To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: Date: Fri, 15 Sep 2017 19:54:00 -0000 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00163.txt.bz2 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