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
  • 1
    So when you ask the user something as the application is running, you should print the question on stderr? That doesn't sound right. Do you have a source for it? Does this only apply to applications which have output other than just questions and responses (output the user might want to pipe somewhere)? Commented Jan 12, 2017 at 22:14
  • @UTF-8 Should the text of the question be considered part of the output of the program? What about that which the user types in? I don't think it should be (just like shells don't think it should be). But maybe it depends on the application? Commented Jan 12, 2017 at 22:17
  • 1
    Thank you for your edit. In the meantime, I checked the behavior of standard applications and they behave like one would expect them to behave after reading your answer. Commented Jan 12, 2017 at 22:23
  • @UTF-8 you might find this Q&A relevant: unix.stackexchange.com/q/331611/22222 Commented Jan 12, 2017 at 22:39