bug-recutils
[Top][All Lists]
Advanced

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

Re: [bug-recutils] question about bool types


From: Jose E. Marchesi
Subject: Re: [bug-recutils] question about bool types
Date: Fri, 02 Aug 2013 11:36:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

    >The second.  Unfortunately at this moment the evaluation of the
    >selection expressions is totally unaware of the field types.
    >
    >This will change at some point, but until then I would suggest to create
    >your own boolean type using %type, using a single pair values
    >representing true and false.
    
    No problem.  All of my values are consistent as of now, so it's not a
    big issue.

Ok, but still it would be desirable to define your boolean type so you
can use integrity checks.
    
    Unrelated question.  What is the recommended way of taking recfmt's
    output and dividing it up on a one-record-per-file basis?  I ask
    because I have a simple markdown template that I can use recfmt to
    turn my records into an easy to display format for my mobile phone
    text editor.  It would be convenient if I could easily dump my
    recutils db into a bunch of files in a Dropbox folder that my phone
    can access.  As it stands now, I have one big file with all of the
    records in it.  I toyed around with using csplit to divide up the
    file, but was curious to know if there were any other suggestions.
    
That is a good idea, to add a switch to recfmt in order to split the
output in several files.

At the moment you will have to use an external program to do the
splitting, such as csplit from coreutils.




reply via email to

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