10. Configuration: Starting on the Right Foot
Let us watch well our beginnings, and results will manage themselves.
—Alexander Clark
Under Unix, programs can communicate with their environment in a rich variety of ways. It’s convenient to divide these into (a) startup-environment queries and (b) interactive channels. In this chapter, we’ll focus primarily on startup-environment queries. The next chapter will discuss interactive channels.
10.1 What Should Be Configurable?
Before plunging into the details of different kinds of program configuration, we should ask a high-level question: What things should be configurable?
The gut-level Unix answer is “everything”. The Rule of Separation that we discussed in Chapter 1 encourages Unix programmers ...
Get The Art of UNIX Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.