Article 5R20G GNU recutils and regular expressions problem

GNU recutils and regular expressions problem

by
validator456
from LinuxQuestions.org on (#5R20G)
With the program GNU recutils you can create simple, text-based databases.
The manual can be found here: https://www.gnu.org/software/recutil...l#SEC_Contents

The command recsel is used to extract information from the database.
For instance, the following command gives you the entire file:
Quote:
recsel books.rec

Title: GNU Emacs Manual
Author: Richard M. Stallman
Publisher: FSF
Location: home

Title: The Colour of Magic
Author: Terry Pratchett
Location: loaned

Title: Yeelong User Manual
Location: home
The command recsel supports regular expressions with the -e option.
recsel -e "Title = 'Yeelong User Manual'" books.rec

What I want to do is to select the titles with "Manual" in it. But I can't find the right regular expression for it.
recsel -e "Title - 'Manual'" books.rec (this doesn't work, but notice that the dash is used)

All in all, it is just a regex problem. But I can't figure it out.
Your help is greatly appreciated.latest?d=yIl2AUoC8zA latest?i=ONnKBggRNuQ:ndjNRNhTFyU:F7zBnMy latest?i=ONnKBggRNuQ:ndjNRNhTFyU:V_sGLiP latest?d=qj6IDK7rITs latest?i=ONnKBggRNuQ:ndjNRNhTFyU:gIN9vFwONnKBggRNuQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments