Public feed #603472

Untitled

public shellscript v1 · immutable
Raw Edit
·published 2007-07-04 20:19 UTC
rendered paste body
# excerpt from top of script:#!/bin/bashecho "locale is: "locale# create an array of grouped files. Hopefully LC_ALL=C takes care of sort issuesif $GROUPING; then    LC_ALL="C" grouping=( $WORK_DIR/${TSET_NUM}-group*.mpg )fiecho "grouping is ${grouping[@]}"# Remove any existing log fileif ! $SWITCHED_MODE && ! $TITLESET_MODE && ! $DO_TITLESETS; then    test -f "$LOG_FILE" && rm -fv "$LOG_FILE"fi# do some locale debuggingecho "You are using the following locale settings:" | tee -a "$LOG_FILE"locale |tee -a "$LOG_FILE" 2>&1###########  OUTPUT ##############################################locale is:LANG=ru_RU.KOI8-RLANGUAGE=ruLC_CTYPE="ru_RU.KOI8-R"LC_NUMERIC="ru_RU.KOI8-R"LC_TIME="ru_RU.KOI8-R"LC_COLLATE="ru_RU.KOI8-R"LC_MONETARY="ru_RU.KOI8-R"LC_MESSAGES="ru_RU.KOI8-R"LC_PAPER="ru_RU.KOI8-R"LC_NAME="ru_RU.KOI8-R"LC_ADDRESS="ru_RU.KOI8-R"LC_TELEPHONE="ru_RU.KOI8-R"LC_MEASUREMENT="ru_RU.KOI8-R"LC_IDENTIFICATION="ru_RU.KOI8-R"LC_ALL=ru_RU.KOI8-Rgrouping is /tmp/todisc-work.0/1-group-1-1.mpgremoved `/home/knoppix/todisc.log'You are using the following locale settings:LANG=ru_RU.KOI8-RLANGUAGE=ruLC_CTYPE="C"LC_NUMERIC="C"LC_TIME="C"LC_COLLATE="C"LC_MONETARY="C"LC_MESSAGES="C"LC_PAPER="C"LC_NAME="C"LC_ADDRESS="C"LC_TELEPHONE="C"LC_MEASUREMENT="C"LC_IDENTIFICATION="C"LC_ALL=C