<commit_before>#!/bin/bash

if [[ $# -ne 7 ]]; then
	echo "Usage: cybergis-script-pull-wfs.sh wfs namespace featuretype dbname dbuser dbpass table"
	exit
fi
DATE=$(date)
FORMAT=json
WFS=$1
NAMESPACE=$2
FEATURETYPE=$3
DBNAME=$4
DBUSER=$5
DBPASS=$6
TABLE=$7
URL="$WFS?typename=$NAMESPACE%3A$FEATURETYPE&outputFormat=$FORMAT&version=1.0.0&request=GetFeature&service=WFS"
TEMP=/tmp/cybergis-pull

if [[ $EUID -ne 0 ]]; then
  echo "You must be a root user" 2>&1
  exit 1
else<commit_msg>bracketed args for cybergis-script-pull-wfs.sh<commit_after>#!/bin/bash

if [[ $# -ne 7 ]]; then
	echo "Usage: cybergis-script-pull-wfs.sh <wfs> <namespace> <featuretype> <dbname> <dbuser> <dbpass> <table>"
	exit
fi
DATE=$(date)
FORMAT=json
WFS=$1
NAMESPACE=$2
FEATURETYPE=$3
DBNAME=$4
DBUSER=$5
DBPASS=$6
TABLE=$7
URL="$WFS?typename=$NAMESPACE%3A$FEATURETYPE&outputFormat=$FORMAT&version=1.0.0&request=GetFeature&service=WFS"
TEMP=/tmp/cybergis-pull

if [[ $EUID -ne 0 ]]; then
  echo "You must be a root user" 2>&1
  exit 1
else
{'fraction_non_alphanumeric': 0.16781836130306022, 'fraction_numerical': 0.0315893385982231, 'mean_word_length': 5.945205479452055, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 12, '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': '7296504', 'n_tokens_mistral': 418, 'n_tokens_neox': 414, 'n_words': 90}