<commit_before>class Ugrep < Formula
  desc "Ultra fast grep with query UI, fuzzy search, archive search, and more"
  homepage "https://github.com/Genivia/ugrep"
  url "https://github.com/Genivia/ugrep/archive/v3.1.4.tar.gz"
  sha256 "3de80f56e82ac21fda574334a1e55d3a9027c156d4b1ce1b0e96ea99b25cda32"
  license "BSD-3-Clause"

  bottle do
    sha256 "bce1939abcb5a606c375000447cf685a6e439a267cb9e88c428507f97b0b8bb9" => :big_sur
    sha256 "831580602bc1e8d0abf5107d99364e09d089eede87026fc4366fb6fda2bc6b04" => :arm64_big_sur
    sha256 "018124dbd077c90bf42b8b3822d2a4cd8be799730a069022ffd2841913771b30" => :catalina
    sha256 "a56844b0fbf89467ba41274c59c8e7da3443795204440656fa0bc9c141d08aad" => :mojave
  end

  depends_on "pcre2"
  depends_on "xz"

  def install
    system "./configure", "--enable-color",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "install"
  end

  test do
    (testpath/"Hello.txt").write("Hello World!")
    assert_match /Hello World!/, shell_output("#{bin}/ug 'Hello' '#{testpath}'").strip
    assert_match /Hello World!/, shell_output("#{bin}/ugrep 'World' '#{testpath}'").strip
  end
end
<commit_msg>ugrep: update 3.1.4 bottle.<commit_after>class Ugrep < Formula
  desc "Ultra fast grep with query UI, fuzzy search, archive search, and more"
  homepage "https://github.com/Genivia/ugrep"
  url "https://github.com/Genivia/ugrep/archive/v3.1.4.tar.gz"
  sha256 "3de80f56e82ac21fda574334a1e55d3a9027c156d4b1ce1b0e96ea99b25cda32"
  license "BSD-3-Clause"

  bottle do
    sha256 "3e1ce591b9b4dfa49c3d00c472e60179d91bcfa89119b4c05f5ca64950c2c5e0" => :big_sur
    sha256 "4cab8e9221bfa059f213a18bd837dd818ad9e38defdc27725534d69d07437f7e" => :arm64_big_sur
    sha256 "79c66bf303f960663e9264afb2fc2390ec3cf647e4c70763ba00ef4a09c172a2" => :catalina
    sha256 "45232be0add69494dc4a652bc92f8d2ab6257059a56c5da79de0fb6610bef5e0" => :mojave
  end

  depends_on "pcre2"
  depends_on "xz"

  def install
    system "./configure", "--enable-color",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "install"
  end

  test do
    (testpath/"Hello.txt").write("Hello World!")
    assert_match /Hello World!/, shell_output("#{bin}/ug 'Hello' '#{testpath}'").strip
    assert_match /Hello World!/, shell_output("#{bin}/ugrep 'World' '#{testpath}'").strip
  end
end

{'fraction_non_alphanumeric': 0.12087087087087087, 'fraction_numerical': 0.16854354354354353, 'mean_word_length': 3.3617021276595747, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '1252909', 'n_tokens_mistral': 1276, 'n_tokens_neox': 1035, 'n_words': 155}