All of lore.kernel.org
 help / color / mirror / Atom feed
From: michael <trimarchi@gandalf.sssup.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] grep for message
Date: Thu, 27 Nov 2008 12:21:43 +0100	[thread overview]
Message-ID: <492E82C7.4040208@gandalf.sssup.it> (raw)
In-Reply-To: <20081126162408.GA26554@mail.gnudd.com>

Hi,

Alessandro Rubini wrote:
>> It is nessary a grep with the full message? There are a lot of situation
>> when the grep is impossible.
>>     
>
> FWIW, I think it's not important to have the message in one line.
>
> I prefer to grep for the message in the object files. This is
> especially useful when the same message appears in different places
> (e.g., different archs), so I'm sure I only get the ones that are
> in my binary
>
>    #!/bin/sh
>    find . -name "*.o" -o -name "*.ko" | xargs nm -o | grep $1
>
> /alessandro
>
>   

I'm agree with Alessandro. The code is more readable if we have lines < 
80 chars.

Regards Michael

      reply	other threads:[~2008-11-27 11:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 10:45 [U-Boot] [RFC PATCH] USB style patch Michael Trimarchi
2008-11-26 11:15 ` Remy Bohmer
2008-11-26 11:23   ` michael
2008-11-26 12:07     ` Wolfgang Denk
2008-11-26 13:18       ` michael
2008-11-26 15:14         ` Wolfgang Denk
2008-11-26 16:24         ` [U-Boot] grep for message (was: USB style patch) Alessandro Rubini
2008-11-27 11:21           ` michael [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=492E82C7.4040208@gandalf.sssup.it \
    --to=trimarchi@gandalf.sssup.it \
    --cc=u-boot@lists.denx.de \
    /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.