[U-Boot] grep for message (was: USB style patch)

Alessandro Rubini
2008-11-26T16:24:08Z

> 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