query: Why two EOF needed as input?
positive_passages.docid: 77252
positive_passages.text: Canonical vs. non-canonical terminal input
negative_passages.docid: 120132
negative_passages.text: ctrl-d didn't stop the while(getchar()!=EOF) loop
negative_passages.docid: 71283
negative_passages.text: Which one is better: using ; or && to execute multiple commands in one line?
negative_passages.docid: 31372
negative_passages.text: Why does this accept invalid input?
negative_passages.docid: 54382
negative_passages.text: Testing stream.good() or !stream.eof() reads last line twice
negative_passages.docid: 26679
negative_passages.text: Reading from text file until EOF repeats last line
negative_passages.docid: 96938
negative_passages.text: What's the difference between using > and >> in shell?
negative_passages.docid: 16405
negative_passages.text: What is the purpose of using a FIFO vs a temporary file or a pipe?
negative_passages.docid: 152931
negative_passages.text: What is the difference between redirection 2>&1 1>file.txt and >a.txt 2>&1?
negative_passages.docid: 152656
negative_passages.text: Input string was not in a correct format #2
negative_passages.docid: 146972
negative_passages.text: How (and why) use stderr for both reading and writing?
negative_passages.docid: 80499
negative_passages.text: Why did $id disappear after the EOF
negative_passages.docid: 111503
negative_passages.text: How do you read from stdin?
negative_passages.docid: 134951
negative_passages.text: What is the difference between > and >> (especially as it relates to use with the cat program)?
negative_passages.docid: 154908
negative_passages.text: Multiple standard input? How?
negative_passages.docid: 44433
negative_passages.text: Detecting EOF in C++ from a file redirected to STDIN
negative_passages.docid: 142924
negative_passages.text: Why allow concatenation of string literals?