X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20090504082512.GA21324@calimero.vinschen.de> References: <20090504082512 DOT GA21324 AT calimero DOT vinschen DOT de> From: Julio Costa Date: Mon, 4 May 2009 11:01:24 +0100 Message-ID: Subject: Re: [cygcheck] produces repeated output - 6 times! To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, May 4, 2009 at 09:25, Corinna Vinschen wrote: > > Bug in user as far as the position of the -v option is concerned. > Try this: > > $ cygcheck -v /bin/ash.exe > c:\cygwin\bin\ash.exe - os=3D4.0 img=3D1.0 sys=3D4.0 > =C2=A0C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0 > =C2=A0 =C2=A0"cygwin1.dll" v0.0 ts=3D2009/5/4 9:45 > =C2=A0 =C2=A0C:\WINDOWS\system32\ADVAPI32.DLL - os=3D5.1 img=3D5.1 sys=3D= 4.0 > =C2=A0 =C2=A0 =C2=A0"ADVAPI32.dll" v0.0 ts=3D2009/2/6 12:02 > =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\KERNEL32.dll - os=3D5.1 img=3D5.1= sys=3D4.0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0"KERNEL32.dll" v0.0 ts=3D2009/3/21 12:36 > =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\ntdll.dll - os=3D5.1 img= =3D5.1 sys=3D4.10 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"ntdll.dll" v0.0 ts=3D2009/2/6 12:01 > =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\ntdll.dll (already done) > =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\RPCRT4.dll - os=3D5.1 img=3D5.1 s= ys=3D4.10 > =C2=A0 =C2=A0 =C2=A0 =C2=A0"RPCRT4.dll" v0.0 ts=3D2008/4/13 21:20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\ADVAPI32.dll (recursive) > =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\KERNEL32.dll (already done) > =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\ntdll.dll (already done) > =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\Secur32.dll - os=3D5.1 img= =3D5.1 sys=3D4.0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"Secur32.dll" v0.0 ts=3D2009/2/3 12:24 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\ADVAPI32.dll (recur= sive) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\KERNEL32.dll (alrea= dy done) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0C:\WINDOWS\system32\ntdll.dll (already = done) > =C2=A0 =C2=A0C:\WINDOWS\system32\KERNEL32.dll (already done) > =C2=A0 =C2=A0C:\WINDOWS\system32\ntdll.dll (already done) > =C2=A0C:\WINDOWS\system32\KERNEL32.dll (already done) > Yes, you are right. Only yesterday I found out that - and I had to do source-code analisys to came to that conclusion! Why on earth, do you ask? Because: ~ $ cygcheck -h Usage: cygcheck PROGRAM [ -v ] [ -h ] cygcheck -c [ PACKAGE ] [ -d ] cygcheck -s [ -r ] [ -v ] [ -h ] cygcheck -k cygcheck -f FILE [ FILE ... ] cygcheck -l [ PACKAGE ] [ PACKAGE ... ] cygcheck -p REGEXP List system information, check installed packages, or query package databas= e. [snip] Let me zoom on that: cygcheck **(followed by)** PROGRAM **(and THEN)** [ -v ] [ -h ] So, at least, a doc bug. Unfortunately, I'm so doc biased, that I had to do source code analysis to came to this simple conclusion - fortunately, YMMV :) Also, besides the usage message issue, I think that it should had complained about the inexistent '-v' file - that would had give me a tip. ___________ Julio Costa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/