This is the mail archive of the
cygwin
mailing list for the Cygwin project.
parsing the output of "cygcheck" - or not
- From: Duane Ellis <duane at duaneellis dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 30 Aug 2009 14:14:11 -0400
- Subject: parsing the output of "cygcheck" - or not
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