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:
1
2
3
4
5
#!/System/scripting/scriptexec
; This is a comment
Echo this is a printed string
End
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