Sheldon Xu

2012年6月14日

Shell script: 实现include

摘要: 很简单, 用source:#!/bin/bashecho "Begin to call another script..."source /path/to/another/script.sh #其中的变量在caller中依然有效echo "Done" 阅读全文

posted @ 2012-06-14 15:50 Sheldon Xu 阅读(1038) 评论(0) 推荐(0) 编辑

导航