---
title: "匹配一个或多个空格"
author: "axengine"
date: "2010-11-25T14:38:03Z"
tags: []
categories: ["操作系统"]
slug: "untitled"
draft: false
lastmod: "2010-11-25T14:38:03Z"
id: 824499
url: "https://snmp.iteye.com/blog/824499"
---

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