Jason Koo

      Stay hungry, Stay foolish!

导航

2013年10月28日

摘要: Bash functions, unlike functions in most programming languages do not allow you to return a value to the caller. When a bash function ends its return value is its status: zero for success, non-zero for failure. To return values, you can set a global variable with the result, or use command substitut 阅读全文

posted @ 2013-10-28 23:18 Jason Koo 阅读(222) 评论(0) 推荐(0) 编辑