Hi all,
I have a file .c and I would like to format the comments of file like that :
/**
Comment
*/

with a sed script

The comments in my file is
/* comment 1 */

/*
comment 2 */

/** comment 3
*/

I know to format file with diferrent commands
like sed -e 's/\/\*\+/\/\*\*\n/g' filename
...
but there are empty lines between /** and comments

is it possible to become with only one regular expression ?

Thanks a lot

is it possible to become with only one regular expression ?

Yes. :)
Did you check the "n" command in sed? It basically loads the next line into buffer. Would be useful here.
Google for "sed one liners" you should find some examples you can use.