delorie.com/archives/browse.cgi | search |
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 <duane AT duaneellis DOT com> |
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 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |