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-5952949c65fe5373951866/]  Count the numbers of columns. [crayon-5952949c65fed342471635/] Done Also as we can use awk for this task as Robert McAllister stated. [crayon-5952949c65ff2776079445/]  ...

Continue reading