"Fossies" - the Fresh Open Source Software archive

Member "tiger-3.2.3/systems/IRIX/6/getuserhome" of archive tiger-3.2.3.tar.gz:


#!/bin/sh

#
# cd to / in case we are down in a directory we don't have read
# access to.  /bin/csh will barf if that is the case.
#
cd /

user="$1"

/bin/csh -c "echo ~$user" 2> /dev/null