Erlang Documentation Shell Command
Posted by jake | Filed under Programming Ducks
I spend a lot of time looking things up in the man pages on erlang.org. Here’s how to setup a nice shortcut if you’re a mac user:
$> echo -e '#!/bin/sh\nopen http://erlang.org/doc/man/$1.html\n' > erld
$> chmod +x erld
$> sudo mv erld /usr/local/bin/
Now you can do:
$> erld lists
This runs “open http://erlang.org/doc/man/lists.html”
Enjoy!
April 16th, 2009 at 6:32 pm
why not use: erl -man MODULE
June 21st, 2010 at 5:16 pm
Buildings are not cheap and not every person is able to buy it. Nevertheless, loans are created to aid different people in such cases.