Friday, April 27, 2007

UNIX实用脚本集

输出环境变量并按照分隔符分隔输出:
echo $PATH | sed 's/:/\n/g'

No comments: