This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: How to list/detect any "non-cygwin" apps in /bin
"Dave Korn" <dave.korn@artimi.com> wrote in
040201c74a0f$cec154d0$2e08a8c0@CAM.ARTIMI.COM:">news:040201c74a0f$cec154d0$2e08a8c0@CAM.ARTIMI.COM:
>
> (cd / && ls -1 usr/bin/* ) >a.txt
> gunzip -c /etc/setup/*.lst.gz | grep '^usr/bin/.' > b.txt
> cat a.txt b.txt | sort | uniq -u
>
> ... although this will also find anything that was created by a
> postinstall script as well: shortcuts in particular. (There may be
> other false pos/neg-atives, I haven't been thorough...)
> cheers,
> DaveK
DaveK
Thanks I was too shy to ask for a turnkey solution!
--
zzapper
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
--
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/