取出行首空白符

echo "  hello" | sed 's/^[ \t]*//g'

posted @ 2012-11-26 16:05  桂皮猪  阅读(115)  评论(0编辑  收藏  举报