<commit_before>require "formula"

class Termrec < Formula
  desc "Record “videos” of terminal output"
  homepage "http://angband.pl/termrec.html"
  head "http://angband.pl/git/termrec/", :using => :git
  url "https://github.com/kilobyte/termrec/archive/0.17.tar.gz"
  sha1 "45df1b35b7f236fafd1e4db9c45543501dfde359"

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  depends_on "xz"

  def install
    inreplace "autogen", "libtoolize", "glibtoolize"
    system "./autogen"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/termrec", "--help"
  end
end<commit_msg>termrec: avoid unicode char in desc<commit_after>require "formula"

class Termrec < Formula
  desc "Record \"videos\" of terminal output"
  homepage "http://angband.pl/termrec.html"
  head "http://angband.pl/git/termrec/", :using => :git
  url "https://github.com/kilobyte/termrec/archive/0.17.tar.gz"
  sha1 "45df1b35b7f236fafd1e4db9c45543501dfde359"

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  depends_on "xz"

  def install
    inreplace "autogen", "libtoolize", "glibtoolize"
    system "./autogen"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/termrec", "--help"
  end
end
{'fraction_non_alphanumeric': 0.14935064935064934, 'fraction_numerical': 0.031877213695395513, 'mean_word_length': 2.621794871794872, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '1043955', 'n_tokens_mistral': 605, 'n_tokens_neox': 573, 'n_words': 118}