recsel
Print records from a recfile: a human-editable, plain text database. More information: https://www.gnu.org/software/recutils/manual/recutils.html#Invoking-recsel.
- Extract name and version field:
recsel name,version
- Use "~" to match a string with a given
regex:
recsel " ~ '' "
- Use a predicate to match a name and a version:
recsel "name ~ '' && version ~ ''"
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
