How to remove columns from CSV based on column number using bash shell - LinuxConfig.org

In the following example we are going to show how to remove columns from CSV file based on the column number. Consider a following linux command separated file containing 10 columns:
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-remove-columns-from-csv-based-on-column-number-using-bash-shell