bsh

bsh

Synopsis
bsh [ --interactive | -i ] [ --file | -f <file> ] [ --code | -c <code> ] Run the BeanShell interpreter
Details
The bsh command runs the BeanShell interpreter. The options are as follows:

  • --interactive | -i start an interactive BeanShell.
  • --file | -f <file> take BeanShell input from <file>. If --interactive is also given, the BeanShell will go into interactive mode after processing the file.
  • --code | -c <code> execute <code> as a BeanShell code. If --interactive is also given, the BeanShell will go into interactive mode after processing the code.

If no arguments are given, --interactive is assumed.