<commit_before>{stdenv, fetchurl, groff, less}:
 
stdenv.mkDerivation {
  name = "man-1.6f";
  
  src = fetchurl {
    url = http://primates.ximian.com/~flucifredi/man/man-1.6f.tar.gz;
    sha256 = "0v2z6ywhy8kd2fa3ywkqayhjdivbaqn6qvhx93a1ldw135z8q84z";
  };
  
  buildInputs = [groff less];

  preBuild = ''
    makeFlagsArray=(bindir=$out/bin sbindir=$out/sbin libdir=$out/lib mandir=$out/share/man)
  '';

  patches = [
    # Search in "share/man" relative to each path in $PATH (in addition to "man").
    ./share.patch
  ];

  meta = {
    homepage = http://primates.ximian.com/~flucifredi/man/;
    description = "Tool to read online Unix documentation";
  };
}<commit_msg>* man: use UTF-8 instead of latin1 by default.  Fixes broken special   characters in man output.<commit_after>{stdenv, fetchurl, groff, less}:
 
stdenv.mkDerivation {
  name = "man-1.6f";
  
  src = fetchurl {
    url = http://primates.ximian.com/~flucifredi/man/man-1.6f.tar.gz;
    sha256 = "0v2z6ywhy8kd2fa3ywkqayhjdivbaqn6qvhx93a1ldw135z8q84z";
  };
  
  buildInputs = [groff less];

  preBuild = ''
    makeFlagsArray=(bindir=$out/bin sbindir=$out/sbin libdir=$out/lib mandir=$out/share/man)
  '';

  patches = [
    # Search in "share/man" relative to each path in $PATH (in addition to "man").
    ./share.patch
  ];

  postInstall =
    ''
      # Use UTF-8 by default.  Otherwise man won't know how to deal
      # with certain characters.
      substituteInPlace $out/lib/man.conf \
        --replace "nroff -Tlatin1" "nroff" \
        --replace "eqn -Tlatin1" "eqn -Tutf8"
    '';

  meta = {
    homepage = http://primates.ximian.com/~flucifredi/man/;
    description = "Tool to read online Unix documentation";
  };
}
{'fraction_non_alphanumeric': 0.14277355178466938, 'fraction_numerical': 0.030427150380339378, 'mean_word_length': 2.9953271028037385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '948444', 'n_tokens_mistral': 695, 'n_tokens_neox': 664, 'n_words': 133}