<commit_before>class Shfmt < Formula
  desc "Autoformat shell script source code"
  homepage "https://github.com/mvdan/sh"
  url "https://github.com/mvdan/sh/archive/v3.2.2.tar.gz"
  sha256 "e990aed5bb167f5cfc6790243ec3cc5e18508a64e8c9609ed5015634ba053b16"
  license "BSD-3-Clause"
  head "https://github.com/mvdan/sh.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "b4371ba5acedef0249229c4355aaad90b9fd2ce78c1664deb323edf5d3a30c22"
    sha256 cellar: :any_skip_relocation, big_sur:       "ac89ac489e6613322caae173fd5d422032a7c967ce575a89a0a719bd4161aafb"
    sha256 cellar: :any_skip_relocation, catalina:      "2a19f4a4e8c89a64071ef90248848199bd04b253c95c1d7f365e627068f69acc"
    sha256 cellar: :any_skip_relocation, mojave:        "8ba9f2635036f292ce79b2735421f822dbbbff454d2dd1274f29d48133951a97"
  end

  depends_on "go" => :build
  depends_on "scdoc" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    (buildpath/"src/mvdan.cc").mkpath
    ln_sf buildpath, buildpath/"src/mvdan.cc/sh"<commit_msg>shfmt 3.2.4<commit_after>class Shfmt < Formula
  desc "Autoformat shell script source code"
  homepage "https://github.com/mvdan/sh"
  url "https://github.com/mvdan/sh/archive/v3.2.4.tar.gz"
  sha256 "cab10a689c09689175774c78d7c38e594539c18d4581610bb7927d299d0435d8"
  license "BSD-3-Clause"
  head "https://github.com/mvdan/sh.git"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "b4371ba5acedef0249229c4355aaad90b9fd2ce78c1664deb323edf5d3a30c22"
    sha256 cellar: :any_skip_relocation, big_sur:       "ac89ac489e6613322caae173fd5d422032a7c967ce575a89a0a719bd4161aafb"
    sha256 cellar: :any_skip_relocation, catalina:      "2a19f4a4e8c89a64071ef90248848199bd04b253c95c1d7f365e627068f69acc"
    sha256 cellar: :any_skip_relocation, mojave:        "8ba9f2635036f292ce79b2735421f822dbbbff454d2dd1274f29d48133951a97"
  end

  depends_on "go" => :build
  depends_on "scdoc" => :build

  def install
    ENV["CGO_ENABLED"] = "0"
    (buildpath/"src/mvdan.cc").mkpath
    ln_sf buildpath, buildpath/"src/mvdan.cc/sh"
{'fraction_non_alphanumeric': 0.0966183574879227, 'fraction_numerical': 0.2222222222222222, 'mean_word_length': 5.314024390243903, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '7271873', 'n_tokens_mistral': 1171, 'n_tokens_neox': 934, 'n_words': 112}