<commit_before>#!/bin/bash

# Bring up bluetooth interface
hciconfig hci0 up

ps -eaf | grep lescan | grep -v grep >/dev/null
found=$?
# non-zero return means lescan not seen running
if [ $found -ne 0 ]; then
        hcitool lescan --duplicates >/dev/null &
else
        echo lescan already running
fi<commit_msg>make the search for lescan more specific<commit_after>#!/bin/bash

# Bring up bluetooth interface
hciconfig hci0 up

ps -eaf | grep 'hcitool lescan' | grep -v grep >/dev/null
found=$?
# non-zero return means lescan not seen running
if [ $found -ne 0 ]; then
        hcitool lescan --duplicates >/dev/null &
else
        echo lescan already running
fi
{'fraction_non_alphanumeric': 0.09653092006033183, 'fraction_numerical': 0.006033182503770739, 'mean_word_length': 3.2025316455696204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6135287', 'n_tokens_mistral': 231, 'n_tokens_neox': 218, 'n_words': 84}