<commit_before>function xcopen()
{
    WORKSPACES=`ls -d *.xcworkspace 2> /dev/null`

    for workspace in $WORKSPACES; do
        open $workspace && echo "Opening workspace $workspace" && return
    done

    PROJECTS=`ls -d *.xcodeproj 2> /dev/null`

    for project in $PROJECTS; do
        open $project && echo "Opening project $project" && return
    done

    echo "No workspaces or projects to open"

}<commit_msg>Protect against project/workspace files containing spaces. Mark.<commit_after>function xcopen()
{
    WORKSPACES=`ls -d *.xcworkspace 2> /dev/null`

    for workspace in $WORKSPACES; do
        open "$workspace" && echo "Opening workspace $workspace" && return
    done

    PROJECTS=`ls -d *.xcodeproj 2> /dev/null`

    for project in $PROJECTS; do
        open "$project" && echo "Opening project $project" && return
    done

    echo "No workspaces or projects to open"

}
{'fraction_non_alphanumeric': 0.11234705228031146, 'fraction_numerical': 0.004449388209121246, 'mean_word_length': 3.017857142857143, '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': '1419167', 'n_tokens_mistral': 308, 'n_tokens_neox': 284, 'n_words': 96}