Projects / GNU recutils

GNU recutils

GNU Recutils is a set of tools and libraries to access human-editable text-based databases called recfiles. A recfile contains data structured as a sequence of records. The rec format supports data integrity with the usage of record descriptors (keys, mandatory fields, field types, etc.) as well as the ability of record fields to refer to other records. Despite its simplicity, recfiles can be used to store medium-sized databases. The GNU recutils suite comprises a texinfo manual describing the Rec format, a C library (librec) providing a rich set of functions to access rec files, a set of C utilities that can be used in shell scripts and in the command line to operate on rec files, and an Emacs mode (rec-mode).

Operating Systems

Recent releases

  •  24 Mar 2014 23:20

    Release Notes: The user-visible changes in this release are a new -d option for rec2csv in order to support arbitrary separators, support for the new %allowed special field, and the ability to jump through several records in rec-mode. The manual has been improved and completed. This release also fixes many bugs.

    •  03 Nov 2013 14:45

      Release Notes: This version adds support for joins and foreign keys, field grouping and sorting, rewrite rules in field expressions, row-mode field printing, aggregated functions, a bash loadable module for reading records in bash loops, the new uuid field type, a much improved emacs mode, and a restructured and expanded user manual.

      •  13 Jan 2012 11:25

        Release Notes: This version introduces several user-visible improvements: utilities can now interactively ask for passwords (avoiding security problems), there is support for octal and hexadecimal numbers, new command line options -U (uniq) and -q (quick), etc. The internals of librec and the utilities have been vastly improved, resulting in a much faster operation. Many bugs were fixed.

        •  04 Nov 2011 10:10

          Release Notes: This release adds support for encryption, named types, and sorting, org-babel mode for recutils, improvements in selection expressions, new operation modes in recfix, and lots of bugfixes,

          •  12 Feb 2011 20:48

            Release Notes: A quite bad bug introduced in version 1.2 has been fixed. The bug was causing recins, recdel, and recset to report random integrity failures, due to an uninitialized variable. The %size special field was added, which allows you to define constraints in the size of the record sets. Translations updates were made. Many bugs were fixed.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.