<commit_before>#!/bin/sh -e

usage(){
    echo "Usage: ${0} [--colons] VM_NAME"
}

COLONS=false

if [ "${1}" = "--colons" ]; then
    COLONS=true
    shift
fi

if [ "${1}" = "" ]; then
    usage

    exit 1
fi

KEY="MAC"
VALUE=$(vboxmanage guestproperty enumerate "${1}" | grep "${KEY}" | VALUE="")<commit_msg>fix get mac script never printing anything<commit_after>#!/bin/sh -e

usage(){
    echo "Usage: ${0} [--colons] VM_NAME"
}

COLONS=false

if [ "${1}" = "--colons" ]; then
    COLONS=true
    shift
fi

if [ "${1}" = "" ]; then
    usage

    exit 1
fi

KEY="MAC"
VALUE=$(vboxmanage guestproperty enumerate "${1}" | grep "${KEY}" || VALUE="")
{'fraction_non_alphanumeric': 0.2169230769230769, 'fraction_numerical': 0.015384615384615385, 'mean_word_length': 3.2549019607843137, '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': '718395', 'n_tokens_mistral': 259, 'n_tokens_neox': 242, 'n_words': 67}