<commit_before>require 'formula'

class Jmeter < Formula
  url 'http://www.apache.org/dyn/closer.cgi?path=jakarta/jmeter/binaries/jakarta-jmeter-2.4.tgz'
  homepage 'http://jakarta.apache.org/jmeter/'
  md5 '01ac101b161643a77267baec99b3acfe'

  def startup_script name
    <<-EOS.undent
      #!/bin/bash
      exec #{libexec}/bin/#{name} $@
    EOS
  end

  def install
    # Remove windows files
    rm_f Dir["bin/*.bat"]
    prefix.install %w{ LICENSE NOTICE README }
    libexec.install Dir['*']
    (bin+'jmeter').write startup_script('jmeter')<commit_msg>jmeter 2.5<commit_after>require 'formula'

class Jmeter < Formula
  url 'http://www.apache.org/dyn/closer.cgi?path=jakarta/jmeter/binaries/jakarta-jmeter-2.5.tgz'
  homepage 'http://jakarta.apache.org/jmeter/'
  md5 '18035ee0c8bf64792b2710d9ae48b2ac'

  def startup_script name
    <<-EOS.undent
      #!/bin/bash
      exec #{libexec}/bin/#{name} $@
    EOS
  end

  def install
    # Remove windows files
    rm_f Dir["bin/*.bat"]
    prefix.install %w{ LICENSE NOTICE README }
    libexec.install Dir['*']
    (bin+'jmeter').write startup_script('jmeter')
{'fraction_non_alphanumeric': 0.14745308310991956, 'fraction_numerical': 0.0420017873100983, 'mean_word_length': 3.4268774703557314, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7025439', 'n_tokens_mistral': 468, 'n_tokens_neox': 424, 'n_words': 72}