Calling a function from command line

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


Hello,
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

?

Thanks.
-- 
Pupeno <> (http://pupeno.com)
Vendemos: Camara de fotos rusa ЗЕНИТ ET (ZENIT) con flash ФОТОН: 
http://pupeno.com/vendo/#camara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060304/65a7f346/attachment.bin>


More information about the erlang-questions mailing list