<commit_before>class Ksh < Formula
  desc "KornShell, ksh93"
  homepage "http://www.kornshell.com"
  url "https://github.com/att/ast/releases/download/2020.0.0/ksh-2020.0.0.tar.gz"
  sha256 "8701c27211b0043ddd485e35f2ba7f4075fc8fc2818d0545e38b1dda4288b6f7"
  license "EPL-1.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "8fa4ca19495438d415fae8d81de8efdb45148f4d7e5733a5a294975f9e889b18"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "ade0f9307c006c9833a85a4c046019668e327197ebe0220c8ed74fa59958f090"
    sha256 cellar: :any_skip_relocation, monterey:       "100c44e8c7bfad8c63fc3eb8ee2afc9a5c10f33481c71f4283d6720ce78e0ba4"
    sha256 cellar: :any_skip_relocation, big_sur:        "92ca5f26f79c9ca9637331d83b1e1521ab3e1c772d9e2d363c8353fb2c568a61"
    sha256 cellar: :any_skip_relocation, catalina:       "ea7be886a6acee55713ca673ce1578a1303389fb2a964734c38137d3610d7f2b"
    sha256 cellar: :any_skip_relocation, mojave:         "3bc3469d43fba904b3045722d43bb52444f88c2e6745af977bae9b52d1f0090e"
    sha256 cellar: :any_skip_relocation, high_sierra:    "733e1c6bdd05054bf8d0097a6ae9ea2ca21e74b4676df7b424d4b9f43078afd4"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "8a6f8d5a96eaf9d91da32c58e453d7aacc4f47acea57f6a2b3db7cc108bbcd1f"
  end

  depends_on "meson" => :build
  depends_on "ninja" => :build

  def install
    mkdir "build" do
      system "meson", *std_meson_args, ".."
      system "ninja", "-v"
      system "ninja", "install", "-v"
    end<commit_msg>ksh: deprecate (#107154)<commit_after>class Ksh < Formula
  desc "KornShell, ksh93"
  homepage "http://www.kornshell.com"
  url "https://github.com/att/ast/releases/download/2020.0.0/ksh-2020.0.0.tar.gz"
  sha256 "8701c27211b0043ddd485e35f2ba7f4075fc8fc2818d0545e38b1dda4288b6f7"
  license "EPL-1.0"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "8fa4ca19495438d415fae8d81de8efdb45148f4d7e5733a5a294975f9e889b18"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "ade0f9307c006c9833a85a4c046019668e327197ebe0220c8ed74fa59958f090"
    sha256 cellar: :any_skip_relocation, monterey:       "100c44e8c7bfad8c63fc3eb8ee2afc9a5c10f33481c71f4283d6720ce78e0ba4"
    sha256 cellar: :any_skip_relocation, big_sur:        "92ca5f26f79c9ca9637331d83b1e1521ab3e1c772d9e2d363c8353fb2c568a61"
    sha256 cellar: :any_skip_relocation, catalina:       "ea7be886a6acee55713ca673ce1578a1303389fb2a964734c38137d3610d7f2b"
    sha256 cellar: :any_skip_relocation, mojave:         "3bc3469d43fba904b3045722d43bb52444f88c2e6745af977bae9b52d1f0090e"
    sha256 cellar: :any_skip_relocation, high_sierra:    "733e1c6bdd05054bf8d0097a6ae9ea2ca21e74b4676df7b424d4b9f43078afd4"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "8a6f8d5a96eaf9d91da32c58e453d7aacc4f47acea57f6a2b3db7cc108bbcd1f"
  end

  deprecate! date: "2020-05-01", because: "abandoned, unmaintained, no releases since 2019; consider ksh93 instead"

  depends_on "meson" => :build
  depends_on "ninja" => :build

  def install
    mkdir "build" do
      system "meson", *std_meson_args, ".."
      system "ninja", "-v"
      system "ninja", "install", "-v"
    end
{'fraction_non_alphanumeric': 0.08328055731475617, 'fraction_numerical': 0.26535782140595315, 'mean_word_length': 5.7935483870967746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5539217', 'n_tokens_mistral': 1905, 'n_tokens_neox': 1476, 'n_words': 172}