我有一个排序的分隔类型文件,我想在特定行中提取特定字段。
这是我的输入文件:somefile.csv
efevfe,132143,27092011080210,howdy,hoodie
adfasdfs,14321,27092011081847,howdy,hoodie
gerg,7659876,27092011084604,howdy,hoodie
asdjkfhlsdf,7690876,27092011084688,howdy,hoodie
alfhlskjhdf,6548,27092011092413,howdy,hoodie
gerg,769,27092011092415,howdy,hoodie
badfa,124314,27092011092416,howdy,hoodie
gfevgreg,1213421,27092011155906,howdy,hoodie
我想提取27092011084688
(来自第 4 行,第 3 列的值)。
我用过awk 'NR==4'
,但它给了我整个第 4 行。