ITeye博客

匹配一个或多个空格

axengine · 2010-11-25 14:38 · 操作系统 · Markdown

echo $str | sed 's/[ |\t]\{1,\}/\|/g'

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。