<commit_before># 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.

## Usage

```
./csvcat.sh file1 file2 [...] > 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
```<commit_msg>Add a few more details to README.<commit_after># 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
```
{'fraction_non_alphanumeric': 0.10518626734842951, 'fraction_numerical': 0.006574141709276844, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7496564', 'n_tokens_mistral': 421, 'n_tokens_neox': 383, 'n_words': 179}