You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. /bin/sh historically used to be (and continues to be on some distros) a POSIX or "Bourne" shell specifically, for this reason when bash executes shell script with a /bin/sh shebang, it enters "POSIX mode". Specifying "sh" as a language in the bot doesn't invoke such behavior and runs a standard bash instead of this.
The suggestion is for "sh" alias to run "bash --posix $@" instead. This would be very helpful to have.
The text was updated successfully, but these errors were encountered:
Hello.
/bin/sh
historically used to be (and continues to be on some distros) a POSIX or "Bourne" shell specifically, for this reason whenbash
executes shell script with a/bin/sh
shebang, it enters "POSIX mode". Specifying "sh" as a language in the bot doesn't invoke such behavior and runs a standardbash
instead of this.The suggestion is for "sh" alias to run "bash --posix $@" instead. This would be very helpful to have.
The text was updated successfully, but these errors were encountered: