Commit 1f588759 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Updating common settings

parent e723e302
......@@ -8,8 +8,6 @@ if [ "$0" == "common.sh" ]; then
exit 1
fi
LINE_MAX_LEN=1000000
# caller script filepath
SCRIPT=$(readlink -f "$0")
......@@ -23,14 +21,16 @@ DUMPS_DIR=$BASE_DIR/dumps
LIB_DIR=$BASE_DIR/lib
RSC_DIR=$BASE_DIR/rsc
# Pivot file
# Pivot files
ODF_ORGA_FILE=$DUMPS_DIR/opendatafrance/organisations.csv
ODF_PTF_FILE=$DUMPS_DIR/opendatafrance/plateformes.csv
# Tools
CSV_CUT="csvcut -z $LINE_MAX_LEN"
CSV_GREP="csvgrep -z $LINE_MAX_LEN"
CSV_JOIN="csvjoin -z $LINE_MAX_LEN"
CSV_OPTS="-z 1000000"
CSV_CUT="csvcut $CSV_OPTS"
CSV_GREP="csvgrep $CSV_OPTS"
CSV_JOIN="csvjoin $CSV_OPTS"
CSV_SORT="csvsort $CSV_OPTS"
ICONV=icon
PYTHON=python3
SED=sed
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment