sed 裡 要怎麼把字串換成& - Linux
By Jacky
at 2009-11-08T18:40
at 2009-11-08T18:40
Table of Contents
我想要把字串裡的一些字改成&
例如
abc and bcd
改成
abc && bcd
曾經試過 sed -e s/and/\&\&/g
結果是 abc andand bcd
\& 被定義來做其他事了
那我要怎麼得到我想要的結果呢?
--
例如
abc and bcd
改成
abc && bcd
曾經試過 sed -e s/and/\&\&/g
結果是 abc andand bcd
\& 被定義來做其他事了
那我要怎麼得到我想要的結果呢?
--
Tags:
Linux
All Comments
By Xanthe
at 2009-11-11T11:41
at 2009-11-11T11:41
By Delia
at 2009-11-12T18:44
at 2009-11-12T18:44
By Audriana
at 2009-11-14T16:10
at 2009-11-14T16:10
Related Posts
上youtube看影片 ubuntu9.10
By Linda
at 2009-11-08T16:44
at 2009-11-08T16:44
請問sshd的d是什麼?
By Yuri
at 2009-11-08T15:59
at 2009-11-08T15:59
root 及 user 共用剪貼簿
By Frederica
at 2009-11-08T15:40
at 2009-11-08T15:40
更新至2.6.30後聲音變非常小聲
By Jacob
at 2009-11-08T15:38
at 2009-11-08T15:38
創見 V15 隨身碟 做LIVE USB
By Ina
at 2009-11-08T12:17
at 2009-11-08T12:17