|
Groovy example source code file (groovysh)
The Groovy groovysh source code#!/bin/sh ############################################################################## ## ## ## Groovy Shell script for UN*X ## ## ## ############################################################################## ## ## $Revision: 18152 $ ## $Id: groovysh 18152 2009-10-29 09:39:32Z user57 $ ## GROOVY_APP_NAME=GroovyShell # resolve links - $0 may be a soft-link PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done DIRNAME=`dirname "$PRG"` . "$DIRNAME/startGroovy" if [ "x$OLDSHELL" != "x" ]; then startGroovy groovy.ui.InteractiveShell "$@" else startGroovy org.codehaus.groovy.tools.shell.Main "$@" fi Other Groovy examples (source code examples)Here is a short list of links related to this Groovy groovysh source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.