lkml.org 
[lkml]   [2009]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] thinkpad_acpi.c: Remove #define TPACPI_<level>s for printks
From
Date
On Sat, 2009-12-26 at 22:29 -0200, Henrique de Moraes Holschuh wrote:
> Unfolding the printk messages to a single line _is_ useful for grep, though,
> and I plan to do just that (not high priority, though), and I would accept
> patches that do just that without any fuss :)

perl -i -e 'local $/; while (<>) { s@\b(printk[^;]+)\"\s*\n\s*\"@$1@g ; print ; }' $file




\
 
 \ /
  Last update: 2009-12-27 02:11    [W:0.086 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site