<commit_before>#!/bin/sh

# http://www.libspf2.org/spf/libspf2-1.2.10.tar.gz
distver="1.2.10"
distname="libspf2-${distver}"
distfile="${distname}.tar.gz"
disturl="http://www.libspf2.org/spf"
builddir="build2"

# git clone https://github.com/shevek/libspf2.git build2
# git checkout d57d79fde2753cdbaaec9a15969253a323474205
# d57d79-fde2753cdbaaec9a15969253a323474205

patchsetfile="${distname}.patch"

#fetch
getfile()
{
	url="$1"; shift
	file="$1"; shift

	fetch="`which fetch`"
	if [ ! -z "${fetch}" ]; then # freebsd
		${fetch} ${url}/${file}
	else
		curl="`which curl`" # everything else
		if [ ! -z "$curl" ]; then
			${curl} -L ${url} -o ${file}
		else<commit_msg>make curl work<commit_after>#!/bin/sh

# http://www.libspf2.org/spf/libspf2-1.2.10.tar.gz
distver="1.2.10"
distname="libspf2-${distver}"
distfile="${distname}.tar.gz"
disturl="http://www.libspf2.org/spf"
builddir="build2"

# git clone https://github.com/shevek/libspf2.git build2
# git checkout d57d79fde2753cdbaaec9a15969253a323474205
# d57d79-fde2753cdbaaec9a15969253a323474205

patchsetfile="${distname}.patch"

#fetch
getfile()
{
	url="$1"; shift
	file="$1"; shift

	fetch="`which fetch 2>/dev/null`"
	if [ ! -z "${fetch}" ]; then # freebsd
		${fetch} ${url}/${file}
	else
		curl="`which curl 2>/dev/null`" # everything else
		if [ ! -z "$curl" ]; then
			${curl} -L ${url}/${file} -o ${file}
		else
{'fraction_non_alphanumeric': 0.20393299344501092, 'fraction_numerical': 0.10196649672250546, 'mean_word_length': 4.725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '879071', 'n_tokens_mistral': 688, 'n_tokens_neox': 599, 'n_words': 95}