Web lists-archives.com

RE: separating cygcheck -f package name from version




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