Md Jahidul Hamid
Md Jahidul Hamid
nice idea, but unfortunately I don't have much time to spare on it.
@intika Note that you have to take care of positional arguments. Passing the arguments after -s flag works for dash, bash, ksh, zsh, csh, tcsh Example: ```bash echo 'echo $1...
how exactly does it not work? Did you use the `-r` flag during compilation?
Can you give me the shc (link would do) that works for you?
@ccamp46 link to shc-3.8.6 that you used (or you can upload it if it's not available on net).
@ccamp46 I didn't mean binary.
There is no `-T` flag in this shc version. The option is renamed to `-U` to produce untraceable binary (with ptrace, truss etc.)
probably your test file is in dos format. Convert it to unix: ``` dos2unix test.csh ``` then compile again.
check if your script runs without being compiled. Does /bin/csh exist?
On your android phone, you need both gcc and the shell that will be executing the script, installed.