Open xplshn opened 5 months ago
Thanks, I'll add those to the list, and you're right it should be sh by default unless the user specifies otherwise.
Thanks! Cool project, I very much like being able to pass colors to echo, no matter how much I hate nonPOSIX things its convenient for scripts that'll only run on my PC. Very cool indeed.
cmd/unshare: Hardcodes bash, when it should resort to SH, which is what POSIX compliant systems use (Also those that aren't POSIX compliant tend to just link their default shell to /bin/sh)
cmd/sshd also, add the "ash" and "hush" shell to the list, along with "yash" & "ksh", given that ksh is common place on *BSD systems, and I use that too. In line 46 you should update this, in order for it to work on systems that use other shells:
Also, https://github.com/search?q=repo%3Asweetbbak%2Fgo-moreutils%20bash&type=code There are tons of scripts which could just /bin/sh instead of /bin/env/bash so that they run on more systems.