|
From: | Tim Gray |
Subject: | Re: [bug-recutils] question about bool types |
Date: | Fri, 2 Aug 2013 00:22:45 -0400 |
User-agent: | Mutt/1.5.21+154 (4c5163272b9c) (2012-12-30) |
On Aug 01, 2013 at 03:02 PM +0200, Jose E. Marchesi wrote:
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.
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.
Thanks again. Tim
[Prev in Thread] | Current Thread | [Next in Thread] |