add ucf_helper_functions
Hi Manoj,
please consider this merge request, which introduces a new subdirectory ucf_helper_functions under the examples directory. It contains a shell function include file ucf_helper_functions.sh which introduces a quite advanced helper function to handle lots of ucf conffiles. This code has been in use in the aide package for some time and has not caused any problems.
The directory also includes a test suite which was used to develop the code and can now be used to verify the code.
I have tried doing some documentation in the 00README directory.
In my wildest dreams, ucf would ship the file outside of /usr/share/doc, for example in /usr/share/ucf/helper_functions.sh, so that packages can source that directly from their maintainer scripts. That would give you/us the opportunity to continue development of the code and to have using packages immediately profit of the new code.
Greetings Marc