chenzhch / shellc

Tool for converting scripts into C code
GNU General Public License v3.0
27 stars 6 forks source link

最新版对CSH的代码貌似有点问题? #3

Closed mengxin523 closed 4 months ago

mengxin523 commented 4 months ago

! /bin/csh

set Base64="DDL"; set sql = "update usr02 set accnt = '${Base64}' where mandt = '300' and bname = 'BASIS';" echo $sql echo "OK"

ShareX-2024-06-25 09-09-57 2985

上面原始的.sh 可以运行,但是加密之后就运行不了了! 感谢!

chenzhch commented 4 months ago

我测试了,没发现你说的问题。生成C代码时要用csh,如下: shellc csh Base64.sh

mengxin523 commented 4 months ago

果然生成C代码的时候要用csh,感谢指导!!!