[ENH][GOODIE] CommandShell v1.5.2 (Squeak shell scripting)

David T. Lewis lewis at mail.msen.com
Mon Dec 24 15:52:07 UTC 2001


CommandShell 1.5.2
Apply this as an incremental change to CommandShell 1.5.1
Base distribution is CommandShell 1.5

This change set adds a simple scripting capability for the Squeak
shell. A script is a String containing a list of zero or more commands
delimited by Character cr. Each command in the list is treated as
as a CommandShell command line.

The commands may consist of a mix of Smalltalk expressions, shell
builtins, and external commands. Simple conditional branching is
supported for command or scripts based on testing the exit status
of command lines or scripts.

The scripting methods are contained in the 'command scripting'
category of class CommandShell.

Command scripting is provided primarily as an assist to VM building,
enabling a one-click VM rebuild from VMMaker even if the
makefile is a bit off kilter.

- Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CommandShellV1-5-2-dtl.cs.gz
Type: application/x-gunzip
Size: 8680 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20011224/c51e1801/CommandShellV1-5-2-dtl.cs.bin


More information about the Squeak-dev mailing list