<commit_before>#!/bin/sh
# Deletes trailing whitespace in-place in the passed-in files.
# Sample syntax:
#   $0 *.cpp

perl -pi -e "s/\s+\$//" $*<commit_msg>Keep the newline character at the end of the lines whose trailing whitespace we are deleting; otherwise, everything ends up on a single line.<commit_after>#!/bin/sh
# Deletes trailing whitespace in-place in the passed-in files.
# Sample syntax:
#   $0 *.cpp

perl -pi -e 's/\s+$/\n/' $*
{'fraction_non_alphanumeric': 0.14221218961625282, 'fraction_numerical': 0.004514672686230248, 'mean_word_length': 3.577319587628866, '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': '6527789', 'n_tokens_mistral': 156, 'n_tokens_neox': 145, 'n_words': 57}