<commit_before>#!/bin/bash
#config script for bro and cuckoo
#run apt-get update before running

red='\033[0;31m'
green='\033[0;32m'
nc='\033[0m'

function dependencies
{
    echo -e "${green}[*] Installing required dependencies${nc}"
    apt-get install bison CMake flex g++ gdb make libmagic-dev libpcap-dev libgeoip-dev libssl-dev python-dev swig2.0 zlib1g-dev
    if [$? > 0]
    then
        echo -e "${red}[!!] Could not install dependencies${nc}"
        exit
    else
        echo -e "${green}[+] Dependencies installed!${nc}"
    fi
}

function downloadbro
{<commit_msg>fixed<commit_after>#!/bin/bash
#config script for bro and cuckoo
#run apt-get update before running

red='\033[0;31m'
green='\033[0;32m'
nc='\033[0m'

function dependencies
{
    echo -e "${green}[*] Installing required dependencies${nc}"
    apt-get install bison CMake flex g++ gdb make libmagic-dev libpcap-dev libgeoip-dev libssl-dev python-dev swig zlib1g-dev
    if [$? > 0]
    then
        echo -e "${red}[!!] Could not install dependencies${nc}"
        exit
    else
        echo -e "${green}[+] Dependencies installed!${nc}"
    fi
}

function downloadbro
{
{'fraction_non_alphanumeric': 0.14385353095030515, 'fraction_numerical': 0.03312990409764603, 'mean_word_length': 3.4153846153846152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3987104', 'n_tokens_mistral': 422, 'n_tokens_neox': 393, 'n_words': 116}