开发者

shell script to c converter

Does anyone know of any tool which can 开发者_开发技巧convert shell script '.sh' into a C file '.c' ?


I doubt that any such tool exists. C and shell files are extremely different languages with completely different purposes, and there is no way to automatically convert one to the other.


you can try shc. Its not a compiler, but it does generate .c files during encoding/encrypting.

Otherwise, do it by hand. Learn to code in C and shell, then translate them yourself. that's the best way to do it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜