$ 0 0 There is no guarantee that the input is line buffered. It may come from a file, or the terminal settings may have changed.