@@ -0,0 +1,1228 @@
+package com.tinkerpop.gremlin.groovy.jsr223;%0A%0Aimport javax.script.Bindings;%0Aimport java.io.FileReader;%0Aimport java.io.IOException;%0Aimport java.io.Reader;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0A/**%0A * Executes a Gremlin script from the command line.%0A *%0A * @author Pavel A. Yaskevich%0A * @author Marko A. Rodriguez (http://markorodriguez.com)%0A * @author Stephen Mallette (http://stephen.genoprime.com)%0A */%0Apublic class ScriptExecutor %7B%0A    public static void main(final String%5B%5D arguments) throws IOException %7B%0A        if (arguments.length == 0) %7B%0A            System.out.println(%22Usage: %3Cpath_to_gremlin_script%3E %3Cargument1%3E %3Cargument2%3E ...%22);%0A        %7D else %7B%0A            evaluate(new FileReader(arguments%5B0%5D), Arrays.asList(arguments).subList(1, arguments.length));%0A        %7D%0A    %7D%0A%0A    protected static void evaluate(final Reader reader, final List%3CString%3E arguments) %7B%0A        final GremlinGroovyScriptEngine engine = new GremlinGroovyScriptEngine();%0A%0A        final Bindings bindings = engine.createBindings();%0A        bindings.put(%22args%22, arguments.toArray());%0A%0A        try %7B%0A            engine.eval(reader, bindings);%0A        %7D catch (Exception e) %7B%0A            System.err.println(e.getMessage());%0A        %7D%0A    %7D%0A%7D%0A

Add the script executor to allow gremlin.sh -e to work #448