[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091227011021.GA27769@khazad-dum.debian.net>
Date: Sat, 26 Dec 2009 23:10:21 -0200
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: Joe Perches <joe@...ches.com>
Cc: Henrique de Moraes Holschuh <ibm-acpi@....eng.br>,
Len Brown <len.brown@...el.com>,
ibm-acpi-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] thinkpad_acpi.c: Remove #define TPACPI_<level>s for
printks
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists