[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./ |
Date: |
Wed, 1 Oct 2008 23:45:15 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Wed, Oct 01, 2008 at 05:36:29PM +0200, Laurent Desnogues wrote:
> On Wed, Oct 1, 2008 at 5:29 PM, Ryan Harper <address@hidden> wrote:
> > * Andreas Schwab <address@hidden> [2008-10-01 10:23]:
> >> Ryan Harper <address@hidden> 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?
>
> Why not using sed 's,^\./,,'?
>
I applied this version, thanks.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net