Simple and easy way to count the columns in cvs files in Linux using sed utility. Ous csv file is called data.csv and contains the following [crayon-599972f3a1ca2937120383/]  Count the numbers of columns. [crayon-599972f3a1caa425544752/] Done Also as we can use awk for this task as Robert McAllister stated. [crayon-599972f3a1caf202653338/]  ...

Continue reading