<commit_before>#!/usr/bin/env bash
# Usage: [sudo] [prefix=/usr/local] ./install
set -e

case "$1" in
'-h' | '--help' )
  sed -ne '/^#/!q;s/.\{1,2\}//;1d;p' < "$0"
  exit 0
  ;;
esac

if [[ $BASH_SOURCE == */* ]]; then
  cd "${BASH_SOURCE%/*}"
fi

prefix="${PREFIX:-$prefix}"
prefix="${prefix:-/usr/local}"

for src in bin/hub share/man/*/*.{1,txt}; do
  dest="${prefix}/${src}"
  mkdir -p "${dest%/*}"
  [[ $src == share/* ]] && mode="644" || mode=755
  install -m "$mode" "$src" "$dest"
done<commit_msg> don't copy .txt files to man path<commit_after>#!/usr/bin/env bash
# Usage: [sudo] [prefix=/usr/local] ./install
set -e

case "$1" in
'-h' | '--help' )
  sed -ne '/^#/!q;s/.\{1,2\}//;1d;p' < "$0"
  exit 0
  ;;
esac

if [[ $BASH_SOURCE == */* ]]; then
  cd "${BASH_SOURCE%/*}"
fi

prefix="${PREFIX:-$prefix}"
prefix="${prefix:-/usr/local}"

for src in bin/hub share/man/*/*.1; do
  dest="${prefix}/${src}"
  mkdir -p "${dest%/*}"
  [[ $src == share/* ]] && mode="644" || mode=755
  install -m "$mode" "$src" "$dest"
done
{'fraction_non_alphanumeric': 0.2975609756097561, 'fraction_numerical': 0.025365853658536587, 'mean_word_length': 3.2222222222222223, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2530238', 'n_tokens_mistral': 463, 'n_tokens_neox': 435, 'n_words': 102}