Elixgrep

Usage:

exilgrep [string] [files and/or directories]

Options:

-h, [--help]                # Show this help message and quit.
-c, [--count] filecount     # Number of files to process in parallel

Description:

Runs a version of map/reduce on the file list given on the command
line. Requires an elixir module that implements two functions. 

gr_map(options,path) -> {path,[]}
gr_reduce(options) Expects to recieve two kinds of messages 
            { item: { path, []}}
            { finalize: } -> Should output results and exit.
Source

Summary

background(arg1)
build_paths(arg1)
cleanup(options)
gr_map(options, path)
gr_reduce(options)
load_plugin(options)
main(args)
merge_opts(opts, bad_opts)
parse_args(args)
process(arg1)
processing_units()
rehabilitate_args(bad_args)
start_reduce(options)

Functions

background(arg1)
Source
build_paths(arg1)
Source
cleanup(options)
Source
gr_map(options, path)
Source
gr_reduce(options)
Source
load_plugin(options)
Source
main(args)
Source
merge_opts(opts, bad_opts)
Source
parse_args(args)
Source
process(arg1)
Source
processing_units()
Source
rehabilitate_args(bad_args)
Source
start_reduce(options)
Source