<commit_before>require 'formula'

class Clojure <Formula
  url 'http://clojure.googlecode.com/files/clojure-1.1.0.zip'
  md5 '9c9e92f85351721b76f40578f5c1a94a'
  head 'git://github.com/richhickey/clojure.git'
  homepage 'http://clojure.org/'
  JAR = "clojure.jar"

  def script
    DATA.read.gsub 'CLOJURE_JAR_PATH_PLACEHOLDER', "$(brew --prefix)/Cellar/#{name}/#{version}/"+JAR
  end

  def install
    prefix.install JAR
    (bin+'clj').write(script)
  end
end

__END__
#!/bin/bash
# Runs clojure.
# With no arguments, runs Clojure's REPL.
# With one or more arguments, the first is treated as a script name, the rest
# passed as command-line arguments.

# resolve links - $0 may be a softlink
CLOJURE=$CLASSPATH:CLOJURE_JAR_PATH_PLACEHOLDER

if [ -z "$1" ]; then
  java -server -cp $CLOJURE clojure.main
else
  scriptname=$1
  java -server -cp $CLOJURE clojure.main -i $scriptname $*
fi<commit_msg>clj invocation doesn't like -i<commit_after>require 'formula'

class Clojure <Formula
  url 'http://clojure.googlecode.com/files/clojure-1.1.0.zip'
  md5 '9c9e92f85351721b76f40578f5c1a94a'
  head 'git://github.com/richhickey/clojure.git'
  homepage 'http://clojure.org/'
  JAR = "clojure.jar"

  def script
    DATA.read.gsub 'CLOJURE_JAR_PATH_PLACEHOLDER', "$(brew --prefix)/Cellar/#{name}/#{version}/"+JAR
  end

  def install
    prefix.install JAR
    (bin+'clj').write(script)
  end
end

__END__
#!/bin/bash
# Runs clojure.
# With no arguments, runs Clojure's REPL.
# With one or more arguments, the first is treated as a script name, the rest
# passed as command-line arguments.

# resolve links - $0 may be a softlink
CLOJURE=$CLASSPATH:CLOJURE_JAR_PATH_PLACEHOLDER

if [ -z "$1" ]; then
  java -server -cp $CLOJURE clojure.main
else
  scriptname=$1
  java -server -cp $CLOJURE clojure.main $scriptname $*
fi
{'fraction_non_alphanumeric': 0.12830396475770925, 'fraction_numerical': 0.03303964757709251, 'mean_word_length': 3.9375, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6155418', 'n_tokens_mistral': 758, 'n_tokens_neox': 735, 'n_words': 172}