<commit_before>#!/bin/bash
# Copyright 2019 Digital Aggregates Corporation, Colorado, USA
# Licensed under the terms in LICENSE.txt
# <NAME> <<EMAIL>>
# https://github.com/coverclock/com-diag-hazer

PROGRAM=$(basename ${0})
DELAY=${1:-"3"}

while true; do
	TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S)
	TEMPERATURE=$(/opt/vc/bin/vcgencmd measure_temp | sed 's/^.*=//')
	echo ${PROGRAM} ${TIMESTAMP}Z ${TEMPERATURE}
	sleep ${DELAY}
done
<commit_msg>[1] Got degree symbol to work.<commit_after>#!/bin/bash
# Copyright 2019 Digital Aggregates Corporation, Colorado, USA
# Licensed under the terms in LICENSE.txt
# <NAME> <<EMAIL>>
# https://github.com/coverclock/com-diag-hazer

PROGRAM=$(basename ${0})
DELAY=${1:-"3"}

while true; do
	DEGREE=$'\u00B0'
	TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S)
	TEMPERATURE=$(/opt/vc/bin/vcgencmd measure_temp | sed "s/'/${DEGREE}/; s/^.*=//")
	echo ${PROGRAM} ${TIMESTAMP}Z ${TEMPERATURE}
	sleep ${DELAY}
done

{'fraction_non_alphanumeric': 0.20917822838847386, 'fraction_numerical': 0.0192102454642476, 'mean_word_length': 5.090909090909091, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '466458', 'n_tokens_mistral': 385, 'n_tokens_neox': 363, 'n_words': 81}