X-Spam-Check-By: sourceware.org Date: Mon, 4 Dec 2006 17:05:25 -0800 From: Gary Johnson To: cygwin AT cygwin DOT com, fergus AT bonhard DOT uklinux DOT net Subject: Re: Resources not freed Message-ID: <20061205010525.GD25606@suncomp1.spk.agilent.com> Mail-Followup-To: cygwin AT cygwin DOT com, fergus AT bonhard DOT uklinux DOT net References: <457432D0 DOT 8050407 AT bonhard DOT uklinux DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <457432D0.8050407@bonhard.uklinux.net> User-Agent: Mutt/1.5.12 (2006-07-14) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 2006-12-04, fergus wrote: > PS Is there a switch I can add to "find /" so that /proc is not traversed? find / -path /proc -prune -o -name foo -print If you omit the final -print, "/proc" will be printed along with all occurrences of "foo". See the find(1) man page. Regards, Gary -- Gary Johnson | Agilent Technologies garyjohn AT spk DOT agilent DOT com | Wireless Division | Spokane, Washington, USA -- 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/