Maintaining an Address Book

In this section, you will look at solving a common problem for many people: tracking addresses and phone numbers. Many people, myself included, often get business cards or e-mail messages from people they need to keep in touch with. E-mail messages and business cards have a tendency to get lost, leading to problems when you need to contact someone. A nice solution to this problem is to store all the contact information on the computer so that you can access and manipulate it easily.

In this section, you will develop a set of scripts that work together to maintain a simple address book. The address book will store the following information:

  • Name

  • E-mail address

  • Postal address

  • Phone number

Each of these pieces of information ...

Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition 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.