[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-recutils] [bug #41616] new special field %allowed?
From: |
Karl Berry |
Subject: |
[bug-recutils] [bug #41616] new special field %allowed? |
Date: |
Sun, 16 Feb 2014 23:43:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 |
URL:
<http://savannah.gnu.org/bugs/?41616>
Summary: new special field %allowed?
Project: GNU recutils
Submitted by: karl
Submitted on: Sun 16 Feb 2014 03:43:32 PM PST
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
when making up a new recfile, i know exactly which fields i want to have. in
order to make it possible to check for typos in field names, how about a new
special field %allowed that would just declare "this field is ok but
optional", in addition to those declared with %mandatory and %key.
then, if and only if %allowed is specified, recfix could complain if any field
is present that is not given in the union of %allowed + %mandatory + %key.
If there's another way to accomplish that, please let me know. (aside from
programming it myself with an external script, which would not be hard, of
course.)
thanks,
k
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41616>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-recutils] [bug #41616] new special field %allowed?,
Karl Berry <=