Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #29
Difficulty: Medium
Computer hard disks were first introduced in 1956.
True or False?
Linux & Unix Commands - Search Man Pages

groovy(1) [debian man page]

GROOVY(1)						      General Commands Manual							 GROOVY(1)

NAME
Groovy - Agile dynamic language for the Java Virtual Machine DESCRIPTION
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. SEE ALSO
groovyc(1) AUTHOR
This manual page was generated using help2man and edited by Varun Hiremath <varun@debian.org>, for the Debian project (but may be used by others). December 2007 GROOVY(1)

Check Out this Related Man Page

groovyc(1)						      General Commands Manual							groovyc(1)

NAME
groovyc - compiler for groovy source files DESCRIPTION
usage: groovyc [options] <source-files> options: --classpath <path> Specify where to find the class files. -d <arg> Specify where to place generated class files. -e,--exception Print stack trace on error. --encoding <encoding> Specify the encoding of the user class files. -F <flag> -h,--help Print a synopsis of standard options. -j,--jointCompilation Attach javac compiler to compile .java files. -J <property=value> --sourcepath <path> Specify where to find the source files. --temp <temp> -v,--version Print the version. options: --classpath <path> Specify where to find the class files. -d <arg> Specify where to place generated class files. -e,--exception Print stack trace on error. --encoding <encoding> Specify the encoding of the user class files. -F <flag> -h,--help Print a synopsis of standard options. -j,--jointCompilation Attach javac compiler to compile .java files. -J <property=value> --sourcepath <path> Specify where to find the source files. --temp <temp> -v,--version Print the version. SEE ALSO
groovy(1) AUTHOR
This manual page was generated using help2man and edited by Varun Hiremath <varun@debian.org>, for the Debian project (but may be used by others). December 2007 groovyc(1)

8 More Discussions You Might Find Interesting

1. Programming

forking a new process

Hi I'm currently working with C on UNIX (HPUX) and need to be able to fork a seperate Java process from within a running C process. I can run the following code from the command line via a script but am having difficulty getting it to work from within the code. I am trying to use execl. Is... (4 Replies)
Discussion started by: themezzaman
4 Replies

2. Programming

Command line args

My program usage takes the form for example; $ theApp 2 "one or more words" i.e. 3 command line arguments; application name, an integer, some text My code includes the following 4 lines: int anInteger; char words; sscanf(argv, "%d", &anInteger); sscanf(argv, "%s", &message); Based... (2 Replies)
Discussion started by: enuenu
2 Replies

3. Shell Programming and Scripting

du alternative in perl

I have a perl script that just does a `du -sk -x` and formats it to look groovy ( the argument can be a directory but usually is like /usr/local/* ) #!/usr/bin/perl use strict; use warnings; my $sizes = `du -x -sk @ARGV | sort -n`; my $total = 0; print "MegaBytes Name\n"; for(split... (1 Reply)
Discussion started by: insania
1 Replies

4. UNIX for Advanced & Expert Users

Command for identifying Virtual Machine

Hi, I need a command which will tell me definitely if a particular Linux System is Virtual (Guest) or Physical. Is there a command for this? Command will be preferable over any Script. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

5. Programming

How to split data to jComboBox in Java

I have text file that contain the following line step = ('step1' 'step2' 'step3' '' '') with above data, i would like Java to interpret the file and put step1, step2 and step3 into jComboBox with ignore the '' sign. How can i do that? Thank you in advance (1 Reply)
Discussion started by: thada_ssknt
1 Replies

6. Shell Programming and Scripting

How to traverse directory structure and sum size of files?

How do I write a bash or ruby or perl or groovy script to print all the files in my directory tree that are one-to-two years old, the size of each file, and the sum of file sizes and then delete them? I was using find . -atime +365 -exec rm '{}' \; but the problem was that I could not... (5 Replies)
Discussion started by: siegfried
5 Replies

7. Programming

Book on Java?

These days i am learning more about Java language and feel it is an interesting language than others. Is there some books on it to make this language easy to me? (2 Replies)
Discussion started by: ggiwebsinfo
2 Replies

8. Shell Programming and Scripting

Wanted: Help with escaping bash command line arguments

Please forgive me if this is the wrong forum. I want to execute some one liners with the groovy programming language and I'm having trouble escaping the special characters to accommodate bash. Here is one of the lines that is giving me trouble: groovy -e "(new... (1 Reply)
Discussion started by: siegfried
1 Replies

Featured Tech Videos