If this is something he is output is being fed back to a parent shell (e.g. you are sourcing the output from it to set environment variables) the way I have seen most things behave is to presume the shell is Borne-ish unless a flag (say, -c) is given on the command line (in which case it spits out csh-y output).