The subject of October CHUUG meeting https://plus.google.com/communities/109291424733517240577 is a language showdown in which numerious implementations of the same problem will be demonstrated in various programming languages. I volunteered to implement an Elixir solution.
Thus far, the requirements are
- Your program should take a path to a file as command line argument.
- The path will be a flat file of URLs separated by carriage return.
- The URLs will point to a page of text.
- Your program should output a text file containing the aggregate word counts for all the URLs contained in the flat file.
- Additionally, your program should also display the time it took from initial invocation to the completion of writing the output file.
Excellent Setup instructions here: http://elixir-lang.org/getting_started/1.html
git clone https://github.com/netinlet/chuug_word_count.git
cd chuug_word_count
mix deps.get
mix test
Make command line executable
mix compile
mix escriptize
Run it
./chuug_word_count --report full --seed /path/to/seed/file