<commit_before>#!/bin/sh

uname=$(/usr/bin/uname $@)
rv=$?
echo "$uname" |
	sed "s/\(^\| \)$(/usr/bin/uname -n)\($\| \)/\1void\2/" |
	sed "s/$(/usr/bin/uname -m)/${XBPS_ARCH%-musl}/"

exit $rv<commit_msg>uname.sh: fix cross `uname -m` when XBPS_ARCH is reseted<commit_after>#!/bin/sh

uname=$(/usr/bin/uname $@)
uname_m=$(/usr/bin/uname -m)
arch=${XBPS_ARCH%-musl}
# if XBPS_ARCH was reseted by `env -i` use original `/usr/bin/uname -m`
: ${arch:=$uname_m}
rv=$?
echo "$uname" |
	sed "s/\(^\| \)$(/usr/bin/uname -n)\($\| \)/\1void\2/" |
	sed "s/$uname_m/$arch/"

exit $rv
{'fraction_non_alphanumeric': 0.29071803852889666, 'fraction_numerical': 0.0070052539404553416, 'mean_word_length': 3.4, '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': '2849044', 'n_tokens_mistral': 288, 'n_tokens_neox': 281, 'n_words': 51}