separating cygcheck -f package name from version
Nellis, Kenneth (Conduent)
Kenneth.Nellis@conduent.com
Tue Jan 17 19:56:00 GMT 2017
From: Brian Inglis
>
> $ fgrep "$(cygcheck -f /usr/bin/find | sed 's/\r$//').tar." \
> /etc/setup/installed.db | cut -d' ' -f1
> findutils
>
> OR
>
> $ fgrep "$(cygcheck -f /usr/bin/find | d2u).tar." \
> /etc/setup/installed.db | cut -d' ' -f1
> findutils
>
> cygcheck -f outputs DOS lines with \r which need stripped as
> shown, using sed (Base), d2u, or your choice of available tool.
Excellent! Thank you! --Ken
--
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