title: POSIX shell like implementation in Java
body: <ol>
  <li><p>Does anybody know of an implementation of POSIX shell like language for scripting things in Java?</p></li>
  <li><p>If this is not available, does anybody know if there is a ANTLR or JavaCC grammar available  somewhere which I might have missed?</p></li>
  </ol>
  
  <p><strong>edit:</strong>
  I know that I have Jython, JRuby, Groovy, JavaScript available for scripting, but none of them have bash like syntax.</p>
  
  <p>This would not be used for scripting together Java code, but to allow people to run predefined commands which would manipulate with a big third party Media Asset Management system.</p>
  
  <p>I would like to run things like:</p>
  
  <pre><code>ls | grep "something" &gt; output
  </code></pre>
  
  <p>Where ls and grep would be Java commands. (This is just for illustrative purposes)</p>
  
  <p>Thanks</p>