moving GetEnv and IsUnixCommand to DShellGrammar