Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.01 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.01 KB

remparser

Author: Patrick Hof courts@offensivethinking.org
License: CC0 1.0 Universal License

Download: git clone http://github.com/courts/remparser.git

remparser is a simple PEG parser written in Treetop to parse the output of 'remind -s' into a data structure. The simple command line program rem2yaml.rb is provided to show its usage. rem2yaml parses remind's output given on STDIN in a YAML data structure.

rem2yaml.rb Command Line Usage

Usage: rem2yaml.rb [options] < $STDIN

Options:
--------
-h      Show this help

Where $STDIN is the output of 'remind -s'

Examples

remind -s12 ~/.reminders 01 Jan 2011 | rem2yaml.rb

RubyGems

A gemspec file is included, so you can build and install remparser as a gem with:

gem build remparser.gemspec
gem install remparser-x.x.x.gem