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 阅读(1041) 评论(0) 推荐(0) 编辑
posted @ 2012-06-14 15:50 Sheldon Xu 阅读(1041) 评论(0) 推荐(0) 编辑