man pages
Claes Wikstrom
klacke@REDACTED
Wed Apr 14 00:36:18 CEST 1999
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
More information about the erlang-questions
mailing list