<commit_before>#!/bin/sh

makefile () {
    local NAME=$1
    local FILEPATH=$2
    local EXT=$3

    local FOO="$FILEPATH"foo."$EXT"
   
    if [ ! -f "$FILEPATH$NAME.$EXT" ]
    then
        echo "creating $FILEPATH$NAME.$EXT"
        cp $FOO $FILEPATH$NAME.$EXT
        sed -i -e s/foo/$NAME/g $FILEPATH$NAME.$EXT
    else
        echo "Error: file $FILEPATH$NAME.$EXT already exists."
        exit 1
    fi
}<commit_msg>fixed sed-related OSX bug in the module bootstrap script<commit_after>#!/bin/sh

makefile () {
    local NAME=$1
    local FILEPATH=$2
    local EXT=$3

    local FOO="$FILEPATH"foo."$EXT"
   
    if [ ! -f "$FILEPATH$NAME.$EXT" ]
    then
        echo "creating $FILEPATH$NAME.$EXT"
        cp $FOO $FILEPATH$NAME.$EXT
        sed -i '' -e s/foo/$NAME/g $FILEPATH$NAME.$EXT 
    else
        echo "Error: file $FILEPATH$NAME.$EXT already exists."
        exit 1
    fi
}
{'fraction_non_alphanumeric': 0.1463687150837989, 'fraction_numerical': 0.008938547486033519, 'mean_word_length': 2.223021582733813, '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': '780657', 'n_tokens_mistral': 325, 'n_tokens_neox': 313, 'n_words': 78}