parsing the output of "cygcheck" - or not

Duane Ellis duane@duaneellis.com
Sun Aug 30 18:14:00 GMT 2009


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



More information about the Cygwin mailing list