Eric Blake [EMAIL PROTECTED] writes:
Should yesno() be setting the properties of stdin to be unbuffered for the
duration of the getline(), so that the rest of stdin is not consumed too
early?
That would make the code less portable/reliable, I think, and would
slow things down. POSIX does not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
For several utilities, POSIX requires that the utility shall write a
prompt to the standard error and read a line from the standard input. I
was trying to take advantage of this wording to test my patch for 'rm -I'
to make sure only one line is