Hi all,
While declaring record descriptors in a separate file (remote-style), I noticed that the %auto special field does not work when declared there. When I declare it in my rec file, it does work.
A minimal example:
test.descriptor.rec:
%rec: Test
%key: id
%auto: id
test.rec:
%rec: Test test.descriptor.rec
Now, if you run recins -t Test -f name -v value test.rec, it complains about id not being provided! But when you remove the auto line from the descriptor file and add it just under the rec line in test.rec, it will work again!
I tested this both on the current version of recutils on Ubuntu 22.04 (don't know the version by hart, but can look it up if necessary) and on the latest version on termux (1.8-1).
Let me know if you need anymore information.
Best regards,
Chris