|
|
| Author |
Message |
|
| klacke at erix.ericsson.s |
Posted: Tue Apr 13, 1999 10:36 pm |
|
|
|
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) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|