Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!crackers!m2c!wpi.WPI.EDU!fenn From: fenn@wpi.WPI.EDU (Brian Fennell) Newsgroups: comp.unix.shell Subject: A few questions Message-ID: <1990Dec11.202750.2435@wpi.WPI.EDU> Date: 11 Dec 90 20:27:50 GMT Organization: Worcester Polytechnic Institute Lines: 16 There was a question about .logout for bash... any idea how to fudge it with ksh? Also: I have been on a few network systems where I have a diferent shell depending on what maghine I login to, but all the same files. I finnally got sick of rewriting both .login and .profile and made one a link to the other, and added a test on $SHELL and a few aliases to fake out csh and ksh into acting the same for varable assignment. The question\chalange: what is the best way to do this so it will work for all the shells I might run into. including aliases if-thens and variable assignment (I have a feeling the answer might be: exec c_prog_login) third: has there ever been such a thing as a bourn-script compiler?