<commit_before>class Datamash < Formula
  desc "Tool to perform numerical, textual & statistical operations"
  homepage "https://www.gnu.org/software/datamash"
  url "https://ftp.gnu.org/gnu/datamash/datamash-1.7.tar.gz"
  mirror "https://ftpmirror.gnu.org/datamash/datamash-1.7.tar.gz"
  sha256 "574a592bb90c5ae702ffaed1b59498d5e3e7466a8abf8530c5f2f3f11fa4adb3"
  license "GPL-3.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "d808354a764a06427e4768aa451493e111c5324e36fde94fbbab4d7fb41f2055"
    sha256 cellar: :any_skip_relocation, big_sur:       "50590b93f6f3a25e3e2724ddad696e6ed8a168f840fafe887be423f5020ce86c"
    sha256 cellar: :any_skip_relocation, catalina:      "f592c4bda737ef924fb4c1642fb381db54c9ce246eb51d03a145dd28a8391406"
    sha256 cellar: :any_skip_relocation, mojave:        "6533f0decc607d6e3ce1ad1fdb7f5b30f99bbbcbacbba1bcd880486eef648189"
    sha256 cellar: :any_skip_relocation, high_sierra:   "b6100d066c3cf9d91b2bd4a8d8bcdc5fa453c6eb6a28d7cacb06659baa358e46"
    sha256                               x86_64_linux:  "5bff297fd208a9f97975ffabe9c15b701d8dcafb8ac9a8d552c3c288c7d86dc3"
  end

  head do
    url "https://git.savannah.gnu.org/git/datamash.git"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "gettext" => :build
  end

  def install
    system "./bootstrap" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    assert_equal "55", shell_output("seq 10 | #{bin}/datamash sum 1").chomp
  end
end<commit_msg>datamash: update 1.7 bottle.<commit_after>class Datamash < Formula
  desc "Tool to perform numerical, textual & statistical operations"
  homepage "https://www.gnu.org/software/datamash"
  url "https://ftp.gnu.org/gnu/datamash/datamash-1.7.tar.gz"
  mirror "https://ftpmirror.gnu.org/datamash/datamash-1.7.tar.gz"
  sha256 "574a592bb90c5ae702ffaed1b59498d5e3e7466a8abf8530c5f2f3f11fa4adb3"
  license "GPL-3.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "93b19975f866077ffd5b2c323b6fe29ad2dfe454f03c628cfbad58df4b4af7c9"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "d808354a764a06427e4768aa451493e111c5324e36fde94fbbab4d7fb41f2055"
    sha256 cellar: :any_skip_relocation, monterey:       "a17d2b11cf873d7d4c7013462c9b4a908b7f5c50eb9b76091c7d48d820530275"
    sha256 cellar: :any_skip_relocation, big_sur:        "50590b93f6f3a25e3e2724ddad696e6ed8a168f840fafe887be423f5020ce86c"
    sha256 cellar: :any_skip_relocation, catalina:       "f592c4bda737ef924fb4c1642fb381db54c9ce246eb51d03a145dd28a8391406"
    sha256 cellar: :any_skip_relocation, mojave:         "6533f0decc607d6e3ce1ad1fdb7f5b30f99bbbcbacbba1bcd880486eef648189"
    sha256 cellar: :any_skip_relocation, high_sierra:    "b6100d066c3cf9d91b2bd4a8d8bcdc5fa453c6eb6a28d7cacb06659baa358e46"
    sha256                               x86_64_linux:   "5bff297fd208a9f97975ffabe9c15b701d8dcafb8ac9a8d552c3c288c7d86dc3"
  end

  head do
    url "https://git.savannah.gnu.org/git/datamash.git"
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "gettext" => :build
  end

  def install
    system "./bootstrap" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    assert_equal "55", shell_output("seq 10 | #{bin}/datamash sum 1").chomp
  end
end
{'fraction_non_alphanumeric': 0.09251587959127312, 'fraction_numerical': 0.18779342723004694, 'mean_word_length': 4.030555555555556, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 8, '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': '1312320', 'n_tokens_mistral': 1873, 'n_tokens_neox': 1526, 'n_words': 196}