<commit_before>#!/bin/bash
#translate /mnt/c paths to windows compatible paths

COMMAND=""

while [ "$1" != "" ]; do
    if [[ $1 == /mnt/* ]]
    then
      T=${1:6}
      COMMAND="$COMMAND $T"
    else
      COMMAND="$COMMAND $1"
    fi
    
    shift
done

$COMMAND<commit_msg>translate.sh handles libs and include dirs for paths<commit_after>#!/bin/bash
#translate /mnt/c paths to windows compatible paths

COMMAND=""

while [ "$1" != "" ]; do
    if [[ $1 == /mnt/* ]]
    then
      T="C:"${1:6}
      COMMAND="$COMMAND $T"
    elif [[ $1 == -I/mnt/* ]]
    then
      T=-IC:
      T="$T${1:8}"
      COMMAND="$COMMAND $T"
    
    elif [[ $1 == -L/mnt/* ]]
    then
      T=-LC:
      T="$T${1:8}"
      COMMAND="$COMMAND $T"
    else
      COMMAND="$COMMAND $1"
    fi
    
    shift
done

echo "TRANSLATE: $COMMAND"
$COMMAND
{'fraction_non_alphanumeric': 0.19207683073229292, 'fraction_numerical': 0.01920768307322929, 'mean_word_length': 2.1235955056179776, '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': '3771904', 'n_tokens_mistral': 323, 'n_tokens_neox': 323, 'n_words': 77}