All pastes #428263 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-07 12:50 UTC
rendered paste body
        "-titleset" )
            shift
            unset x ARGS_ARRAY
            # Hackish list-parsing
            while test $# -gt 0 && test $1 != "-end-titleset"; do
                ARGS_ARRAY[x++]="$1"
                shift
            done
            # Do not skip past the next argument
            if test $# -gt 0 && test x"${1:0:1}" = x"-";then
                DO_SHIFT=false
            fi
            TITLESET_OPTS[y++]="${ARGS_ARRAY[@]}"
            ;;