LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: kandyche

shell编程的一个问题

[复制链接]
发表于 2007-6-16 01:48:09 | 显示全部楼层
Post by lastart
我不这样想呢. 编C程序, 程序正确的时候会return 0. 程序半路出错才会return 1 2....
这个判断符合编程习惯.

yes, that is the proper way to coding...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表