File Contents

1. Introduction

2. Reading Lines with Continuation Characters

3. Counting Lines (or Paragraphs or Records) in a File

4. Processing Every Word in a File

5. Reading a File Backwards by Line or Paragraph

6. Trailing a Growing File

7. Picking a Random Line from a File

8. Randomizing All Lines

9. Reading a Particular Line in a File

10. Processing Variable-Length Text Fields

11. Removing the Last Line of a File

12. Processing Binary Files

13. Using Random-Access IO

14. Upating a Random-Access File

15. Reading a String from a Binary File

16. Reading Fixed-Length Records

17. Reading Configuration Files

18. Testing a File for Trustworthiness

19. Program: tailwtmp

20. Program: tctee

21. Program: laston