[PATCH testlab] grep -e vs grep | grep | grep

Yaroslav Halchenko site-openmoko.org at onerussian.com
Mon Aug 11 04:52:19 CEST 2008

Please consider tiny patch which makes a bit efficient use of grep and pipes...

the issue is that some people who run BSD accounting on their boxes
would hate to see that the logs are full of bogus grep commands, and log files
grow fast... besides that it improves efficiency.

so please consider following patch (may be after some testing -- I've
done just basic one and still waiting for rootfs to be built ;-))

=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-saner-use-of-grep-and-pipes.patch
Type: text/x-diff
Size: 2696 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/devel/attachments/20080810/3d5e98cd/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/devel/attachments/20080810/3d5e98cd/attachment.pgp 

More information about the devel mailing list