From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] grep for message (was: USB style patch)
Date: Wed, 26 Nov 2008 17:24:08 +0100 [thread overview]
Message-ID: <20081126162408.GA26554@mail.gnudd.com> (raw)
In-Reply-To: <492D4CC3.9020107@gandalf.sssup.it>
> 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
next prev parent reply other threads:[~2008-11-26 16:24 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 ` Alessandro Rubini [this message]
2008-11-27 11:21 ` [U-Boot] grep for message michael
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=20081126162408.GA26554@mail.gnudd.com \
--to=rubini-list@gnudd.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox