O'Reilly logo

Shell Programming in Unix, Linux and OS X, Fourth Edition by Patrick Wood, Stephen G. Kochan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13. Rolo Revisited

This chapter presents the final, much improved version of the rolo program enhanced with additional options and also allows for more general types of entries (other than just names and numbers). The sections in this chapter discuss the individual components of rolo, starting with the main rolo program itself. At the end of this chapter, sample output is shown.

Data Formatting Considerations

While the initial name-and-number rolo program shown earlier in the book is handy, there’s no question that a more useful program would allow more than just the names and numbers to be stored. You’d probably want to save addresses and email addresses too, for example. The new rolo program allows entries in the phone book to consist of multiple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required