Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想了解为什么点/星号无法匹配 sed 命令中的 utf8 字符:
$ echo "开始删除 → 结束" | sed 's/remove.*//' 开始 → 结束
(预期结果应该是begin )
begin
是因为�字符(U+00E0à)用3个字节表示吗?