ChinaUnix.net
相关文章推荐:

mybool

http://opensolaris.org/os/project/shell/shellstyle/#general Check how boolean values are used/implemented in your application Check how boolean values are used in your application. For example: mybool=0 # do something if [ $mybool -eq 1 ] ; then do_something_1 ; fi could be rewritten like this: mybool=false # (valid values are "true" or "false", pointing # to the builtin equivalents of /bin...

by DirtyBear - Shell - 2009-02-02 09:30:59 阅读(1802) 回复(4)

相关讨论