<commit_before>#!/bin/bash
if [[ "$#" < "1" ]]; then
    echo "Usage: zf.sh [directory]"
    exit
fi
if [ ! -d $1 ]; then
    echo "Directory does not exist"
    exit
fi
<commit_msg>Now properly finds zero length files<commit_after>#!/bin/bash
if [[ "$#" < "1" ]]; then
    echo "Usage: zf.sh [directory]"
    exit
fi
if [ ! -d $1 ]; then
    echo "Directory does not exist"
    exit
fi
find $1 -size 0
{'fraction_non_alphanumeric': 0.1691542288557214, 'fraction_numerical': 0.014925373134328358, 'mean_word_length': 2.80188679245283, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4946861', 'n_tokens_mistral': 157, 'n_tokens_neox': 149, 'n_words': 51}