<commit_before>echo "# #####################################################################"
echo "# preparing Ubuntu for cloudmesh" 
echo "# ######################################################################"
PACKAGES="
  curl
  emacs24
  git
  libldap2-dev
  libsasl2-dev
  libssl-dev
  libpng-dev
  mercurial
  mongodb-server
  python-dev
  python-setuptools
  python-virtualenv
  rabbitmq-server
"
echo "This will install (if not already installed):"
for P in $PACKAGES; do
  echo "    $P"
done
# http://stackoverflow.com/questions/226703/how-do-i-prompt-for-input-in-a-linux-shell-script
while true; do
    read -p "Do you wish to proceed? " yn
    case $yn in
        [Yy]* ) break;;
        [Nn]* ) echo "Exiting..."; exit;;
        * ) echo "Please answer yes or no.";;
    esac
done
sudo apt-get -y install $PACKAGES



<commit_msg>preventing yes no questions for the automatic install<commit_after>echo "# #####################################################################"
echo "# preparing Ubuntu for cloudmesh" 
echo "# ######################################################################"
PACKAGES="
  curl
  emacs24
  git
  libldap2-dev
  libsasl2-dev
  libssl-dev
  libpng-dev
  mercurial
  mongodb-server
  python-dev
  python-setuptools
  python-virtualenv
  rabbitmq-server
"
echo "This will install (if not already installed):"
for P in $PACKAGES; do
  echo "    $P"
done
# http://stackoverflow.com/questions/226703/how-do-i-prompt-for-input-in-a-linux-shell-script
while true; do
    #
    # we can not ask questions as this does not allow the automatic install to proceed 
    #
    # read -p "Do you wish to proceed? " yn
    #
    case $yn in
        [Yy]* ) break;;
        [Nn]* ) echo "Exiting..."; exit;;
        * ) echo "Please answer yes or no.";;
    esac
done
sudo apt-get -y install $PACKAGES




{'fraction_non_alphanumeric': 0.24728260869565216, 'fraction_numerical': 0.010869565217391304, 'mean_word_length': 3.3937947494033414, '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': '472740', 'n_tokens_mistral': 608, 'n_tokens_neox': 559, 'n_words': 164}