我有一個CSV文件,這當然是逗號分隔的,你想刪除所有具有例如特定標題列特定標題的所有列:如何刪除包含使用AWK
voltage, current, power, voltage, current, power
2, 3, 6, 12, 12, 144
3, 5, 15, 10, 10, 100
應該
voltage, power, voltage, power
2, 6, 12, 144
3, 15, 10, 100
是你想刪除的標題固定總是「當前」或可能是什麼? – Kent