From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl3eV-0004sW-OH for qemu-devel@nongnu.org; Wed, 01 Oct 2008 11:30:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl3eS-0004sG-0B for qemu-devel@nongnu.org; Wed, 01 Oct 2008 11:30:11 -0400 Received: from [199.232.76.173] (port=32808 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl3eR-0004sD-PV for qemu-devel@nongnu.org; Wed, 01 Oct 2008 11:30:07 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:51004) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kl3eR-0001Co-Ep for qemu-devel@nongnu.org; Wed, 01 Oct 2008 11:30:07 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e31.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m91FU2eC026987 for ; Wed, 1 Oct 2008 11:30:02 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m91FTsS0207136 for ; Wed, 1 Oct 2008 09:29:56 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m91FTOPJ011146 for ; Wed, 1 Oct 2008 09:29:24 -0600 Date: Wed, 1 Oct 2008 10:29:29 -0500 From: Ryan Harper Subject: Re: [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./ Message-ID: <20081001152929.GC31395@us.ibm.com> References: <1222873814-32003-1-git-send-email-ryanh@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas Schwab Cc: Ryan Harper , qemu-devel@nongnu.org * Andreas Schwab [2008-10-01 10:23]: > Ryan Harper writes: > > > - find . -name "*.[ch]" -print > ./cscope.files > > + find . -name "*.[ch]" -print | sed 's,./,,' > ./cscope.files > > This will also match 'a/'. Is there a case where the find command we're using would output something without './' in the first to characters in each line where that case would be an issue? -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com