<commit_before>#!/bin/bash
#
# Create symlinks in local filesystem for each repository file listed

export REPODIR=$(pwd)
export HN=$(hostname)

source bash/linking_functions.sh

create_symlinks () {
    safe_mkdir $HOME/bin/

    # dotfiles
    link_to_git_repo $HOME/.bashrc   $REPODIR/dotfiles/bashrc
    link_to_git_repo $HOME/.screenrc $REPODIR/dotfiles/screenrc
    link_to_git_repo $HOME/.vimrc    $REPODIR/dotfiles/vimrc
    link_to_git_repo $HOME/.zshrc    $REPODIR/dotfiles/zshrc

    # programs/scripts
    link_to_git_repo $HOME/bin/latex2png $REPODIR/latex/latex2png.sh
}

SUCCESS_COUNTER=0
create_symlinks
echo "  OK: $SUCCESS_COUNTER files"
<commit_msg>Adding informational output to link creation<commit_after>#!/bin/bash
#
# Create symlinks in local filesystem for each repository file listed

export REPODIR=$(pwd)
export HN=$(hostname)

source bash/linking_functions.sh

create_symlinks () {
    safe_mkdir $HOME/bin/

    # dotfiles
    link_to_git_repo $HOME/.bashrc   $REPODIR/dotfiles/bashrc
    link_to_git_repo $HOME/.screenrc $REPODIR/dotfiles/screenrc
    link_to_git_repo $HOME/.vimrc    $REPODIR/dotfiles/vimrc
    link_to_git_repo $HOME/.zshrc    $REPODIR/dotfiles/zshrc

    # programs/scripts
    link_to_git_repo $HOME/bin/latex2png $REPODIR/latex/latex2png.sh
}

SUCCESS_COUNTER=0
echo "Creating links for git-versioned files for $USER on $HN"
create_symlinks
echo "  OK: $SUCCESS_COUNTER files"

{'fraction_non_alphanumeric': 0.0944055944055944, 'fraction_numerical': 0.004195804195804196, 'mean_word_length': 4.319702602230484, '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': '464235', 'n_tokens_mistral': 560, 'n_tokens_neox': 533, 'n_words': 101}