請問一個 sed 的問題 - Linux

Jacky avatar
By Jacky
at 2008-07-05T21:24

Table of Contents

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

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

--

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

--
Tags: Linux

All Comments

Belly avatar
By Belly
at 2008-07-07T07:54
pipe
Kelly avatar
By Kelly
at 2008-07-11T13:54
pipe?

請教大大gnuplot的問題(急)

Ophelia avatar
By Ophelia
at 2008-07-05T20:43
我想使用gnuplot裡的fit功能 做法如下: fit [][] g(x) and#39;p2-0.2ratio_b_0.000000p_1.674934and#39; u 1:2 via a,b,c 可是我希望設定初始值 讓a = 1 ; b = 1 ; c = 1 我研究了半天還是不知道該如何設定 請 ...

請問xubuntu無線網路問題

Joseph avatar
By Joseph
at 2008-07-05T14:54
我最近在eeePC上安裝了eee-xubuntu, 安裝完畢後,可以正常使用eeePC內建的無線網卡。 不過,我今天把我另一支USB的無線網卡接上去後, nm-applet就直接將無線網卡設定為USB無線網卡了, 之後我把USB無線網卡拿下來後, nm-applet便不再切換回去eeePC內建的無線網卡, ...

幾個使用上的新手問題....

Elma avatar
By Elma
at 2008-07-05T14:49
對於灌linux我一直很猶豫,.... 我舉幾個實際的例子問問看.. 1.可以用emule嗎?如何設定? 2.可以用WretchXD抓網誌的圖嗎? 3.看影音檔會不會有解碼上的問題? 4,可以用新酷音嗎? - ...

ubuntu如何更新kernel時加入自訂的module?

Margaret avatar
By Margaret
at 2008-07-05T00:25
※ 引述《mosquito520 ( )》之銘言: : 又因為建議的更新裡面包含了新的kernel, : 如果裝上去手動安裝的module又要重新安裝=.= : 所以來問問, : 有其他比較好的作法可以讓我參考或是指點一下嗎? 用 dkms 然後你的module source裝在 /usr/src 底下 裡 ...

有關.XXXXX.rc 檔的問題

Victoria avatar
By Victoria
at 2008-07-04T23:52
# This is an example resource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you ...