From owner-freebsd-questions@FreeBSD.ORG Sat Nov 22 05:02:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D54E16A4CE for ; Sat, 22 Nov 2003 05:02:20 -0800 (PST) Received: from hotmail.com (law11-oe66.law11.hotmail.com [64.4.16.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7861343F3F for ; Sat, 22 Nov 2003 05:02:19 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 22 Nov 2003 05:02:19 -0800 Received: from 218.193.5.120 by law11-oe66.law11.hotmail.com with DAV; Sat, 22 Nov 2003 13:02:19 +0000 X-Originating-IP: [218.193.5.120] X-Originating-Email: [weiwuzhang@hotmail.com] Message-ID: <3FBF5E71.8050809@hotmail.com> Date: Sat, 22 Nov 2003 21:02:41 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4.1) Gecko/20031105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Nov 2003 13:02:19.0436 (UTC) FILETIME=[DC8186C0:01C3B0F8] Subject: newbie: to pipe the result of a program as commandline parameter for another. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 13:02:20 -0000 Hello. I just checkouted a big program. What I want to do is to remove all CVS/ folders from the hierarchy. There might be other ways to do so (give me a hint?). What I can think of is to run find(1) to find out all CVS folders, and pass them as parameters of rm(1), but I don't know how to do so.