請問一個 sed 的問題 - Linux

Table of Contents

$ sed 's/\(\[^\x81-\xfe\]\)|/\1""/g' <<< '直會….念 | ㄜˋ Q | ㄚ'
直會….念 | ㄜˋ Q | ㄚ

| 位什麼換不成 "" 呢?
match 不到?

--

嗯, 正在用 sed 處理 csv, 雖然 proformance 很差,
但 sed 還是好用!

--

All Comments

Belly avatarBelly2008-07-07
pipe
Kelly avatarKelly2008-07-11
pipe?