[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-recutils] recsel no integrity checks?

From: Jose E. Marchesi
Subject: Re: [help-recutils] recsel no integrity checks?
Date: Wed, 04 May 2011 11:01:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

    When I remove the invalid record from the file
    the insertion via recins succeeds.
    I know, adding records should be done be recins
    but sometimes it is quicker to edit something with a text editor.

One of the best features of recfiles is precisely that you don't need to
use a specialized tool like recins to modify the contents of the
database.  To edit them with a text editor is maybe the preferred way :)

    So, is it intended behavior of recsel not doing integrity checks?

Yes.  The idea is that you can use 'recfix' to check for the integrity
of the data before you run recsel.  But only if that is what you want to
do.  recins and recdel are aware of integrity by default because they
can alter the contents of the file.

The output of recfix is like the output of a compiler, and some text
editors know how to parse it.  For example, in Emacs you can run
M-xcompile and then navigate through the errors.

Jose E. Marchesi    address@hidden
GNU Project

reply via email to

[Prev in Thread] Current Thread [Next in Thread]