delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | zzapper <david AT tvis DOT co DOT uk> |
Subject: | RE: How to list/detect any "non-cygwin" apps in /bin |
Date: | Tue, 6 Feb 2007 19:52:52 +0000 (UTC) |
Lines: | 20 |
Message-ID: | <Xns98CFCA3D333FBzzappergmailcom@80.91.229.5> |
References: | <Xns98CF900DBEA80zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5> <45C88D25 DOT 2030301 AT aol DOT com> <Xns98CF9799780A4zzappergmailcom AT 80 DOT 91 DOT 229 DOT 5> <040201c74a0f$cec154d0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> |
User-Agent: | Xnews/2006.08.24 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
"Dave Korn" <dave DOT korn AT artimi DOT com> wrote in news:040201c74a0f$cec154d0$2e08a8c0 AT CAM DOT ARTIMI DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |