<commit_before>class SshAudit < Formula
  include Language::Python::Shebang

  desc "SSH server & client auditing"
  homepage "https://github.com/jtesta/ssh-audit"
  url "https://github.com/jtesta/ssh-audit/releases/download/v2.3.0/ssh-audit-2.3.0.tar.gz"
  sha256 "776547591e7b69a2a8dcd1eaaac5d38321f2cb4a5de5f8e5a3e135b33236e812"
  license "MIT"
  revision 1
  head "https://github.com/jtesta/ssh-audit.git"

  bottle :unneeded

  depends_on "python@3.9"

  def install
    rewrite_shebang detected_python_shebang, "ssh-audit.py"
    bin.install "ssh-audit.py" => "ssh-audit"
  end

  test do
    assert_match "[exception]", shell_output("#{bin}/ssh-audit -nt 0 ssh.github.com", 1)
  end
end<commit_msg>ssh-audit: add man page (#62955)<commit_after>class SshAudit < Formula
  include Language::Python::Shebang

  desc "SSH server & client auditing"
  homepage "https://github.com/jtesta/ssh-audit"
  url "https://github.com/jtesta/ssh-audit/releases/download/v2.3.0/ssh-audit-2.3.0.tar.gz"
  sha256 "776547591e7b69a2a8dcd1eaaac5d38321f2cb4a5de5f8e5a3e135b33236e812"
  license "MIT"
  revision 2
  head "https://github.com/jtesta/ssh-audit.git"

  bottle :unneeded

  depends_on "python@3.9"

  def install
    rewrite_shebang detected_python_shebang, "ssh-audit.py"
    bin.install "ssh-audit.py" => "ssh-audit"
    man1.install "ssh-audit.1"
  end

  test do
    assert_match "[exception]", shell_output("#{bin}/ssh-audit -nt 0 ssh.github.com", 1)
  end
end
{'fraction_non_alphanumeric': 0.13424657534246576, 'fraction_numerical': 0.0773972602739726, 'mean_word_length': 4.090592334494773, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, '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': '5245360', 'n_tokens_mistral': 690, 'n_tokens_neox': 613, 'n_words': 97}