Calling a function from command line

Pupeno <>
Sat Mar 4 07:05:29 CET 2006

I am making a kind of script that generates documentation using edoc.
I need to call edoc:files(["my", "list", "of", "files"], [{so, "me"}, {opt, 
"ions"}]) but that can't be called from the shell itself, so, is there a 
better way to do it than:

echo "edoc:files([\"my\", \"list\", \"of\", \"files\"], [{so, \"me\"}, {opt, 
\"ions\"}])" | erl


Pupeno <> (
Vendemos: Camara de fotos rusa ЗЕНИТ ET (ZENIT) con flash ФОТОН:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list