iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
📐

How to check the number of columns in a CSV on Linux

に公開
head -n 1 hoge.csv | awk -F ',' '{print NF}'

Discussion