SHC fails if bash script starts with : #!/usr/bin/env bash it has to be #!/usr/bin/bash
Error message: shc Unknown shell (env): specify [-i][-x][-l]
Problem could be easily fixed by adding to documentation.
No where in the documentation or man pages does mention which shell it is compatible with.
#!/usr/bin/bash or #!/usr/bin/sh. There is the assumption that a SHC binary created in bash environment is for a bash shell environment, similarly the sh shell. What about other shells?
SHC fails if bash script starts with :
#!/usr/bin/env bashit has to be#!/usr/bin/bashError message: shc Unknown shell (env): specify [-i][-x][-l]
Problem could be easily fixed by adding to documentation.
No where in the documentation or man pages does mention which shell it is compatible with.
#!/usr/bin/bash or #!/usr/bin/sh. There is the assumption that a SHC binary created in bash environment is for a bash shell environment, similarly the sh shell. What about other shells?