刪除內容 - Linux

By Olivia
at 2012-08-25T23:05
at 2012-08-25T23:05
Table of Contents
我程式碼中很多下面寫法,想寫個script 拿掉
#if 1
內容1
#else
內容2
#endif
我想刪除 #if 1 , #else , #endif , 內容2, 只保留住內容1
不知道這樣怎麼去寫?
謝謝
--
#if 1
內容1
#else
內容2
#endif
我想刪除 #if 1 , #else , #endif , 內容2, 只保留住內容1
不知道這樣怎麼去寫?
謝謝
--
Tags:
Linux
All Comments

By Adele
at 2012-08-26T22:35
at 2012-08-26T22:35

By Isla
at 2012-08-28T02:37
at 2012-08-28T02:37

By Enid
at 2012-08-31T14:03
at 2012-08-31T14:03

By Callum
at 2012-09-03T16:55
at 2012-09-03T16:55

By Suhail Hany
at 2012-09-05T07:48
at 2012-09-05T07:48

By Rae
at 2012-09-06T11:20
at 2012-09-06T11:20

By Gilbert
at 2012-09-08T04:41
at 2012-09-08T04:41

By Lily
at 2012-09-11T03:38
at 2012-09-11T03:38
Related Posts
安裝顯卡驅動問題

By Hamiltion
at 2012-08-25T15:52
at 2012-08-25T15:52
SELinux 設定

By Dorothy
at 2012-08-25T14:45
at 2012-08-25T14:45
有沒有辦法將舊郵件檔匯入新的郵件檔?

By Poppy
at 2012-08-25T00:58
at 2012-08-25T00:58
有關顯卡驅動程式

By Yuri
at 2012-08-25T00:15
at 2012-08-25T00:15
筆電出現藍屏0x000008e

By Genevieve
at 2012-08-24T22:05
at 2012-08-24T22:05