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