<commit_before>#!/usr/bin/env zsh

set -euo pipefail
IFS=$'\n\t'

help () {
    error_code=$?
    echo "
No help message yet
"
    exit $error_code
}

divide () {
	cat "$1" | grep "$2" > "$1".first
	cat "$1" | grep -v "$2" > "$1".second
}

divide "$@" || help
trackusage.sh "$0"<commit_msg>divide is now case insensitive<commit_after>#!/usr/bin/env zsh

set -euo pipefail
IFS=$'\n\t'

help () {
    error_code=$?
    echo "
No help message yet
"
    exit $error_code
}

divide () {
	cat "$1" | grep -i "$2" > "$1".first
	cat "$1" | grep -iv "$2" > "$1".second
}

divide "$@" || help
trackusage.sh "$0"
{'fraction_non_alphanumeric': 0.2146422628951747, 'fraction_numerical': 0.02329450915141431, 'mean_word_length': 2.986754966887417, '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': '6777803', 'n_tokens_mistral': 265, 'n_tokens_neox': 255, 'n_words': 66}