lkml.org 
[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 3/6][ARM] new ARM SoC support: BCMRing
> 1. wrap the string.  This is considered bad practice since it means
> that you can't grep the kernel source for the exact message.

FWIW, I always grep in kernel objects, so I'm immune to both string
splitting and message duplication in drivers I'm not using.

#!/bin/sh
find . -name "*.o" -o -name "*.ko" | xargs strings -f | grep ":.*$1"

/alessandro


\
 
 \ /
  Last update: 2009-07-01 00:49    [W:0.037 / U:2.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site