Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  man pages

klacke at erix.ericsson.s
Posted: Tue Apr 13, 1999 10:36 pm Reply with quote
Guest
Several people have asked if it would be possible to view
the erlang man pages in a nice way in an *uninstalled* erlang
system, that is the compiled source distribution.

I do that by

#!/bin/sh
#file: eman
#pupose: maybe useful man viewer for erlang developers

if [ "xx$ERL_TOP" = "xx" ]; then
echo "Need to set environment variable ERL_TOP"
exit 1
fi

mp=""
for dir in $ERL_TOP/lib/*
do
if [ -d $dir/doc/man ]; then
mp=$mp:$dir/doc/man
fi
done
MANPATH=""
export MANPATH
man -M$mp $1


Cheers

/klacke


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum