Re: [PATCH] thinkpad_acpi.c: Remove #define TPACPI_<level>s forprintks

From: Henrique de Moraes Holschuh
Date: Sat Dec 26 2009 - 20:10:29 EST


On Sat, 26 Dec 2009, Joe Perches wrote:
> 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

Will try this one later. Thanks.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/