Thomas Wiedmann wrote: >> Also, /usr/lib/csih/winProductName.exe (Note that this is technically a >> native, not cygwin, application, so you need to strip '\r' from the >> result if you're using it in a script). > > What does the subdirectory csih stand for, i. e. what means this > abbreviation?
cygwin-service-installation-helper But a short investigation would have revealed it: $ cygcheck -f /usr/lib/csih/winProductName.exe csih-0.1.8-1 $ cygcheck -l csih /usr/lib/csih/getAccountName.exe /usr/lib/csih/getVolInfo.exe /usr/lib/csih/winProductName.exe /usr/share/csih/cygwin-service-installation-helper.sh /usr/share/doc/csih-0.1.8/AUTHORS /usr/share/doc/csih-0.1.8/ChangeLog /usr/share/doc/csih-0.1.8/COPYING /usr/share/doc/csih-0.1.8/NEWS /usr/share/doc/Cygwin/csih-0.1.8.README Oh, look: one of these files stands out: /usr/share/csih/cygwin-service-installation-helper.sh C. S. I. H. > How to strip '\r' from the result for using it in a script? myvar=`/usr/lib/csih/winProductName.exe | tr -d '\15'` is probably the simplest. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/