|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Programming & Scripting A place to discuss website design, programming, shell scripts, etc |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a shell script,
It is so large, so I do not want to run it at a time. instead i 'd like to make it into some small scripts file and i have already make some mark in the original file where need to be separated and what to do next? Thank you. |
|
|||
|
If you mean BASH shell script, you could divide your script into several functions/procedures, put them in several files and then use 'source /path/to/the/script.sh' command in the beginning of the main script file to include functions/procedures that will be called there.
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|