Reading From stdin After Command Line Redirection
random832 at fastmail.us
random832 at fastmail.us
Wed Oct 23 17:01:36 EDT 2013
On Wed, Oct 23, 2013, at 16:52, Chris Angelico wrote:
> There are times when this is correct behaviour - like asking for
> passwords (SSH and sudo work like this).
Less (or pagers generally, or an interactive text editor that allows
creating a file from standard input) would be another example of a
program where it makes sense to do this. It is an unusual thing to want
99% of the time, though.
More information about the Python-list
mailing list