[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distinguishing shells
>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.
what do you mean distinguish?
what do you need /bin/test for? access and ~ should cover most purposes.