<commit_before>#!/bin/bash
# /travis/python-prepare-doc-deploy.sh
#
# Symlinks everything inside ~/.cabal/bin to $VIRTUAL_ENV/bin,
# which enables the use of pandoc at deploy-time. Environment
# variables aren't preserved at the deploy step, hence why this
# approach is needed here.
#
# See LICENCE.md for Copyright information

echo "=> Preparing for deployment with Markdown documentation."

while IFS= read -r -d '' path ; do
    file=$(basename "${path}")
    echo "   ... ${path} -> ${VIRTUAL_ENV}/bin/${file}"
    ln -s "${path}" "${VIRTUAL_ENV}/bin/${file}"
done < <(find "${HOME}/.cabal/bin" -type file -print0)<commit_msg>Use -type f instead of -type file<commit_after>#!/bin/bash
# /travis/python-prepare-doc-deploy.sh
#
# Symlinks everything inside ~/.cabal/bin to $VIRTUAL_ENV/bin,
# which enables the use of pandoc at deploy-time. Environment
# variables aren't preserved at the deploy step, hence why this
# approach is needed here.
#
# See LICENCE.md for Copyright information

echo "=> Preparing for deployment with Markdown documentation."

while IFS= read -r -d '' path ; do
    file=$(basename "${path}")
    echo "   ... ${path} -> ${VIRTUAL_ENV}/bin/${file}"
    ln -s "${path}" "${VIRTUAL_ENV}/bin/${file}"
done < <(find "${HOME}/.cabal/bin" -type f -print0)
{'fraction_non_alphanumeric': 0.16081186572989853, 'fraction_numerical': 0.00156128024980484, 'mean_word_length': 3.8377358490566036, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5882531', 'n_tokens_mistral': 433, 'n_tokens_neox': 421, 'n_words': 135}