On Tue, Jan 19, 2021 at 11:53:52 +1100, Tom Robinson wrote:
> 
> Also, the man page says there are defaults for NORMAL and STRANGE but these
> 'defaults' don't seem to be included into the application definition when I
> dump the config information with amadmin daily config:

[...]
> Is the man page incorrect? Are the 'defaults' really applied or do I have
> to manually specify them in the config file?

I haven't looked closely at this functionality before, but from a quick
skim of the code in application-src/amgtar.c, it looks like those
default values are built directly in to the program itself.  

That is, they aren't implemented as part of the config system and thus
don't show in the output of "amadmin ... config", but they do indeed
exist underneath the hood.  

(As a corollary to that, it seems like there isn't any way to completely
delete the default strings from amgtar's processing, though you can
override the treatment of a particular regex by explicitly specifying
it as another type in the config file.)


(Are you seeing any situations where it looks like the default strings
aren't being applied as you would have expected from the man page
description?)

                                                Nathan


----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to