Created
February 9, 2009 05:25
-
-
Save harukizaemon/60671 to your computer and use it in GitHub Desktop.
Remove all JavaDoc from a File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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