Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!haven!umbc3!gmuvax2!xwang From: xwang@gmuvax2.gmu.edu (Xiang-Min Wang) Newsgroups: comp.unix.shell Subject: signature of the Bourne shell and the C shell Keywords: sh, csh Message-ID: <3596@gmuvax2.gmu.edu> Date: 24 Feb 91 03:29:06 GMT Organization: George Mason Univ., Fairfax, Va. Lines: 13 I am writing a shell script in which I want, among other things, to have the capability of testing first the system is the Bourne shell or the C shell. Right now, I am using some system shell variables to do that. I do not feel comfortable with this solution. I want to know you (the netter) have any rebust solution to this problem (test is it the Bourne or C shell?). Any suggestions or ideas welcome. Thank you in advance. Please send your response to: xwang@gmuvax2.gmu.edu (usa) xwang@gmuvax.bitnet (usa) xwang Brought to you by Super Global Mega Corp .com