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-58dc8d7774d7a646438066/]  Count the numbers of columns. [crayon-58dc8d7774d84046111183/] Done Also as we can use awk for this task as Robert McAllister stated. [crayon-58dc8d7774d8b076667363/]  ...

Continue reading