Skip to main content
2 of 9
added 204 characters in body
schily
  • 19.8k
  • 5
  • 41
  • 61

As mentioned in the other answer, programs read from stderr in order to get an interactive reply on a question.

Since a user cannot know under which circumstances a program reads from stderr, it is a useless attempt to intentionally write data into stderr from another program.

Note that today programs usually first try to open /dev/tty and use stderr only in case that does not work.

Programs that only read from stderr usually have never been modified sincce before 1979 and such programs usualy contain constructs like:

i =+ 1;

that are not accepted by modern C compilers.

schily
  • 19.8k
  • 5
  • 41
  • 61