September 2013
Intermediate to advanced
548 pages
12h 25m
English
In this section, we’ll take Sherlock for a test-drive. First we have to initialize Sherlock by fetching and analyzing data from the Erlang mailing lists archives. Once this is done, we’ll be able to query the data in various ways.
Some of the commands in this section take a long time, so we do them only once. First we initialize the system.
| | 1> sherlock:init(). |
| | Making ${HOME}/.sherlock/mails |
| | sherlock_cache_created |
This creates a directory structure under your home directory. It will fail
if the environment variable HOME is not set. Sherlock stores all
data in the directory structure under the ${HOME}/.sherlock top-level
directory.
| | 2> sherlock:fetch_index(). |
| | Written: /Users/joe/.sherlock/mails/questions.html ... |
Read now
Unlock full access