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…

Related posts:

  1. Quick tip – how to extract audio from youtube videos
  2. Perl Regular Expressions (with snippets)
  3. Ruby script to get a list of all mp3 files in a directory sorted durationwise.
  4. Library Lookup greasemonkey script for San Diego public library and San Diego County library
  5. Playing mp3 links right in your browser

Tags: ,