groovy(1)

groovy1

Agile dynamic language for the java virtual machine

Overview

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

-d,--debug

debug mode will print out full stack traces

-e <script>

specify a command line script

-h,--help

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

-n

process files line by line

-p

process files line by line and print result

-v,--version

display the Groovy and JVM versions

Commands

groovy:

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 'System.in.readLines().each { println it }'

groovysh:

Terminal-based interpreter for Groovy.

groovyConsole:

GUI interpreter for composing Groovy interactively.

java2groovy:

The java2groovy tool reads class and interface definitions, written in the Java programming language, and converts them into groovy source files.

Releases

Unchanged in 3 releases since Debian 5.0 (Lenny).

  1. 5.0–7

Author

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

From groovy 1.8.6-1+deb7u1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.