scripting - Automate editing .csv file -


i working .csv files contain 4 fields , varying count of records in each file. need delete 2nd, 3rd , 4th field , first record in each file.

i have lot of files working , not looking in excel or csv editor. there way batch file or other scripting language ? info

using shell script:

tail -n +2 input.csv | cut -d ',' -f 1,5- > output.csv 

Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -