<commit_before>#!/bin/bash

if [ -z "$PTOOLSPATH" ]; then
	export PTOOLSPATH=.
fi
php "$PTOOLSPATH/phalcon.php" $*<commit_msg>Modified bash file for easier installation on Linux or OSX.<commit_after>#!/bin/bash

if [ -z "$PTOOLSPATH" ]; then
        if [ "$0" == "-bash" ];
        then
        echo "Phalcon devtools install. PhalconPHP 2012. Make sure phalcon.sh is in the same dir as phalcon.php and that you run this with sudo or as root."
        echo "Installing Devtools..."
        DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
        export PTOOLSPATH=$DIR
        export PATH=$PATH:$DIR
        echo "Working dir is: "$DIR
        else
        echo 'Run this installer with ". ./phalcon.sh". Exiting...'
        exit
        fi
fi
app="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ ! -L $app/phalcon ]; then
        echo "Generating symlink"
        ln -s $app/phalcon.sh $app/phalcon
        chmod +x $app/phalcon
        echo "Done. Devtools installed!"
else
php "$PTOOLSPATH/phalcon.php" $*
fi

{'fraction_non_alphanumeric': 0.14785992217898833, 'fraction_numerical': 0.006809338521400778, 'mean_word_length': 2.453020134228188, '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': '6734271', 'n_tokens_mistral': 378, 'n_tokens_neox': 343, 'n_words': 109}