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*

3
  • 1
    True, but irrelevant. The OP wants to load the default value into the variable and allow the user to edit it. Your answer just gives a way to not have a newline, it does not help in saving the value into the variable. Commented Feb 15, 2014 at 13:46
  • I guess I misunderstood - I thought he was saying he wanted to have the input appear on the same line as the prompt. Commented Feb 17, 2014 at 3:17
  • sorry for the misunderstanding.. let me know how can i better my question Commented Mar 26, 2015 at 4:08