Answer to exercise 1-8. Write a program to count blanks, tabs and newlines.
Answer to exercise 1-9. Write a program to copy its input to its output, replacing each string of one or more blanks by a single blank.
Answer to exercise 1-10. Write a program to copy its input to its output, replacing each tab by \t, each backspace by \b and each backslash by \. This makes tabs and backspaces visible in an unambiguous way.