#* ----------------------------------------------------------------------
#*               Proprietary and Confidential Information
#*
#* This material contains, and is part of a computer software program
#* which is, proprietary and confidential information owned by COMPUTER
#* ASSOCIATES INTERNATIONAL, INC.  The program, including this material,
#* may not be duplicated, disclosed or reproduced in whole or in part for
#* any purpose without the express written authorization of COMPUTER
#* ASSOCIATES. All authorized reproductions must be marked with this
#* legend.
#*
#*                          Copyright (c) 1992-2005
#*             Computer Associates International, Incorporated
#*                          All rights reserved
#*
#* ----------------------------------------------------------------------
#*  SCCS Module Control Stamp
#* ----------------------------------------------------------------------
#
#* "@(#)csutils_envusrcsh	1.3  02/10/05 14:23:31"
#* "Copyright (C) 1992-2005 Computer Associates International, Inc.  All rights reserved."
#

#
# Generic envusrcsh
# Call envusr with the csh parameter.  envusr will set the environment 
# variables and issue an caenv command.  The output of envusr is then
# piped into the awk filter which converts the environment variables into
# setenv (csh) format and outputs them into a temporary file.  The temporary
# file is then executed to set up the environment variables in the 
# csh environment.
#

sh "$CASHCOMP/csutils/bin/csutils_envusr" csh | awk -f "$CASHCOMP/csutils/bin/csutils_envusrcsh.awk" >/tmp/$$.tdevrcsh
source /tmp/$$.tdevrcsh
rm -f /tmp/$$.tdevrcsh >/dev/null
