<commit_before># OFEXPORT2

*Updated $DATE.*

[Release Notes](doc/RELEASE-NOTES.md)

## Table of Contents

- [Introduction](#introduction)
- [Audience](#audience)
- [How it works](#how-it-works)
- [Installation](#installation)
- [Uninstallation](#uninstallation)
- [Usage](#usage)
    - [Overview](#overview)
    - [Filtering](#filtering)
- [Reference](#reference)
    - [Output and Formats](#output-and-formats)
    - [Project vs Context Mode](#project-vs-context-mode)
    - [Matching and Regular Expressions](#matching-and-regular-expressions)
    - [Date Filters](#date-filters)
    - [Sorting](#sorting)
    - [Pruning](#pruning)
    - [Flattening](#flattening)
    - [Examples](#examples)
    - [Writing a Template](#writing-a-template)
    - [Building it Yourself](#building-it-yourself)
- [ofexport vs ofexport2](#ofexport-vs-ofexport2)
- [Other Approaches Considered](#other-approaches-considered)
- [Known Issues](#known-issues)

## Introduction

**ofexport2** is a command line tool for exporting OmniFocus data to a variety of file formats and is a complete re-write of the original [ofexport](https://github.com/psidnell/ofexport/blob/master/DOCUMENTATION.md).

Before proceeding, please select the required version of this document:

- [Latest Stable Release: $VERSION](https://github.com/psidnell/ofexport2/blob/ofexport-v2-$VERSION/README.md)
- [Development Version](https://github.com/psidnell/ofexport2/blob/master/README.md)

This is an early version and at the time of writing I'm making major changes. If you need something reliable and with good documentation then the original [ofexport](https://github.com/psidnell/ofexport/blob/master/DOCUMENTATION.md) is stable and functional.

## Audience ##

To be able to use ofexport2 there are some pre-requisites, you need to:

- Have [OmniFocus](https://www.omnigroup.com/omnifocus) installed.
- Be comfortable using bash and the command line.
- Know what an [expression](http://en.wikipedia.org/wiki/Expression_(computer_science)) is.
- Have [Java 8](https://www.oracle.com/java/index.html) or know how to install it.
- Have read and appreciated [The Hitchhikers Guide to the Galaxy](http://en.wikipedia.org/wiki/The_Hitchhiker's_Guide_to_the_Galaxy).

You're going to have to know [where your towel is](http://hitchhikers.wikia.com/wiki/Towel).

## How it works
<commit_msg>Added missing index entry<commit_after># OFEXPORT2

*Updated $DATE.*

[Release Notes](doc/RELEASE-NOTES.md)

## Table of Contents

- [Introduction](#introduction)
- [Audience](#audience)
- [How it works](#how-it-works)
- [Installation](#installation)
- [Uninstallation](#uninstallation)
- [Usage](#usage)
    - [Overview](#overview)
    - [Filtering](#filtering)
- [Reference](#reference)
    - [Output and Formats](#output-and-formats)
    - [Project vs Context Mode](#project-vs-context-mode)
    - [Matching and Regular Expressions](#matching-and-regular-expressions)
    - [Date Filters](#date-filters)
    - [Sorting](#sorting)
    - [Pruning](#pruning)
    - [Flattening](#flattening)
    - [Examples](#examples)
    - [Tips](#tips)
    - [Writing a Template](#writing-a-template)
    - [Building it Yourself](#building-it-yourself)
- [ofexport vs ofexport2](#ofexport-vs-ofexport2)
- [Other Approaches Considered](#other-approaches-considered)
- [Known Issues](#known-issues)

## Introduction

**ofexport2** is a command line tool for exporting OmniFocus data to a variety of file formats and is a complete re-write of the original [ofexport](https://github.com/psidnell/ofexport/blob/master/DOCUMENTATION.md).

Before proceeding, please select the required version of this document:

- [Latest Stable Release: $VERSION](https://github.com/psidnell/ofexport2/blob/ofexport-v2-$VERSION/README.md)
- [Development Version](https://github.com/psidnell/ofexport2/blob/master/README.md)

This is an early version and at the time of writing I'm making major changes. If you need something reliable and with good documentation then the original [ofexport](https://github.com/psidnell/ofexport/blob/master/DOCUMENTATION.md) is stable and functional.

## Audience ##

To be able to use ofexport2 there are some pre-requisites, you need to:

- Have [OmniFocus](https://www.omnigroup.com/omnifocus) installed.
- Be comfortable using bash and the command line.
- Know what an [expression](http://en.wikipedia.org/wiki/Expression_(computer_science)) is.
- Have [Java 8](https://www.oracle.com/java/index.html) or know how to install it.
- Have read and appreciated [The Hitchhikers Guide to the Galaxy](http://en.wikipedia.org/wiki/The_Hitchhiker's_Guide_to_the_Galaxy).

You're going to have to know [where your towel is](http://hitchhikers.wikia.com/wiki/Towel).

## How it works

{'fraction_non_alphanumeric': 0.13861805849936415, 'fraction_numerical': 0.0038151759220008477, 'mean_word_length': 4.611177170035671, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4084639', 'n_tokens_mistral': 1567, 'n_tokens_neox': 1491, 'n_words': 378}