Chapter 5

ASPL Scripts

The sheband #!/usr/bin/env is the trivial way to invoke the interpreter of a scriptiing language on the UNIX system. However, for more compatibility across various UNIX systems, an enhanced two-liners shebang entry has been added in ASPL: the first line invokes the interpreter through env, and the second line provides the arguments to be passed to the interpreter. Of course, if the aspl program is available in /usr/bin then you can always invoke the interpreter with the shebang #!/usr/bin/aspl (or wherever the interpreter has been installed, assuming the #! has not been disabled on your system). In addition, since the standard input can be piped to ASPL then one can use other scripting languages to invoke ASPL.

Image File

Read Chapter 5
Back to Contents

Image File