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

From: Joe Perches
Date: Sat Dec 26 2009 - 20:07:56 EST


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


--
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/