Extract C*/Java*/Shell/Perl script comments

I was looking for something to extract comments from C/C++ source code. This script does the job beautifully. (Just tested it on a C source file with japanese comments that need to be translated).

In fear of getting the utility lost, I am copying it here...