3 ms·
This is why well-behaved programs prompt for input. Like bash, e.g.
by ddalex 10y ago
This is why well-behaved programs prompt for input. Like bash, e.g.
- bluetomcat 10y agoWith cat being the notable exception :-)
- marcosdumay 10y agoAnd grep. Programs that use the input and output to carry data around can not show prompts to the user.
- athenot 10y agoA workaround is to prompt on STDERR. Data input will enter the same place, and output will be distinguished from the text for prompts.