#!/bin/sh

if test `arch` = SGI
then
  echo $1 | tr "[A-Z] " "[a-z]-" | tr -cd "[a-z]-"
else
  echo $1 | tr "A-Z " "a-z-" | tr -cd "a-z-"
fi
