No problem vvpalin. I really appreciate the response. Thanks. Sorry I haven't answered any of the responses to my script, I've been racked for time with work. But, then again, aren't we all.
In response to the syntax issue, a function can be created in Bash using either:
1. NAMEOFFUNCTION() {
...
}
2. function NAMEOFFUNCTION {
...
}
It works for me the first way, which is why I use that way in my script. I'm fairly certain that either way works equally well, but, I am always open to any comments on how one way is better than the other.
Thanks for the feedback guys.
Any suggestions on how to improve the script?
Last edited by BobaFett; 07-14-2010 at 03:01 PM.