Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Thursday, July 22, 2004

I wrote a cool Plagiarism Detector that uses Groovy and Google

http://wiki.codehaus.org/groovy/PlagiarismDetector

Unfortunately, I needed to shell-out to a one-line batch file because
String#execute has limitations (it ignores quotation marks, for
example). What's probably happening is that it's calling Java's
Runtime#execute, which also has these limitations. Anyway, I wish
Groovy would let me execute any shell command I wanted. Python and
Ruby let me do this.

Then I would never ever write a batch file again -- I would use Groovy instead!

0 Comments:

Post a Comment

<< Home