<commit_before>class Sfk < Formula
  homepage "http://stahlworks.com/dev/swiss-file-knife.html"
  url "https://downloads.sourceforge.net/project/swissfileknife/1-swissfileknife/1.7.4/sfk-1.7.4.tar.gz"
  sha256 "aeb9c658d8b87c9a11108736dace65bf495a77a51a6a7585442f90b5183d94b3"

  def install
    # Using the standard ./configure && make install method does not work with sfk as of this version
    # As per the build instructions for OS X, this is all you need to do to build sfk
    system ENV.cxx, "-DMAC_OS_X", "sfk.cpp", "sfkext.cpp", "-o", "sfk"

    # The sfk binary is all you need. There are no man pages or share files
    bin.install "sfk"
  end

  test do
    system "sfk", "ip"
  end
end<commit_msg>sfk: add 1.7.4 bottle.<commit_after>class Sfk < Formula
  homepage "http://stahlworks.com/dev/swiss-file-knife.html"
  url "https://downloads.sourceforge.net/project/swissfileknife/1-swissfileknife/1.7.4/sfk-1.7.4.tar.gz"
  sha256 "aeb9c658d8b87c9a11108736dace65bf495a77a51a6a7585442f90b5183d94b3"

  bottle do
    cellar :any
    sha256 "2aae87cc00f346d23426af1003a7d64bd6338ed0ca00baf7c80afcc62b70fdeb" => :yosemite
    sha256 "a902948f223f2df7c4059d017ff073f8e5c9957296f0b2f7ccb667442fb554eb" => :mavericks
    sha256 "d3be90bfa93e1ae8c675f6bacbaa836c52305ee5249af29ae8ad8d787e0bc615" => :mountain_lion
  end

  def install
    # Using the standard ./configure && make install method does not work with sfk as of this version
    # As per the build instructions for OS X, this is all you need to do to build sfk
    system ENV.cxx, "-DMAC_OS_X", "sfk.cpp", "sfkext.cpp", "-o", "sfk"

    # The sfk binary is all you need. There are no man pages or share files
    bin.install "sfk"
  end

  test do
    system "sfk", "ip"
  end
end
{'fraction_non_alphanumeric': 0.09627507163323783, 'fraction_numerical': 0.12951289398280802, 'mean_word_length': 3.8907563025210083, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 2, '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': '2827481', 'n_tokens_mistral': 828, 'n_tokens_neox': 716, 'n_words': 170}