A Skylight shell script file has two parts. The first part is the "Shebang". the Shebang string in Skylight shell is "#!/System/scripting/scriptexec" and tells the command interpreter that the file is a script. The other part is the body. This is where all the commands of the script are stored.
Here is an example program:
12345
#!/System/scripting/scriptexec; This is a commentEchothisisaprintedstringEnd
This program prints "this is a printed string" in the command window.
Last edit: miller9904 2013-03-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A Skylight shell script file has two parts. The first part is the "Shebang". the Shebang string in Skylight shell is "#!/System/scripting/scriptexec" and tells the command interpreter that the file is a script. The other part is the body. This is where all the commands of the script are stored.
Here is an example program:
This program prints "this is a printed string" in the command window.
Last edit: miller9904 2013-03-10