3 Querying Recfiles

Since recfiles are always human readable, you could lookup data simply by opening an editor and searching for the desired information. Or you could use a standard tool such as grep to extract strings matching a pattern. However, recutils provides a more powerful and flexible way to lookup data. The following sections explore how the recutils can be used in order to extract data from recfiles, from very basic and simple queries to quite complex examples.