qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./


From: Laurent Desnogues
Subject: Re: [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./
Date: Wed, 1 Oct 2008 17:36:29 +0200

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,^\./,,'?


Laurent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]