On Mon, Jan 17, 2011 at 3:04 PM, Anthony Liguori wrote:
> On 01/16/2011 06:12 PM, Peter Maydell wrote:
>>
>> On 15 January 2011 16:02, Blue Swirl wrote:
>>
>>>
>>> With the sed script below (my first I think), I'm able to convert most
>>> files in QEMU from C99 comment style to C89. When successi
On 01/16/2011 06:12 PM, Peter Maydell wrote:
On 15 January 2011 16:02, Blue Swirl wrote:
With the sed script below (my first I think), I'm able to convert most
files in QEMU from C99 comment style to C89. When successive line with
C99 comments are converted, the comments are merged. Two fil
On 15 January 2011 16:02, Blue Swirl wrote:
> With the sed script below (my first I think), I'm able to convert most
> files in QEMU from C99 comment style to C89. When successive line with
> C99 comments are converted, the comments are merged. Two files
> (hw/rtl8139.c and microblaze-dis.c) still
On Sat, Jan 15, 2011 at 5:44 PM, Stefan Weil wrote:
> Am 15.01.2011 18:20, schrieb Laurent Vivier:
>>
>> Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit :
>>>
>>> With the sed script below (my first I think), I'm able to convert most
>>
>> nice script. Did you try awk ?
>>
>>> files in
Am 15.01.2011 18:20, schrieb Laurent Vivier:
Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit :
With the sed script below (my first I think), I'm able to convert most
nice script. Did you try awk ?
files in QEMU from C99 comment style to C89. When successive line with
C99 comments
On Sat, Jan 15, 2011 at 5:20 PM, Laurent Vivier wrote:
> Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit :
>> With the sed script below (my first I think), I'm able to convert most
>
> nice script. Did you try awk ?
No, this just evolved from one-liner command into multi-line command
Le samedi 15 janvier 2011 à 16:02 +, Blue Swirl a écrit :
> With the sed script below (my first I think), I'm able to convert most
nice script. Did you try awk ?
> files in QEMU from C99 comment style to C89. When successive line with
> C99 comments are converted, the comments are merged. Two
With the sed script below (my first I think), I'm able to convert most
files in QEMU from C99 comment style to C89. When successive line with
C99 comments are converted, the comments are merged. Two files
(hw/rtl8139.c and microblaze-dis.c) still fail.
Is this a good idea?
If yes, what should be