<commit_before>#!/bin/sh

# This script lists the modules of a project looking
# at the pom whose name given as a parameter.

xml_grep "/project/modules/module" $1  | grep '<module>.*</module>' | sed 's/.*>\(.*\)<.*/\1/g'<commit_msg>Made the script sort the output.<commit_after>#!/bin/sh

# This script lists the modules of a project looking
# at the pom whose name given as a parameter.

xml_grep "/project/modules/module" $1  | grep '<module>.*</module>' | sed 's/.*>\(.*\)<.*/\1/g' | sort
{'fraction_non_alphanumeric': 0.18699186991869918, 'fraction_numerical': 0.008130081300813009, 'mean_word_length': 3.607476635514019, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6776100', 'n_tokens_mistral': 175, 'n_tokens_neox': 165, 'n_words': 57}