lkml.org 
[lkml]   [2012]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add mach-specific includes
On Fri, Aug 31, 2012 at 03:45:23PM +0200, Michal Marek wrote:
>
> On 12.8.2012 11:47, Tzafrir Cohen wrote:

> > +if echo arch/$SRCARCH/mach-*/include | grep q -v '*'; then
>
> This should probably be grep -q, but it's quite ugly anyway. You can
> simply run the find command and redirect it's stderr to /dev/null.

Redirect its stdout, that is. I'd prefer -q but here's a version with a
redirection.

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir


\
 
 \ /
  Last update: 2012-09-05 16:22    [W:0.092 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site