Open juergenhoetzel opened 8 years ago
@juergenhoetzel is your default shell TCSH?
@VojtechVitek yes, TCSH is the default Shell on FreeBSD
IMHO the best solution would be to just rely on POSIX features
agreed on replying only on POSIX commands
hmm........ this is tricky, since export VAR=val
actually exports the var to all child processes
I guess I could use set
or setenv
instead but there might be hidden edge cases.
agreed on replying only on POSIX commands
Actually export=
is valid POSIX.
Invoking /bin/sh
explicitly could be used to enforce evaluation using a POSIX shell, whether or not the users account is set to a POSIX shell
@juergenhoetzel can you verify that your FreeBSD system doesn't have TCSH on /bin/sh path?
@juergenhoetzel can you verify that your FreeBSD system doesn't have TCSH on /bin/sh path?
I can confirm. /bin/sh
is always the default POSIX sh: https://www.freebsd.org/cgi/man.cgi?query=sh&sektion=&n=1
yea.. you can definitely expect any POSIX OS to have /bin/sh
Might be solved by #77.
Part of local issues are fixed in 3862ab77a7eef396ae0ddb74db1b74f5270950aa, but if remote target is a FreeBSD-System: