<commit_before>#!/bin/bash

umask 022

mkdir root-master.new

pacstrap -c -d root-master.new \
    bash \
    coreutils \
    grep \
    dash \
    filesystem \
    glibc \
    pacman \
    procps-ng \
    shadow \
    util-linux

mkdir root-master.new/dev/shm
mknod -m 644 root-master.new/dev/urandom c 1 9
arch-chroot root-master.new useradd -m -g users -s /bin/bash rust
install -m755 bin/* root-master.new/usr/local/bin

cp -a root-master.new root-0.10.new
pacman -r root-master.new -S rust-git --noconfirm<commit_msg>init.sh: cd into the script's directory<commit_after>#!/bin/bash

cd "${BASH_SOURCE%/*}" || exit

umask 022

mkdir root-master.new

pacstrap -c -d root-master.new \
    bash \
    coreutils \
    grep \
    dash \
    filesystem \
    glibc \
    pacman \
    procps-ng \
    shadow \
    util-linux

mkdir root-master.new/dev/shm
mknod -m 644 root-master.new/dev/urandom c 1 9
arch-chroot root-master.new useradd -m -g users -s /bin/bash rust
install -m755 bin/* root-master.new/usr/local/bin

cp -a root-master.new root-0.10.new
pacman -r root-master.new -S rust-git --noconfirm
{'fraction_non_alphanumeric': 0.12613430127041741, 'fraction_numerical': 0.025408348457350273, 'mean_word_length': 2.2729970326409497, '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': '2777330', 'n_tokens_mistral': 466, 'n_tokens_neox': 428, 'n_words': 109}