LinuxDevCenter.com

oreilly.comSafari Books Online.Conferences.

We've expanded our Linux news coverage and improved our search! Search for all things Linux across O'Reilly!

Search
Search Tips

advertisement

Print Subscribe to Linux Subscribe to Newsletters
Linux & Unix > Excerpts >
Living Linux

Contact Managers

06/13/2000

Loosely put, a "contact manager" is a piece of software that helps you keep track of information about people you may need to contact in the future. In the past, people often called the physical version of these things a "rolodex," which incidentally was a brand name for the Cadillac of such contact managers, the circular Rolodex file that sat atop the desk of every successful 20th century businessman. I hear that many people use devices like this even today; in this week's column, I'd like to show how it can be done on Linux systems with faster search times and much less desk space.

Keeping a free-form address list

This is the simplest way to keep names and addresses in Linux.

You can keep names and addresses in a text file as a free-form address list; to find an entry, use the search capabilities of tools like grep, text editors, and text pagers such as less.

What's nice about such lists is that you don't have to keep the same information or format for each entry -- one might contain just a name and phone number, another a complete mailing address, another a name and e-mail address. With a free-form address list, each entry contains whatever information you want in the format you want. Separate the entries with a delimiter line of your preference, like "###" on a line by itself.

For example, suppose you have such a text file, rolo, containing three entries:

John Dos Passos
1919 America Ave.
New York City

###

Scott F. - 602 555 1803
(don't call after 12)

###

T. Wolfe's new email has changed.
The new one is: tw@example.com

Notice that each entry contains varied information, and in no particular format. That's the benefit of a free-form list -- you don't have to type the entries in any particular order, and you're not bound by a given set of "fields"; you can even cut and paste text into it from e-mail, the Web, or other windows.

Pages: 1, 2, 3

Next Pagearrow




Tagged Articles

Be the first to post this article to del.icio.us

Recommended for You

Sponsored Resources

  • Inside Lightroom
Advertisement

Sponsored by:

Sign up today to receive special discounts,
product alerts, and news from O'Reilly.
Privacy Policy >
View Sample Newsletter >
  • Youtube
  • http://www.youtube.com/OreillyMedia
  • Twitter
  • Subscribe
  • View All RSS Feeds >
O'Reilly Media

800-889-8969 or 707-827-7019
Monday-Friday 7:30am-5pm PT
©2011, O'Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
  • About O'Reilly
  • Academic Solutions
  • Contacts
  • Customer Service
  • Careers
  • Press Room
  • Privacy Policy
  • Terms of Service
  • Writing for O'Reilly
  • Community
  • Authors
  • Forums
  • Membership
  • Newsletters
  • RSS Feeds
  • User Groups
  • More O'Reilly Sites
  • igniteshow.com
  • makerfaire.com
  • makezine.com
  • craftzine.com
  • labs.oreilly.com
  • Partner Sites
  • PayPal Developer Zone
  • O'Reilly Insights on Forbes.com