<commit_before># corrupto
Command line file corruptor written in C++

#### How to setup:

Linux: g++ corrupto.cpp -o corrupto (if it does not compile try using C++11 as standard libray).

OS X: Install brew, install g++ same as linux (may make a brew package for corrupto in the future)

Windows: I guess you use cygwin, but I have not tested it.

#### How to use:
```
corrupto options
```
(if you don't add it to the system path then you will need to call ./corrupto options)

The minimum required options for corruption are:

Input file, Output file, Corruption method, Every nth along, Amount of corruption

To denote an option preface it with the following:

-i: Input file
-o: Output file
-s: Corruption method
-n: Every nth along
-a: Amount of corruption
<commit_msg>readme updates<commit_after># corrupto
Command line file corruptor written in C++

#### Why?:

I made this because I like corrupting files and seeing what happens, this is especially fun in old videogame roms and videos. I decided to make my own after a gif I was making got messed up by imagemagick and I wanted to see if could recreate the effect programmatically.

#### Examples:

#### How to setup:

Linux: ```g++ corrupto.cpp -o corrupto``` (if it does not compile try using C++11 as standard libray).

OS X: Install brew, install g++, same as linux (may make a brew package for corrupto in the future)

Windows: I guess you use cygwin, but I have not tested it.

#### How to use:
```
corrupto options
```
(if you don't add it to the system path then you will need to call ./corrupto options)

The minimum required options for corruption are:

Input file, Output file, Corruption method, Every nth along, Amount of corruption

To denote an option preface it with the following:

* -i: Input file
* -o: Output file
* -s: Corruption method
* -n: Every nth along
-a: Amount of corruption

{'fraction_non_alphanumeric': 0.07997852925389157, 'fraction_numerical': 0.0021470746108427268, 'mean_word_length': 4.1068493150684935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5637017', 'n_tokens_mistral': 550, 'n_tokens_neox': 533, 'n_words': 305}