Groovy(1) Agile dynamic language for the Java Virtual Machine


usage: groovy [options] [args] options:
-D,--define <name=value>
define a system property
-a,--autosplit <splitPattern>
automatically split current line (defaults to '\s')
-c,--encoding <charset>
specify the encoding of the files
debug mode will print out full stack traces
-e <script>
specify a command line script
usage information
-i <extension>
modify files in place, create backup if extension is given (e.g. '.bak')
-l <port>
listen on a port and process inbound lines
process files line by line
process files line by line and print result
display the Groovy and JVM versions


Command to run a set of Groovy statements entered on the command line (with -e), or stored in a text file whose name is given on the command.

example: groovy -e ' { println it }'

Terminal-based interpreter for Groovy.
GUI interpreter for composing Groovy interactively.
The java2groovy tool reads class and interface definitions, written in the Java programming language, and converts them into groovy source files.


This manual page was generated using help2man and edited by Varun Hiremath <[email protected]>, for the Debian project (but may be used by others).