>From e70587f3a6c8787e87cce232ab7bfca173cbc88a Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 8 Feb 2011 07:40:55 +0100 Subject: [PATCH] Fix typos and nits in the manual. --- ChangeLog | 8 ++++++++ doc/recutils.texi | 14 +++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c4a81c9..ba08ba9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-02-08 Ralf Wildenhues + + Fix typos and nits in the manual. + * doc/recutils.texi (Introduction, Record Descriptors) + (SEX Operands, recsel Invocation, recset Invocation) + (recfix Examples, recfmt Templates, rec2csv Conversion): + Fix typos, add a few @noindent's. + 2011-02-08 Jose E. Marchesi warnings fixed in the codebase. diff --git a/doc/recutils.texi b/doc/recutils.texi index c80ad59..79dc546 100644 --- a/doc/recutils.texi +++ b/doc/recutils.texi @@ -137,7 +137,7 @@ Introduction The GNU recutils suite comprises: @itemize @minus address@hidden This texinfo manual, describing the Rec format and the accompaying software. address@hidden This texinfo manual, describing the Rec format and the accompanying software. @item A C library (librec) that provides a rich set of functions to manipulate rec data. @item A set of C utilities (recinf, recsel, recins, recdel, recset and recfix) that can be used in shell scripts and in the command line to operate on rec files. @item An emacs mode, @code{rec-mode}. @@ -402,7 +402,7 @@ Record Descriptors %mandatory: IdentifyNumber InStock @end example -Those fields will be considered mandatory. i.e. a field with this name +Those fields will be considered mandatory; i.e., a field with this name shall be present in any record of this kind. Records violating this restriction are considered invalid. @item %prohibit: @var{field1} @var{field2} ... @var{fieldN} @@ -1139,6 +1139,7 @@ SEX Operands Email ~ "\\.org" @end example address@hidden Will match any record in which there is a field named @samp{Email} whose value terminates in @samp{.org}. If we are interested in the value of some specific email, we can specify its relative position @@ -1496,6 +1497,8 @@ recsel Invocation @example -p Name,Email @end example + address@hidden means to print the Name and the Email of every matching record. If this option is not specified then all the fields of the matching @@ -1762,7 +1765,7 @@ recset Invocation Add a new field to the selected record with value @var{VALUE}. @item -S @itemx @address@hidden@var{VALUE}} -Set the value of the selected fiels to @var{VALUE}. If some of the +Set the value of the selected fields to @var{VALUE}. If some of the fields don't exist in a record, append it with the specified value. @item -r @itemx @address@hidden@var{VALUE}} @@ -1861,12 +1864,14 @@ recfix Examples $ recfix data.rec @end example address@hidden The same, but with two files: @example $ recfix data1.rec data2.rec @end example address@hidden Used as a filter: @example @@ -1934,6 +1939,7 @@ recfmt Templates Created at @address@hidden@address@hidden @end example address@hidden When applied to the following record: @example @@ -1945,6 +1951,7 @@ recfmt Templates + now it is leaking 200 megabytes per processed record. @end example address@hidden The result is: @example @@ -2101,6 +2108,7 @@ rec2csv Conversion FIELDNAME[_N] @end example address@hidden where N is a number in the range @code{2..inf} and is the ``index'' of the field in its containing record plus one. For example, consider the following record set: -- 1.7.4.rc1.6.gb704ef.dirty