<commit_before>if [[ -z "$INSTALL_TOOL" ]] ; then INSTALL_TOOL="apt -y" ; fi
if [[ -z "$UNINSTALL_TOOL" ]] ; then UNINSTALL_TOOL="apt purge" ; fi

if [[ -z "$CHECK_SUDO" && $(id -u) -ne 0 ]]; then 
  INSTALL_TOOL="sudo $INSTALL_TOOL"
  UNINSTALL_TOOL="sudo $UNINSTALL_TOOL"
fi

inst() {
  usage $# "PACKAGE"
  ## Display Usage and exit if insufficient parameters. Parameters prefix with [ are OPTIONAL.
  if [[ "$?" -ne 0 ]]; then return -1; fi

  echo "$INSTALL_TOOL install $@"
  $INSTALL_TOOL install $@
}
uninst() {
  usage $# "PACKAGE"
  ## Display Usage and exit if insufficient parameters. Parameters prefix with [ are OPTIONAL.
  if [[ "$?" -ne 0 ]]; then return -1; fi

  echo "$UNINSTALL_TOOL $@"
  $UNINSTALL_TOOL $@
}

inst_net() {
  inst net-tools
}<commit_msg>[lib-inst] fix sudo<commit_after>if [[ -z "$INSTALL_TOOL" ]] ; then INSTALL_TOOL="apt -y" ; fi
if [[ -z "$UNINSTALL_TOOL" ]] ; then UNINSTALL_TOOL="apt purge" ; fi

if [[ -z "$CHECK_SUDO" ]] && [[ $(id -u) -ne 0 ]] ; then 
  export INSTALL_TOOL="sudo $INSTALL_TOOL"
  export UNINSTALL_TOOL="sudo $UNINSTALL_TOOL"
fi

inst() {
  usage $# "PACKAGE"
  ## Display Usage and exit if insufficient parameters. Parameters prefix with [ are OPTIONAL.
  if [[ "$?" -ne 0 ]]; then return -1; fi

  echo "$INSTALL_TOOL install $@"
  $INSTALL_TOOL install $@
}
uninst() {
  usage $# "PACKAGE"
  ## Display Usage and exit if insufficient parameters. Parameters prefix with [ are OPTIONAL.
  if [[ "$?" -ne 0 ]]; then return -1; fi

  echo "$UNINSTALL_TOOL $@"
  $UNINSTALL_TOOL $@
}

inst_net() {
  inst net-tools
}
{'fraction_non_alphanumeric': 0.16317460317460317, 'fraction_numerical': 0.006349206349206349, 'mean_word_length': 3.7613293051359515, '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': '2179609', 'n_tokens_mistral': 630, 'n_tokens_neox': 546, 'n_words': 168}