<commit_before>#!/bin/sh

VIEWER="zathura"

CUR="$HOME"

while [ $CUR ] && [ -d $CUR ]
do
    cd $CUR
    CUR=`echo "$(ls | grep -e "\.pdf" -e "\.djvu" -e "\.ps")
$(ls -d */)" | sed '/^$/d' | sort | dmenu`
done

if [ $CUR ] && [ -f $CUR ]
then
    $VIEWER $CUR
fi
<commit_msg>Fixed bug in docopen (spaces in filenames)<commit_after>#!/bin/sh

VIEWER="zathura"

CUR="$HOME"

while [ "$CUR" ] && [ -d "$CUR" ]
do
    cd "$CUR"
    CUR=`echo "$(ls | grep -e "\.pdf" -e "\.djvu" -e "\.ps")
$(ls -d */)" | sed '/^$/d' | sort | dmenu`
done

if [ "$CUR" ] && [ -f "$CUR" ]
then
    $VIEWER "$CUR"
fi

{'fraction_non_alphanumeric': 0.27318718381112983, 'fraction_numerical': 0.0, 'mean_word_length': 2.473684210526316, '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': '3971794', 'n_tokens_mistral': 289, 'n_tokens_neox': 266, 'n_words': 74}