Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!cme!cme.nist.gov!rowe From: rowe@cme.nist.gov (Walter Rowe) Newsgroups: comp.unix.admin Subject: Re: Switching users from csh to sh Keywords: shell, m4, csh, sh, .cshrc, .profile Message-ID: <3187@durer.cme.nist.gov> Date: 20 May 91 17:47:03 GMT References: <1746@targon.UUCP> <1991May18.120324.3973@druid.uucp> Sender: news@cme.nist.gov Reply-To: rowe@cme.nist.gov Organization: National Institute of Standards and Technology Lines: 13 Having each user do something like "/bin/sh startup.stuff" doesn't allow the startup script to define environment variables for user (like MANPATH). We (well, one person is doing all the work) are working on an m4 script that will generate a common .cshrc and .profile that each user can source from his/her .cshrc/.profile. They can choose to not reference it if they wish. By `source'-ing rather than executing you get the advantage that I wanted above (environment variables stay around). wpr --- Walter Rowe rowe@cme.nist.gov ...!uunet!cme-durer!rowe National Institute of Standards and Technology / U.S. Department of Commerce