for me, I will write a C/C++ parsor instead since I have not much awk
experience...
I think that will be easier.
On Mon, 13 Nov 2000, Peter Jay Salzman wrote:
> i started writing an awk script to convert C++ style comments to C, and it
> got messy very quickly, since i want to handle different cases very
> differently (inside a block, outside a function, multiline comments, etc).
>
> i was wondering is anyone knew of a utility to do this?
>
> i did a quick search on the potato disks and freshmeat, and found nothing,
> but i've had a bad track record in finding stuff on freshmeat.
>
> pete
>
>