All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./
Date: Wed, 1 Oct 2008 23:45:15 +0200	[thread overview]
Message-ID: <20081001214515.GA31270@volta.aurel32.net> (raw)
In-Reply-To: <761ea48b0810010836l333ff216v6d47b2c93eda8cf3@mail.gmail.com>

On Wed, Oct 01, 2008 at 05:36:29PM +0200, Laurent Desnogues wrote:
> On Wed, Oct 1, 2008 at 5:29 PM, Ryan Harper <ryanh@us.ibm.com> wrote:
> > * Andreas Schwab <schwab@suse.de> [2008-10-01 10:23]:
> >> Ryan Harper <ryanh@us.ibm.com> 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
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

      reply	other threads:[~2008-10-01 21:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 15:10 [Qemu-devel] [PATCH] Fix cscope filelist by removing leading ./ Ryan Harper
2008-10-01 15:22 ` Andreas Schwab
2008-10-01 15:29   ` Ryan Harper
2008-10-01 15:36     ` Laurent Desnogues
2008-10-01 21:45       ` Aurelien Jarno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081001214515.GA31270@volta.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.