From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752552AbcAHNoM (ORCPT ); Fri, 8 Jan 2016 08:44:12 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:27223 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750785AbcAHNoK (ORCPT ); Fri, 8 Jan 2016 08:44:10 -0500 Date: Fri, 8 Jan 2016 16:44:03 +0300 From: Dan Carpenter To: Joe Perches Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [patch] get_maintainer: handle file names beginning with ./ Message-ID: <20160108134402.GD5177@mwanda> References: <20160108105155.GB32195@mwanda> <1452253076.4028.64.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1452253076.4028.64.camel@perches.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 08, 2016 at 03:37:56AM -0800, Joe Perches wrote: > On Fri, 2016-01-08 at 13:51 +0300, Dan Carpenter wrote: > > The problem is that get_maintainer.pl doesn't work if you have a ./ > > prefix on the filename.  For example, if you type: > > > >     ./scripts/get_maintainer.pl -f ./drivers/usb/usb-skeleton.c > > Someone's been feeding find output to get_maintainer? Yep. > > Then maybe you'd also have to consider fully qualified > file names, tilde expansion, $PWD, and probably a bunch > of other things too. I don't think you'd "have" to consider those as well, but I won't stand in your way if you want to... regards, dan carpenter