OK -- anyone have a good suggestion as to how a script can distinguish itself as being run under sh vs. es? I'm in the position where I have to do that (you don't want to know why -- really, you don't). I have something that works, but it requires /bin/test. I'd rather have a solution that didn't require any external programs.