請問另一個 script 的問題 - Linux

By Frederica
at 2008-07-02T20:02
at 2008-07-02T20:02
Table of Contents
data:
"a1","b1","c1"
"a2",,"
c,2"
"a3",
"b3","c3"
其實就是類似 csv 檔案, "" 包住每一格, 逗號分開每一個 column,
上例是 3x3 的 table
因為 2~3 column 內可能有斷行符號, 1st 不會有,
比如, 我要從 1st column 抓出 a2, 然後印出 3rd column
"
c,2"
我該如何做呢?
--
"a1","b1","c1"
"a2",,"
c,2"
"a3",
"b3","c3"
其實就是類似 csv 檔案, "" 包住每一格, 逗號分開每一個 column,
上例是 3x3 的 table
因為 2~3 column 內可能有斷行符號, 1st 不會有,
比如, 我要從 1st column 抓出 a2, 然後印出 3rd column
"
c,2"
我該如何做呢?
--
Tags:
Linux
All Comments
Related Posts
EeePC 901裝Ubuntu804找不到網卡Driver

By Brianna
at 2008-07-02T19:01
at 2008-07-02T19:01
Kernel panic - not syncing: Attempte …

By Lauren
at 2008-07-02T17:24
at 2008-07-02T17:24
Kernel panic - not syncing: Attempted to kill init!

By Lauren
at 2008-07-02T16:39
at 2008-07-02T16:39
ubuntu中開pcManX有問題

By Faithe
at 2008-07-02T16:20
at 2008-07-02T16:20
開機選單有兩個Linux?

By Elvira
at 2008-07-02T15:35
at 2008-07-02T15:35