Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • What results do you get when you run your script? Do you have a question regarding your results? Commented Mar 7, 2017 at 19:44
  • 1
    (1) Please indent code properly when posting to Stack Exchange. (2) Your question doesn’t contain a question! While it’s obvious that you want help getting your script to work, you are still expected to phrase your question in the form of a question. (3) If you want help getting your script to work, you really should tell us what it’s doing now. What can you conclude from the behavior you are seeing? What research have you done to try to debug/diagnose this? Please do not respond in comments; edit your question to make it clearer and more complete. Commented Mar 7, 2017 at 19:47
  • So, it isn't running. When i try to run my code ./MyProject -list It's blank, it doesn't print out the array GUESTS like I have to. Commented Mar 7, 2017 at 19:54
  • I keep getting this error line 75: syntax error near unexpected token do' line 75: while ((${GUESTS[@]} > $i)) do' Commented Mar 7, 2017 at 19:59