Jacl
Jacl is an alternate implementation of TCL, and is written entirely in Java code.
Jacl basic commandThe basic syntax for a Jacl command is:
Command arg1 arg2 arg3 ...The command is either the name of a built-in command or a Jacl procedure. For example:
puts stdout {Hello, world!} => Hello, World!In this example, the command is puts, which takes two arguments: an I/O stream identifier and a string. puts writes the string to the I/O stream along with a trailing new line character. Arguments are interpreted by the command. In the example, stdout is used to identify the standard output stream. The use of stdout as a name is a convention employed by puts and the other I/O commands. Use stderr to identify the standard error output, and use stdin to identify the standard input.
Note: When writing Jacl scripts for Windows systems, enclose directory paths that include spaces with quotes. For example:
"C:\Program Files\WebSphere\AppServer\InstallableApps\somesample.ear"On Windows systems, special care must also be taken with path descriptions because Jacl uses the backslash character as an escape character. To fix this, either replace each backslash with a forward slash, or use double backslashes in Windows path statements. For example: C:/ or C:\\
For more information about Jacl, see the Scripting: Resources for Learning article.
Scripting: Resources for learning