Skip to content

Instantly share code, notes, and snippets.

@harukizaemon
Created February 9, 2009 05:25
Show Gist options
  • Save harukizaemon/60671 to your computer and use it in GitHub Desktop.
Save harukizaemon/60671 to your computer and use it in GitHub Desktop.
Remove all JavaDoc from a File
#!/usr/bin/env ruby
# Usage: ./remove-javadoc.sh < [file-name]
print $<.to_a.join.gsub(/\/\*\*(.*)\*\//m, '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment