You must understand, knowledge of how Unix like OS works is assumed in the examples given in the K&R C books.

Most of these simple examples are designed to work with redirected input to the...