Purpose for this is producing an rpz zone file starting from one or more hostfile.
hostfile_to_rpz.py [-v] [-n] [-d /etc/hostfiles/] [-o /var/bind/rpz/rpz_zone_file.rpz]
- -n don't suppress duplicated record
- -v print steps to stdout
- -d set input dir path
- -o set output file path
Not much contributing here, in the insane case you are willing to, next wanted feature are:
- A config file to control parameters to avoid control switch explicitation.
- More control switch (syslog suppression/facility, verblevel,...)
This is not a script, call it whatever you want but not script, alternative suggested name are:
- this, thing
- stuff, gudget, gimmik
- program, scheduled job
- integration, automation, project
Stop this meaningless dissing between different programming languages, coding language is a matter of comfort, if you love a different language you are encuraged to translate this code in any language you love.