Skip to content

Converts Zefania XML Bibles to a for use with the fortune program

License

Notifications You must be signed in to change notification settings

maples3/zefania2fortune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zefania2fortune

The goal of this project is to convert a Bible in Zefania XML format to a format for use in fortune such that each invocation of fortune will output a single Bible verse.

Requirements

Usage

usage: zefania2fortune [-h] [-o OUT_DIR] [-n NAMES_FILE] [-s] [-w LINE_WIDTH]
                       in_file

Convert Zefania XML to Fortune-readable files

positional arguments:
  in_file               The input file to read. Must be in Zefania XML format.

optional arguments:
  -h, --help            show this help message and exit
  -o OUT_DIR, --outdir OUT_DIR
                        The directory to store the output files in.
  -n NAMES_FILE, --names NAMES_FILE
                        The CSV file to read the name corrections from. See
                        the provided example.
  -s, --strfile         Automatically run strfile(1) to create the .db files
                        for Fortune.
  -w LINE_WIDTH, --width LINE_WIDTH
                        The width to wrap the verses to.

About

Converts Zefania XML Bibles to a for use with the fortune program

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages