<commit_before>require 'formula'

class Dash <Formula
  url 'http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.6.1.tar.gz'
  homepage 'http://gondor.apana.org.au/~herbert/dash/'
  sha1 '06944456a1e3a2cbc325bffd0c898eff198b210a'

  def install
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--with-libedit"
    system "make"
    system "make install"
  end
end<commit_msg>DASH Shell: Added HEAD option.<commit_after>require 'formula'

class Dash <Formula
  url 'http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.6.1.tar.gz'
  homepage 'http://gondor.apana.org.au/~herbert/dash/'
  sha1 '06944456a1e3a2cbc325bffd0c898eff198b210a'
  head 'https://git.kernel.org/pub/scm/utils/dash/dash.git', :using => :git

  def install
    if ARGV.build_head?
      system "aclocal"
      system "autoreconf -f -i -Wall,no-obsolete"
    end

    system "./configure", "--prefix=#{prefix}",
                          "--with-libedit"
    system "make"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.1527514231499051, 'fraction_numerical': 0.05502846299810247, 'mean_word_length': 2.5762711864406778, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '56805', 'n_tokens_mistral': 428, 'n_tokens_neox': 387, 'n_words': 66}