RockteMQ-AI commented on issue #182: URL: https://github.com/apache/rocketmq-connect/issues/182#issuecomment-5608754903
**Issue Evaluation** Category: `question` | Status: **Answered** Regarding the use of `bash` vs `sh` in RocketMQ Connect scripts: **Answer:** - `sh` is the POSIX standard shell and is more portable across different Unix systems - `bash` provides additional features (arrays, `[[ ]]`, process substitution) not available in POSIX sh - For maximum portability in deployment scripts, `sh` is preferred - If bash-specific features are needed, the script should explicitly use `#!/bin/bash` as the shebang In the context of RocketMQ Connect startup scripts, using `sh` is generally sufficient unless bash-specific syntax is required. If you encounter a specific script that fails under `sh`, please share the error and the script path so we can investigate. --- *Automated evaluation by @RockteMQ-AI* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
