This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]