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.

3
  • I suspect this would fail with ./arguments.sh "last value"
    – Thomas
    Commented Nov 5, 2013 at 3:25
  • Thank you for checking Thomas, I have tried to perform the as script like you mentinoed # ./arguments.sh "last value" Last Argument is: value is working fine now. # ./arguments.sh "last value check with double" Last Argument is: double Commented Nov 5, 2013 at 17:56
  • The problem is that the last argument was 'last value', and not value. The error is caused by the argument containing a space.
    – Thomas
    Commented Nov 8, 2013 at 3:02