According to Ketil Froyn ([EMAIL PROTECTED]):
> On Sun, 13 Aug 2000, Kevin Lawton wrote:
> > Hope you didn't get carpel tunnel converting those comments
> > by hand. Here's a regexp to do it:
> >
> > ... | sed -e 's|//\(.*$\)|/*\1 */|' | ...
>
> Unless, of course, someone puts // in a string, eg:
> printf("//\n");
>
> But this probably never happens in the plex86 source?
Then use this:
sed -e 's,//\([^"]*\)$,/*\1 */,g'
Wouter
--
* Wouter Coene * [EMAIL PROTECTED] * [EMAIL PROTECTED] *
* C.O.R.E/OMTA/Plex86 * C development/Code maniac *
* "When people run in circles we call them crazy, *
* when planets do we call it orbiting" *