<commit_before>#!/bin/bash
INSTALL_ROOT=$HOME
DOTFILES_ROOT=$INSTALL_ROOT/dotfiles
VIM_ROOT=$INSTALL_ROOT/.vim

if [ -z $OSTYPE ] ; then
  OSTYPE="$(uname -o)"
fi

case "$OSTYPE" in
  darwin*)  OS=OSX ;; 
  linux*)   OS=LINUX ;;
  Linux*)   OS=LINUX ;;
  *)        OS=unknown ;;
esac

echo "Install prerequisites for ${OS}"

if [ "${OS}" = "LINUX" ] ; then
  case "$(uname -o)" in
    Android*) OS_TYPE=ANDROID ;;
    *)        OS_TYPE=LINUX ;;
  esac

  echo "OS is ${OS} and OS type is ${OS_TYPE}"

  if [ "${OS_TYPE}" = "LINUX" ] ; then
    LINUX_ID=`awk -F '=' '/^ID=/ { print $2 }' /etc/os-release | tr -d \"`
    if [ "${LINUX_ID}" = "centos" ] ; then
      echo "Install centos packages"
      # Note: Uncomment when required latest packages
      #sudo yum update

      # Minimalistic package set for ubuntu
      sudo yum -y install file mc vim
      # Note: uncomment for SF development
      #sudo yum groupinstall -y 'Development Tools'
      #sudo yum -y install libcap-devel texi2html texinfo 

      # Download source RPM zsh 5.5.1 from Fefora Core repo
      #curl http://dl.fedoraproject.org/pub/fedora/linux/updates/28/Everything/SRPMS/Packages/z/zsh-5.5.1-1.fc28.src.rpm --output ~/zsh-5.5.1-1.fc28.src.rpm
      #rpmbuild --rebuild ~/zsh-5.5.1-1.fc28.src.rpm
      #sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/zsh-5.5.1-1.el7.x86_64.rpm
      #rm -rf ~/rpmbuild<commit_msg>Fix conflict<commit_after>#!/bin/bash
INSTALL_ROOT=$HOME
DOTFILES_ROOT=$INSTALL_ROOT/dotfiles
VIM_ROOT=$INSTALL_ROOT/.vim

if [ -z $OSTYPE ] ; then
  OSTYPE="$(uname -o)"
fi

case "$OSTYPE" in
  darwin*)  OS=OSX ;; 
  linux*)   OS=LINUX ;;
  Linux*)   OS=LINUX ;;
  *)        OS=unknown ;;
esac

echo "Install prerequisites for ${OS}"

if [ "${OS}" = "LINUX" ] ; then
  case "$(uname -o)" in
    Android*) OS_TYPE=ANDROID ;;
    *)        OS_TYPE=LINUX ;;
  esac

  echo "OS is ${OS} and OS type is ${OS_TYPE}"

  if [ "${OS_TYPE}" = "LINUX" ] ; then
    LINUX_ID=`awk -F '=' '/^ID=/ { print $2 }' /etc/os-release | tr -d \"`
    if [ "${LINUX_ID}" = "centos" ] ; then
      echo "Install centos packages"
      # Note: Uncomment when required latest packages
      #sudo yum update

      # Minimalistic package set for ubuntu
<<<<<<< HEAD
      sudo yum -y install file mc vim
=======
      sudo yum -y install git file mc vim
>>>>>>> eaf28c07cfb26965e046f1759283bab2aff32c46
      # Note: uncomment for SF development
      #sudo yum groupinstall -y 'Development Tools'
      #sudo yum -y install libcap-devel texi2html texinfo 

      # Download source RPM zsh 5.5.1 from Fefora Core repo
      #curl http://dl.fedoraproject.org/pub/fedora/linux/updates/28/Everything/SRPMS/Packages/z/zsh-5.5.1-1.fc28.src.rpm --output ~/zsh-5.5.1-1.fc28.src.rpm
      #rpmbuild --rebuild ~/zsh-5.5.1-1.fc28.src.rpm
      #sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/zsh-5.5.1-1.el7.x86_64.rpm
      #rm -rf ~/rpmbuild
{'fraction_non_alphanumeric': 0.15944540727902945, 'fraction_numerical': 0.03466204506065858, 'mean_word_length': 2.7, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '700468', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1123, 'n_words': 270}