X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4A9AC173.1070509@duaneellis.com> Date: Sun, 30 Aug 2009 14:14:11 -0400 From: Duane Ellis User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: parsing the output of "cygcheck" - or not Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 I need a simple standard (and script friendly) means of determining what is and is not installed under cygwin. (effectively, I need to write a script to verify that certain cygwin tools are, or not already installed). Option 1: Parse the output of 'cygcheck -s' doable... but might change. Option 2 Parse the content of /etc/setup/installed.db (this format seems quite easy... I don't know what the 3rd column in the file is for) Question: Which method is the *PREFERED* method that the Cygwin maintainers suggest? Is there some documentation with respect to this? Thanks. --Duane. -- 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