Robert S. Thau wrote:
>
> I just gave Jim's script a very, very brief skim, but this stuck out:
>
> # Now NeXT
>
> if hostname > /dev/null 2>/dev/null; then
> ISNEXT=`hostname`
> case "$ISNEXT" in
> *NeXT*)
> echo "whatever-next-nextstep"; exit 0
> ;;
> esac
> fi
>
> On the systems I've used, the hostname command returns, well, the
> name of the host. If it does the same thing on NeXT's as well, then
> the assumption here seems to be that every NeXT box will have 'NeXT'
> in the hostname (and other boxes won't). If not, well... you learn
> something new every day. So, ummmm, what does it return on a NeXT box?
>
Oops... That should be 'hostinfo' not hostname :(
--
Jim Jagielski << jim@jaguNET.com >> | "There is a time for laughing,
** jaguNET Access Services ** | and a time for not laughing,
Email: info@jaguNET.com | and this is not one of them"
++ http://www.jaguNET.com/ +++ Voice/Fax: 410-931-3157 ++
|