<commit_before>#!/bin/bash

sudo apt-get update && sudo apt-get install -y --no-install-recommends jq

RequiredDotnetVersion=$(jq -r '.sdk.version' global.json)

curl https://dot.net/v1/dotnet-install.sh -sSf | bash -s -- --install-dir $HOME/.dotnetcli --no-path --version $RequiredDotnetVersion<commit_msg>Follow redirects when retrieving dotnet-install.sh<commit_after>#!/bin/bash

sudo apt-get update && sudo apt-get install -y --no-install-recommends jq

RequiredDotnetVersion=$(jq -r '.sdk.version' global.json)

curl https://dot.net/v1/dotnet-install.sh -sSfL | bash -s -- --install-dir $HOME/.dotnetcli --no-path --version $RequiredDotnetVersion
{'fraction_non_alphanumeric': 0.15950920245398773, 'fraction_numerical': 0.003067484662576687, 'mean_word_length': 3.9097744360902253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2153764', 'n_tokens_mistral': 237, 'n_tokens_neox': 221, 'n_words': 51}