<commit_before>require 'formula'

class HtopOsx < Formula
  url 'https://github.com/max-horvath/htop-osx/tarball/0.8.2.1-2012-04-18'
  homepage 'https://github.com/max-horvath/htop-osx'
  md5 'c1e91e6afe98ec124dab12f420c855da'

  depends_on "automake" => :build if MacOS.xcode_version.to_f >= 4.3

  def install
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make", "install", "DEFAULT_INCLUDES='-iquote .'"
  end

  def caveats; <<-EOS.undent
    htop-osx requires root privileges to correctly display all running processes.
    You can either run the program via `sudo` or set the setuid bit:

      sudo chown root:wheel #{bin}/htop
      sudo chmod u+s #{bin}/htop

    You should be certain that you trust any software you granting root privileges.
    EOS
  end
end<commit_msg>htop-osx: fix typo in caveats<commit_after>require 'formula'

class HtopOsx < Formula
  url 'https://github.com/max-horvath/htop-osx/tarball/0.8.2.1-2012-04-18'
  homepage 'https://github.com/max-horvath/htop-osx'
  md5 'c1e91e6afe98ec124dab12f420c855da'

  depends_on "automake" => :build if MacOS.xcode_version.to_f >= 4.3

  def install
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make", "install", "DEFAULT_INCLUDES='-iquote .'"
  end

  def caveats; <<-EOS.undent
    htop-osx requires root privileges to correctly display all running processes.
    You can either run the program via `sudo` or set the setuid bit:

      sudo chown root:wheel #{bin}/htop
      sudo chmod u+s #{bin}/htop

    You should be certain that you trust any software you grant root privileges.
    EOS
  end
end
{'fraction_non_alphanumeric': 0.1231841952353283, 'fraction_numerical': 0.037187681580476466, 'mean_word_length': 3.461139896373057, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4523843', 'n_tokens_mistral': 655, 'n_tokens_neox': 595, 'n_words': 163}