<commit_before>require 'formula'

class Xmlstarlet < Formula
  homepage 'http://xmlstar.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/1.4.0/xmlstarlet-1.4.0.tar.gz'
  sha1 '8c0542c4978e43fb876f6671a786510aa5f544cf'

  def install
    # thanks, xmlstarlet but OS X doesn't have the static versions
    inreplace 'configure' do |s|
      s.gsub! '$LIBXML_LIBDIR/libxml2.a', '-lxml2'<commit_msg>xmlstarlet 1.4.1<commit_after>require 'formula'

class Xmlstarlet < Formula
  homepage 'http://xmlstar.sourceforge.net/'
  url 'http://sourceforge.net/projects/xmlstar/files/xmlstarlet/1.4.1/xmlstarlet-1.4.1.tar.gz'
  sha1 'dde6012a03d5421779a8f2b5a9ce632db23af017'

  def install
    # thanks, xmlstarlet but OS X doesn't have the static versions
    inreplace 'configure' do |s|
      s.gsub! '$LIBXML_LIBDIR/libxml2.a', '-lxml2'
{'fraction_non_alphanumeric': 0.12529002320185614, 'fraction_numerical': 0.08584686774941995, 'mean_word_length': 4.262195121951219, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 15}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3908971', 'n_tokens_mistral': 375, 'n_tokens_neox': 335, 'n_words': 60}