<commit_before>class Pspg < Formula
  desc "Unix pager optimized for psql"
  homepage "https://github.com/okbob/pspg"
  url "https://github.com/okbob/pspg/archive/5.4.1.tar.gz"
  sha256 "200ae8bb85f66be3c4b6064f30c06f295949b785e15d360d783538f626a193e1"
  license "BSD-2-Clause"
  head "https://github.com/okbob/pspg.git", branch: "master"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "815d168a7815fdd161b29c4a3bad43cd0014d5a71adc30cff2f803df4c1313e2"
    sha256 cellar: :any,                 arm64_big_sur:  "11846c6d70e68c5e7f8adef102f614181f8df7b1aab70f48d7115c48569076ba"
    sha256 cellar: :any,                 monterey:       "8947931cc0d3d6a1dc7ab7eecdd60cf9fa766265c8acae91d4e0a8fa7eacc4a7"
    sha256 cellar: :any,                 big_sur:        "2900895ee36f13982baddb848990bb11a5bfc496910bf8741403f2cde63a2628"
    sha256 cellar: :any,                 catalina:       "687ac29e9c9b8b43fd9c278e4aa2d81e518d416aa23ea22179652abbb88f4836"
    sha256 cellar: :any,                 mojave:         "acc5956eb75c3a683e1bf11385686954dce46bc3e801cddefaa2342e4fdff7cc"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "13db8abc441d8f11298ba99c611590d41b614eb20228fe3164c30cb99a203467"
  end

  depends_on "libpq"
  depends_on "ncurses"
  depends_on "readline"

  def install
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  def caveats
    <<~EOS
      Add the following line to your psql profile (e.g. ~/.psqlrc)<commit_msg>pspg 5.5.1<commit_after>class Pspg < Formula
  desc "Unix pager optimized for psql"
  homepage "https://github.com/okbob/pspg"
  url "https://github.com/okbob/pspg/archive/5.5.1.tar.gz"
  sha256 "a4a4003982017261360bae24d5b38b3653d694d3d66140cf8fe7864d50958a8e"
  license "BSD-2-Clause"
  head "https://github.com/okbob/pspg.git", branch: "master"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "815d168a7815fdd161b29c4a3bad43cd0014d5a71adc30cff2f803df4c1313e2"
    sha256 cellar: :any,                 arm64_big_sur:  "11846c6d70e68c5e7f8adef102f614181f8df7b1aab70f48d7115c48569076ba"
    sha256 cellar: :any,                 monterey:       "8947931cc0d3d6a1dc7ab7eecdd60cf9fa766265c8acae91d4e0a8fa7eacc4a7"
    sha256 cellar: :any,                 big_sur:        "2900895ee36f13982baddb848990bb11a5bfc496910bf8741403f2cde63a2628"
    sha256 cellar: :any,                 catalina:       "687ac29e9c9b8b43fd9c278e4aa2d81e518d416aa23ea22179652abbb88f4836"
    sha256 cellar: :any,                 mojave:         "acc5956eb75c3a683e1bf11385686954dce46bc3e801cddefaa2342e4fdff7cc"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "13db8abc441d8f11298ba99c611590d41b614eb20228fe3164c30cb99a203467"
  end

  depends_on "libpq"
  depends_on "ncurses"
  depends_on "readline"

  def install
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  def caveats
    <<~EOS
      Add the following line to your psql profile (e.g. ~/.psqlrc)
{'fraction_non_alphanumeric': 0.08444300097434232, 'fraction_numerical': 0.2299447872685937, 'mean_word_length': 3.3380281690140845, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, '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': '6046787', 'n_tokens_mistral': 1674, 'n_tokens_neox': 1304, 'n_words': 176}