Skip to content
/ csvcat Public

Efficiently concatenate CSVs (or other tabular text files), stripping extra header lines.

License

Notifications You must be signed in to change notification settings

jsvine/csvcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

csvcat

Efficiently concatenate CSVs (or other tabular text files), stripping extra header lines. So far, is the fastest non-compiled script I've been able to devise. Plenty open to improvements and suggestions.

Should work on Linux and OSX. Please file an issue if not.

Usage

./csvcat.sh file1 file2 [...] > concatenated.csv

csvcat prints the entirety of file1, plus all but the first lines of the remaining files, to stdout. In the command above, this output is redirected to a new file, concatenated.csv.

Installation

Not necessary, but provides easier access to the tool:

cp csvcat.sh /usr/local/bin/csvcat

... after which you can run the following command from any directory:

csvcat file1 file2 [...] > concatenated.csv

About

Efficiently concatenate CSVs (or other tabular text files), stripping extra header lines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages