Chapter 7. Manipulating Text

Of all the things Ruby does, it manipulates text the best. And why shouldn’t it? It’s great at working with pipes and gluing stuff together. The following code snippets give some good examples of places where text manipulation is critical for system administration.

Parsing an LDIF

LDIF is a plain-text file format used to store information about an LDAP tree. LDIF ...

Get Ruby Phrasebook 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.