===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
backup2l-1.6/debian/patches/10_enable-use-of-questionmark.patch-20-             DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/debian/patches/10_enable-use-of-questionmark.patch:21:             SUFFIX=`$DRIVER -suffix`
backup2l-1.6/debian/patches/10_enable-use-of-questionmark.patch-22-+
##############################################
backup2l-1.6/debian/patches/10_enable-use-of-questionmark.patch-28-+                # The second sed expression most escapes special glob(7) characters ([]*?).
backup2l-1.6/debian/patches/10_enable-use-of-questionmark.patch:29:             FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/debian/patches/10_enable-use-of-questionmark.patch-30-             echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/debian/patches/12_enable-use-of-square-brackets.patch-16-@@ -1021,9 +1021,9 @@
backup2l-1.6/debian/patches/12_enable-use-of-square-brackets.patch:17:             SUFFIX=`$DRIVER -suffix`
backup2l-1.6/debian/patches/12_enable-use-of-square-brackets.patch-18- 
##############################################
backup2l-1.6/debian/patches/12_enable-use-of-square-brackets.patch-24-+                # The second sed expression some escapes special glob(7) characters (*).
backup2l-1.6/debian/patches/12_enable-use-of-square-brackets.patch:25:             FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/debian/patches/12_enable-use-of-square-brackets.patch-26-             echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/debian/patches/13_upstream-avoid-breakage.patch-16-           #             which seems to be not the case!!
backup2l-1.6/debian/patches/13_upstream-avoid-breakage.patch:17:-        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/debian/patches/13_upstream-avoid-breakage.patch:18:+        if [[ $(( `grep -a "^<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/debian/patches/13_upstream-avoid-breakage.patch-19-             echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/debian/patches/22_allow-filenames-with-special-char.patch-25-             DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/debian/patches/22_allow-filenames-with-special-char.patch:26:             SUFFIX=`$DRIVER -suffix`
backup2l-1.6/debian/patches/22_allow-filenames-with-special-char.patch-27--
##############################################
backup2l-1.6/debian/patches/22_allow-filenames-with-special-char.patch-32--                # The second sed expression some escapes special glob(7) characters (*).
backup2l-1.6/debian/patches/22_allow-filenames-with-special-char.patch:33:             FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/debian/patches/22_allow-filenames-with-special-char.patch-34-             echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/debian/patches/25_fix-failure-detect-running-instance.patch-19-     if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/debian/patches/25_fix-failure-detect-running-instance.patch:20:-        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/debian/patches/25_fix-failure-detect-running-instance.patch:21:+        if [ `ps -ax | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/debian/patches/25_fix-failure-detect-running-instance.patch-22-             echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-77-    for TOOL in $@; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:78:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-79-    done
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-96-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:97:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-98-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-118-    for BID in "$@"; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:119:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-120-    done
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-123-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:124:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-125-    done
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-269-    for DRIVER in $@; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:270:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-271-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-283-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:284:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-285-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-294-{
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:295:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-296-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-301-{
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:302:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-303-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-341-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:342:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-343-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-359-
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:360:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-361-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-459-        cd $BACKUP_DIR
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:460:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-461-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-487-    else
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:488:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-489-    fi
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-491-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:492:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-493-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-507-    else
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:508:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-509-    fi
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-532-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:533:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:534:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-535-        fi
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-540-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:541:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-542-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-560-    else
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:561:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-562-    fi
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-583-    cd $BACKUP_DIR
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:584:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-585-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-588-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:589:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-590-            p=${f%%.list.gz}
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:591:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-592-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-689-          #             which seems to be not the case!!
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:690:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-691-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-704-    # Print statistics...
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:705:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:706:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:707:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:708:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:709:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:710:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:711:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-712-}
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-765-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:766:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-767-        LV=0
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-773-                : $[N-=1]
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:774:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-775-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-791-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:792:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-793-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-860-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:861:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-862-        FBID=$BID
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-910-    done
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:911:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-912-
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-920-    touch $TMP.noarch
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:921:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-922-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-923-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:924:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-925-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:926:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-927-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-929-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:930:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-931-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-937-        LAST_BID=$BID
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:938:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-939-    done
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-960-
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:961:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-962-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-997-
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:998:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-999-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1004-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1005:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1006-
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1007-        # create directories...
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1008:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1009-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1017-        echo "Restoring files..."
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1018:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1019-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1021-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1022:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1023-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1026-                # The second sed expression escapes special glob(7) characters ([]*?).
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1027:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1028-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1055-    # determine BID_LIST...
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1056:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1057-
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1069-        fi
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1070:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1071-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1073-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1074:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1075-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1076-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1077:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1078-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1082-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1083:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1084-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1088-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1089:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1090-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1095-                    done
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1096:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1097-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1106-
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1107:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1108-    cat << EOT
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1148-    # create links...
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1149:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1150-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1153-    echo "Splitting large files..."
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1154:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1155-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1156-        echo "  $ORG_FILE"
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1157:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1158-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1161-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1162:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l:1163:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/04_no-verbose-for-md5sum.patch/backup2l-1164-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-77-    for TOOL in $@; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:78:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-79-    done
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-96-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:97:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-98-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-118-    for BID in "$@"; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:119:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-120-    done
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-123-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:124:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-125-    done
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-269-    for DRIVER in $@; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:270:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-271-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-283-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:284:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-285-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-294-{
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:295:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-296-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-301-{
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:302:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-303-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-341-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:342:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-343-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-359-
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:360:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-361-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-459-        cd $BACKUP_DIR
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:460:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-461-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-487-    else
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:488:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-489-    fi
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-491-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:492:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-493-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-507-    else
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:508:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-509-    fi
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-532-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:533:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:534:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-535-        fi
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-540-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:541:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-542-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-560-    else
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:561:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-562-    fi
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-583-    cd $BACKUP_DIR
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:584:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-585-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-588-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:589:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-590-            p=${f%%.list.gz}
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:591:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-592-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-689-          #             which seems to be not the case!!
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:690:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-691-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-704-    # Print statistics...
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:705:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:706:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:707:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:708:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:709:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:710:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:711:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-712-}
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-765-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:766:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-767-        LV=0
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-773-                : $[N-=1]
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:774:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-775-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-791-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:792:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-793-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-860-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:861:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-862-        FBID=$BID
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-910-    done
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:911:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-912-
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-920-    touch $TMP.noarch
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:921:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-922-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-923-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:924:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-925-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:926:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-927-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-929-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:930:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-931-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-937-        LAST_BID=$BID
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:938:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-939-    done
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-960-
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:961:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-962-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-997-
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:998:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-999-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1004-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1005:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1006-
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1007-        # create directories...
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1008:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1009-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1017-        echo "Restoring files..."
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1018:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1019-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1021-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1022:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1023-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1026-                # The second sed expression escapes special glob(7) characters ([]*?).
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1027:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1028-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1055-    # determine BID_LIST...
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1056:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1057-
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1069-        fi
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1070:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1071-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1073-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1074:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1075-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1076-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1077:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1078-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1082-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1083:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1084-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1088-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1089:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1090-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1095-                    done
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1096:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1097-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1106-
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1107:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1108-    cat << EOT
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1148-    # create links...
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1149:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1150-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1153-    echo "Splitting large files..."
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1154:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1155-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1156-        echo "  $ORG_FILE"
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1157:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1158-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1161-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1162:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l:1163:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/06_fix-in-renamed-backups.patch/backup2l-1164-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-77-    for TOOL in $@; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:78:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-79-    done
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-96-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:97:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-98-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-118-    for BID in "$@"; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:119:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-120-    done
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-123-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:124:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-125-    done
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-269-    for DRIVER in $@; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:270:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-271-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-283-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:284:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-285-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-294-{
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:295:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-296-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-301-{
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:302:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-303-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-341-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:342:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-343-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-359-
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:360:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-361-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-460-        cd $BACKUP_DIR
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:461:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-462-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-488-    else
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:489:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-490-    fi
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-492-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:493:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-494-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-508-    else
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:509:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-510-    fi
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-533-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:534:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:535:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-536-        fi
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-541-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:542:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-543-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-561-    else
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:562:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-563-    fi
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-584-    cd $BACKUP_DIR
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:585:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-586-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-589-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:590:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-591-            p=${f%%.list.gz}
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:592:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-593-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-690-          #             which seems to be not the case!!
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:691:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-692-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-705-    # Print statistics...
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:706:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:707:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:708:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:709:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:710:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:711:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:712:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-713-}
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-766-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:767:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-768-        LV=0
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-774-                : $[N-=1]
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:775:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-776-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-792-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:793:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-794-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-861-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:862:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-863-        FBID=$BID
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-911-    done
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:912:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-913-
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-921-    touch $TMP.noarch
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:922:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-923-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-924-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:925:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-926-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:927:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-928-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-930-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:931:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-932-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-938-        LAST_BID=$BID
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:939:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-940-    done
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-961-
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:962:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-963-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-998-
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:999:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1000-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1005-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1006:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1007-
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1008-        # create directories...
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1009:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1010-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1018-        echo "Restoring files..."
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1019:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1020-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1022-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1023:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1024-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1027-                # The second sed expression escapes special glob(7) characters ([]*?).
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1028:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1029-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1056-    # determine BID_LIST...
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1057:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1058-
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1070-        fi
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1071:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1072-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1074-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1075:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1076-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1077-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1078:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1079-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1083-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1084:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1085-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1089-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1090:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1091-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1096-                    done
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1097:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1098-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1107-
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1108:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1109-    cat << EOT
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1149-    # create links...
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1150:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1151-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1154-    echo "Splitting large files..."
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1155:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1156-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1157-        echo "  $ORG_FILE"
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1158:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1159-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1162-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1163:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l:1164:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/09_display-help-again.patch/backup2l-1165-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-77-    for TOOL in $@; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:78:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-79-    done
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-96-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:97:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-98-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-118-    for BID in "$@"; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:119:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-120-    done
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-123-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:124:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-125-    done
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-266-    for DRIVER in $@; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:267:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-268-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-280-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:281:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-282-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-291-{
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:292:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-293-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-298-{
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:299:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-300-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-338-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:339:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-340-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-356-
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:357:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-358-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-457-        cd $BACKUP_DIR
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:458:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-459-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-485-    else
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:486:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-487-    fi
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-489-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:490:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-491-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-505-    else
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:506:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-507-    fi
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-530-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:531:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:532:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-533-        fi
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-538-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:539:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-540-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-558-    else
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:559:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-560-    fi
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-581-    cd $BACKUP_DIR
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:582:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-583-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-586-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:587:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-588-            p=${f%%.list.gz}
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:589:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-590-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-687-          #             which seems to be not the case!!
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:688:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-689-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-702-    # Print statistics...
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:703:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:704:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:705:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:706:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:707:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:708:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:709:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-710-}
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-763-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:764:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-765-        LV=0
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-771-                : $[N-=1]
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:772:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-773-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-789-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:790:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-791-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-858-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:859:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-860-        FBID=$BID
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-908-    done
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:909:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-910-
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-918-    touch $TMP.noarch
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:919:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-920-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-921-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:922:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-923-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:924:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-925-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-927-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:928:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-929-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-935-        LAST_BID=$BID
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:936:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-937-    done
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-958-
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:959:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-960-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-995-
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:996:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-997-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1002-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1003:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1004-
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1005-        # create directories...
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1006:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1007-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1015-        echo "Restoring files..."
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1016:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1017-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1019-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1020:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1021-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1024-                # The second sed expression escapes special glob(7) characters ([]*?).
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1025:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1026-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1053-    # determine BID_LIST...
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1054:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1055-
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1067-        fi
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1068:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1069-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1071-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1072:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1073-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1074-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1075:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1076-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1080-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1081:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1082-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1086-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1087:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1088-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1093-                    done
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1094:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1095-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1104-
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1105:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1106-    cat << EOT
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1146-    # create links...
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1147:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1148-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1151-    echo "Splitting large files..."
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1152:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1153-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1154-        echo "  $ORG_FILE"
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1155:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1156-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1159-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1160:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l:1161:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/10_enable-use-of-questionmark.patch/backup2l-1162-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-77-    for TOOL in $@; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:78:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-79-    done
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-96-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:97:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-98-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-118-    for BID in "$@"; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:119:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-120-    done
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-123-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:124:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-125-    done
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-266-    for DRIVER in $@; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:267:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-268-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-280-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:281:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-282-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-291-{
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:292:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-293-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-298-{
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:299:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-300-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-338-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:339:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-340-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-356-
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:357:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-358-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-457-        cd $BACKUP_DIR
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:458:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-459-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-485-    else
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:486:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-487-    fi
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-489-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:490:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-491-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-505-    else
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:506:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-507-    fi
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-530-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:531:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:532:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-533-        fi
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-538-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:539:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-540-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-558-    else
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:559:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-560-    fi
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-581-    cd $BACKUP_DIR
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:582:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-583-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-586-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:587:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-588-            p=${f%%.list.gz}
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:589:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-590-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-687-          #             which seems to be not the case!!
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:688:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-689-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-702-    # Print statistics...
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:703:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:704:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:705:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:706:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:707:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:708:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:709:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-710-}
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-763-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:764:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-765-        LV=0
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-771-                : $[N-=1]
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:772:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-773-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-789-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:790:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-791-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-858-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:859:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-860-        FBID=$BID
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-908-    done
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:909:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-910-
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-918-    touch $TMP.noarch
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:919:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-920-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-921-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:922:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-923-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:924:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-925-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-927-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:928:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-929-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-935-        LAST_BID=$BID
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:936:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-937-    done
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-958-
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:959:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-960-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-995-
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:996:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-997-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1002-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1003:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1004-
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1005-        # create directories...
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1006:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1007-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1015-        echo "Restoring files..."
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1016:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1017-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1019-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1020:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1021-
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1025-                # The second sed expression most escapes special glob(7) characters ([]*?).
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1026:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1027-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1054-    # determine BID_LIST...
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1055:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1056-
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1068-        fi
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1069:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1070-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1072-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1073:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1074-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1075-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1076:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1077-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1081-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1082:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1083-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1087-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1088:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1089-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1094-                    done
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1095:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1096-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1105-
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1106:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1107-    cat << EOT
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1147-    # create links...
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1148:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1149-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1152-    echo "Splitting large files..."
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1153:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1154-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1155-        echo "  $ORG_FILE"
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1156:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1157-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1160-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1161:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l:1162:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/11_version-and-variables.patch/backup2l-1163-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-78-    for TOOL in $@; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-80-    done
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-119-    for BID in "$@"; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-121-    done
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-126-    done
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-292-{
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-299-{
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:340:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-357-
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-486-    else
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-488-    fi
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-506-    else
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-508-    fi
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-534-        fi
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-559-    else
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-561-    fi
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:689:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-703-    # Print statistics...
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-711-}
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-766-        LV=0
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-772-                : $[N-=1]
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-909-    done
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-911-
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-919-    touch $TMP.noarch
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-936-        LAST_BID=$BID
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-938-    done
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-959-
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-996-
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1005-
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1006-        # create directories...
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1022-
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1026-                # The second sed expression most escapes special glob(7) characters ([]*?).
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1027:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1028-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1055-    # determine BID_LIST...
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1056:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1057-
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1069-        fi
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1070:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1071-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1073-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1074:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1075-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1076-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1077:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1078-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1082-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1083:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1084-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1088-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1089:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1090-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1095-                    done
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1096:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1097-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1106-
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1107:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1108-    cat << EOT
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1148-    # create links...
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1149:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1150-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1153-    echo "Splitting large files..."
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1154:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1155-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1156-        echo "  $ORG_FILE"
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1157:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1158-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1161-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1162:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l:1163:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/12_enable-use-of-square-brackets.patch/backup2l-1164-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-78-    for TOOL in $@; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-80-    done
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-119-    for BID in "$@"; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-121-    done
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-126-    done
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-292-{
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-299-{
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:340:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-357-
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-486-    else
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-488-    fi
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-506-    else
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-508-    fi
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-534-        fi
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-559-    else
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-561-    fi
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:689:        if [[ $(( `grep -a "<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-703-    # Print statistics...
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-711-}
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-766-        LV=0
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-772-                : $[N-=1]
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-909-    done
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-911-
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-919-    touch $TMP.noarch
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-936-        LAST_BID=$BID
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-938-    done
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-959-
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-996-
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1005-
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1006-        # create directories...
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1022-
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1026-                # The second sed expression some escapes special glob(7) characters (*).
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1027:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1028-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1055-    # determine BID_LIST...
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1056:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1057-
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1069-        fi
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1070:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1071-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1073-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1074:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1075-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1076-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1077:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1078-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1082-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1083:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1084-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1088-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1089:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1090-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1095-                    done
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1096:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1097-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1106-
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1107:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1108-    cat << EOT
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1148-    # create links...
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1149:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1150-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1153-    echo "Splitting large files..."
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1154:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1155-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1156-        echo "  $ORG_FILE"
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1157:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1158-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1161-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1162:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l:1163:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/13_upstream-avoid-breakage.patch/backup2l-1164-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-78-    for TOOL in $@; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-80-    done
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-119-    for BID in "$@"; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-121-    done
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-126-    done
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-292-{
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-299-{
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:340:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-357-
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-486-    else
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-488-    fi
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-506-    else
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-508-    fi
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-534-        fi
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-559-    else
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-561-    fi
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:689:        if [[ $(( `grep -a "^<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-703-    # Print statistics...
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-711-}
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-766-        LV=0
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-772-                : $[N-=1]
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-909-    done
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-911-
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-919-    touch $TMP.noarch
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-936-        LAST_BID=$BID
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-938-    done
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-959-
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-996-
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1005-
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1006-        # create directories...
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1022-
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1026-                # The second sed expression some escapes special glob(7) characters (*).
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1027:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1028-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1055-    # determine BID_LIST...
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1056:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1057-
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1069-        fi
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1070:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1071-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1073-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1074:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1075-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1076-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1077:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1078-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1082-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1083:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1084-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1088-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1089:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1090-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1095-                    done
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1096:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1097-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1106-
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1107:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1108-    cat << EOT
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1148-    # create links...
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1149:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1150-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1153-    echo "Splitting large files..."
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1154:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1155-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1156-        echo "  $ORG_FILE"
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1157:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1158-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1161-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1162:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l:1163:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/21_fixing-tar-command-order.patch/backup2l-1164-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-78-    for TOOL in $@; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-80-    done
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-119-    for BID in "$@"; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-121-    done
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-126-    done
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-292-{
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-299-{
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:340:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-357-
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-486-    else
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-488-    fi
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-506-    else
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-508-    fi
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-534-        fi
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-559-    else
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-561-    fi
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:689:        if [[ $(( `grep -a "^<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-703-    # Print statistics...
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-711-}
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-766-        LV=0
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-772-                : $[N-=1]
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-909-    done
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-911-
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-919-    touch $TMP.noarch
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-936-        LAST_BID=$BID
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-938-    done
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-959-
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-996-
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1005-
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1006-        # create directories...
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1022-
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1026-                # The second sed expression some escapes special glob(7) characters (*).
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1027:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1028-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1055-    # determine BID_LIST...
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1056:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1057-
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1069-        fi
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1070:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1071-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1073-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1074:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1075-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1076-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1077:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1078-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1082-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1083:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1084-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1088-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1089:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1090-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1095-                    done
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1096:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1097-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1106-
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1107:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1108-    cat << EOT
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1148-    # create links...
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1149:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1150-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1153-    echo "Splitting large files..."
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1154:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1155-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1156-        echo "  $ORG_FILE"
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1157:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1158-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1161-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1162:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l:1163:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/22_allow-filenames-with-special-char.patch/backup2l-1164-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-78-    for TOOL in $@; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-80-    done
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-119-    for BID in "$@"; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-121-    done
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-126-    done
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-292-{
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-299-{
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:340:        if [ `ps -a | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-357-
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-486-    else
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-488-    fi
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-506-    else
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-508-    fi
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-534-        fi
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-559-    else
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-561-    fi
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:689:        if [[ $(( `grep -a "^<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-703-    # Print statistics...
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-711-}
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-766-        LV=0
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-772-                : $[N-=1]
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-909-    done
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-911-
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-919-    touch $TMP.noarch
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-936-        LAST_BID=$BID
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-938-    done
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-959-
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-996-
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1005-
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1006-        # create directories...
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1022-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1024-                > $BACKUP_DIR/$TMP.curlist
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1025:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1026-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1053-    # determine BID_LIST...
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1054:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1055-
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1067-        fi
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1068:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1069-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1071-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1072:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1073-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1074-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1075:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1076-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1080-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1081:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1082-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1086-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1087:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1088-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1093-                    done
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1094:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1095-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1104-
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1105:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1106-    cat << EOT
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1146-    # create links...
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1147:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1148-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1151-    echo "Splitting large files..."
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1152:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1153-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1154-        echo "  $ORG_FILE"
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1155:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1156-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1159-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1160:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l:1161:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/25_fix-failure-detect-running-instance.patch/backup2l-1162-            mv $SPLIT $DST
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-78-    for TOOL in $@; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-80-    done
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-119-    for BID in "$@"; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-121-    done
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-126-    done
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-292-{
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-299-{
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:340:        if [ `ps -ax | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-357-
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-486-    else
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-488-    fi
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-506-    else
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-508-    fi
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-534-        fi
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-559-    else
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-561-    fi
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:689:        if [[ $(( `grep -a "^<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-703-    # Print statistics...
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-711-}
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-766-        LV=0
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-772-                : $[N-=1]
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-909-    done
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-911-
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-919-    touch $TMP.noarch
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-936-        LAST_BID=$BID
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-938-    done
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-959-
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-996-
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1005-
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1006-        # create directories...
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1022-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1024-                > $BACKUP_DIR/$TMP.curlist
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1025:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1026-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1053-    # determine BID_LIST...
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1054:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1055-
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1067-        fi
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1068:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1069-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1071-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1072:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1073-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1074-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1075:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1076-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1080-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1081:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1082-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1086-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1087:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1088-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1093-                    done
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1094:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1095-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1104-
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1105:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1106-    cat << EOT
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1146-    # create links...
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1147:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1148-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1151-    echo "Splitting large files..."
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1152:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1153-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1154-        echo "  $ORG_FILE"
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1155:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1156-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1159-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1160:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l:1161:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/.pc/26_remove-numeric-owner.patch/backup2l-1162-            mv $SPLIT $DST
##############################################
backup2l-1.6/backup2l-78-    for TOOL in $@; do
backup2l-1.6/backup2l:79:        if [ "`which $TOOL 2> /dev/null`" == "" ]; then NOT_AVAIL="$NOT_AVAIL $TOOL"; fi
backup2l-1.6/backup2l-80-    done
##############################################
backup2l-1.6/backup2l-97-    if [ -f $VOLNAME.1.list.gz ]; then
backup2l-1.6/backup2l:98:        REV_ARCH_LIST=(`ls $VOLNAME.*.list.gz | sort -r`)
backup2l-1.6/backup2l-99-        get_bid_of_name ${REV_ARCH_LIST[0]}
##############################################
backup2l-1.6/backup2l-119-    for BID in "$@"; do
backup2l-1.6/backup2l:120:        ARCH_LIST="$ARCH_LIST `ls -1 $BACKUP_DIR/$VOLNAME.$BID.$SUFFIX 2> /dev/null`"
backup2l-1.6/backup2l-121-    done
##############################################
backup2l-1.6/backup2l-124-    for ARCH in $ARCH_LIST; do
backup2l-1.6/backup2l:125:        BID_LIST="$BID_LIST `get_bid_of_name ${ARCH#$BACKUP_DIR/}`"
backup2l-1.6/backup2l-126-    done
##############################################
backup2l-1.6/backup2l-267-    for DRIVER in $@; do
backup2l-1.6/backup2l:268:        local STATUS=`$DRIVER -test`
backup2l-1.6/backup2l-269-        if [ "$STATUS" != "ok" ]; then
##############################################
backup2l-1.6/backup2l-281-    for DRIVER in $USER_DRIVER_LIST $BUILTIN_DRIVER_LIST; do
backup2l-1.6/backup2l:282:        local SUFFIX=`$DRIVER -suffix`
backup2l-1.6/backup2l-283-        if [ "$SUFFIX" != "" -a -e "$1.$SUFFIX" ]; then
##############################################
backup2l-1.6/backup2l-292-{
backup2l-1.6/backup2l:293:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/backup2l-294-    echo ${DRIVER_AND_FILE%%:*}
##############################################
backup2l-1.6/backup2l-299-{
backup2l-1.6/backup2l:300:    local DRIVER_AND_FILE=`get_driver_and_file $1`
backup2l-1.6/backup2l-301-    echo ${DRIVER_AND_FILE##*:}
##############################################
backup2l-1.6/backup2l-339-    if [ -e $BACKUP_DIR/$VOLNAME.lock ]; then
backup2l-1.6/backup2l:340:        if [ `ps -ax | grep -af $BACKUP_DIR/$VOLNAME.lock | grep -a ${0##*/} | wc -l` -gt 0 ]; then
backup2l-1.6/backup2l-341-            echo "ERROR: Backup volume is locked."
##############################################
backup2l-1.6/backup2l-357-
backup2l-1.6/backup2l:358:    if [[ "`cat $BACKUP_DIR/$VOLNAME.lock 2>/dev/null`" == "$$" ]]; then
backup2l-1.6/backup2l-359-        # A lock exists and comes from this instance => everything is ok
##############################################
backup2l-1.6/backup2l-458-        cd $BACKUP_DIR
backup2l-1.6/backup2l:459:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/backup2l-460-        if [[ "$BID_LIST" == "" ]]; then
##############################################
backup2l-1.6/backup2l-486-    else
backup2l-1.6/backup2l:487:        local BASE_FILE=$VOLNAME.`get_base_bid $BID`.list.gz
backup2l-1.6/backup2l-488-    fi
##############################################
backup2l-1.6/backup2l-490-    rm -f $VOLNAME.$BID.check
backup2l-1.6/backup2l:491:    md5sum `find . -follow -path "*/$VOLNAME.$BID.*" -type f` $BASE_FILE > $TMP.check
backup2l-1.6/backup2l-492-    mv $TMP.check $VOLNAME.$BID.check
##############################################
backup2l-1.6/backup2l-506-    else
backup2l-1.6/backup2l:507:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/backup2l-508-    fi
##############################################
backup2l-1.6/backup2l-531-    if [[ ${#BID} -gt 1 ]]; then
backup2l-1.6/backup2l:532:        if [[ ! -f $VOLNAME.`get_base_bid $BID`.list.gz ]]; then
backup2l-1.6/backup2l:533:            echo "  ERROR: Base archive <$VOLNAME.`get_base_bid $BID`> does not exist."
backup2l-1.6/backup2l-534-        fi
##############################################
backup2l-1.6/backup2l-539-        md5sum -c $VOLNAME.$BID.check 2>&1 | sed 's/^/  /'
backup2l-1.6/backup2l:540:        if [[ $(( `grep -a $VOLNAME.$BID. $VOLNAME.$BID.check | wc -l` )) -lt 6 ]]; then
backup2l-1.6/backup2l-541-            echo "  ERROR: Check file seems to be corrupted."
##############################################
backup2l-1.6/backup2l-559-    else
backup2l-1.6/backup2l:560:        BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/backup2l-561-    fi
##############################################
backup2l-1.6/backup2l-582-    cd $BACKUP_DIR
backup2l-1.6/backup2l:583:    if [[ `echo $VOLNAME.*.list.gz` == "" ]]; then
backup2l-1.6/backup2l-584-        echo "No backup archives present."
##############################################
backup2l-1.6/backup2l-587-        echo "------------------------------------------------------------------------------"
backup2l-1.6/backup2l:588:        for f in `ls $VOLNAME.*.list.gz` ; do
backup2l-1.6/backup2l-589-            p=${f%%.list.gz}
backup2l-1.6/backup2l:590:            size="`du -sbL $p.* | readable_bytes_sum $SIZE_UNITS`"
backup2l-1.6/backup2l-591-            skipped=$( gunzip -c $p.skipped.gz | wc -l )
##############################################
backup2l-1.6/backup2l-688-          #             which seems to be not the case!!
backup2l-1.6/backup2l:689:        if [[ $(( `grep -a "^<" $TMP.diff | tail -n 1 | sed 's# /.*##' | wc -w` )) == 5 ]]; then
backup2l-1.6/backup2l-690-            echo "  file '$VOLNAME.$BASE_BID.list.gz' has an old format - using compatibility mode"
##############################################
backup2l-1.6/backup2l-703-    # Print statistics...
backup2l-1.6/backup2l:704:    echo " " `wc -l < $TMP.files` / `grep -av '/$' $TMP.list | wc -l` "file(s)," \
backup2l-1.6/backup2l:705:        `grep -a '/$' $TMP.new | wc -l` / `grep -a '/$' $TMP.list | wc -l` "dir(s)," \
backup2l-1.6/backup2l:706:        `grep -av '/$' $TMP.new | readable_bytes_sum`"B /" \
backup2l-1.6/backup2l:707:        `grep -av '/$' $TMP.list | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/backup2l:708:    echo "  skipping:" `grep -av '/$' $TMP.skipped | wc -l` "file(s)," \
backup2l-1.6/backup2l:709:        `grep -a '/$' $TMP.skipped | wc -l` "dir(s)," \
backup2l-1.6/backup2l:710:        `grep -av '/$' $TMP.skipped | readable_bytes_sum`"B (uncompressed)"
backup2l-1.6/backup2l-711-}
##############################################
backup2l-1.6/backup2l-764-    if [[ $BASE_BID -gt 0 ]]; then
backup2l-1.6/backup2l:765:        ARCH_LIST=(`ls $VOLNAME.*1.list.gz`)
backup2l-1.6/backup2l-766-        LV=0
##############################################
backup2l-1.6/backup2l-772-                : $[N-=1]
backup2l-1.6/backup2l:773:                BID=`get_bid_of_name ${ARCH_LIST[$N]}`
backup2l-1.6/backup2l-774-                if [[ ${#BID} == $[LV+1] && ${BID:0:$LV} != ${NEW_BID:0:$LV} ]]; then
##############################################
backup2l-1.6/backup2l-790-    echo "Creating archive using '"$CREATE_DRIVER"'..."
backup2l-1.6/backup2l:791:    ARCH_SUFFIX=`$CREATE_DRIVER -suffix`
backup2l-1.6/backup2l-792-    $CREATE_DRIVER -create $NEW_BID $TMP.$ARCH_SUFFIX $TMP.files 2>&1 | sed 's/^/  /'
##############################################
backup2l-1.6/backup2l-859-    for F in $VOLNAME.*.list.gz; do
backup2l-1.6/backup2l:860:        BID=`get_bid_of_name $F`
backup2l-1.6/backup2l-861-        FBID=$BID
##############################################
backup2l-1.6/backup2l-909-    done
backup2l-1.6/backup2l:910:    echo "Active files in <$VOLNAME.$BID>:" `wc -l < $TMP.left`
backup2l-1.6/backup2l-911-
##############################################
backup2l-1.6/backup2l-919-    touch $TMP.noarch
backup2l-1.6/backup2l:920:    while [ ${#LAST_BID} -gt 1 -a `wc -l < $TMP.left` -gt 0 ]; do
backup2l-1.6/backup2l-921-        gunzip -c $VOLNAME.$BID.new.gz | eval "$FILTER_NAME" | sort | comm -1 -2 - $TMP.left | tee $TMP.found \
backup2l-1.6/backup2l-922-            | comm -1 -3 - $TMP.left > $TMP.nowleft
backup2l-1.6/backup2l:923:        local FOUND=`wc -l < $TMP.found`
backup2l-1.6/backup2l-924-        printf "  found in %-12s%5i   (%5i left)\n" \
backup2l-1.6/backup2l:925:            "$VOLNAME.$BID:" $FOUND `wc -l < $TMP.nowleft`
backup2l-1.6/backup2l-926-        if [ "$FOUND" -gt 0 ]; then
##############################################
backup2l-1.6/backup2l-928-            mv $TMP.nowleft $TMP.left
backup2l-1.6/backup2l:929:            DRIVER=`get_driver $VOLNAME.$BID`
backup2l-1.6/backup2l-930-            if [ "$DRIVER" = "" ]; then
##############################################
backup2l-1.6/backup2l-936-        LAST_BID=$BID
backup2l-1.6/backup2l:937:        BID=`get_base_bid $LAST_BID`
backup2l-1.6/backup2l-938-    done
##############################################
backup2l-1.6/backup2l-959-
backup2l-1.6/backup2l:960:    if [ `wc -l < $TMP.noarch` -gt 0 ]; then
backup2l-1.6/backup2l-961-        echo -e "\nTo restore, the archive files of the following backups are missing and" \
##############################################
backup2l-1.6/backup2l-996-
backup2l-1.6/backup2l:997:    if [ `wc -l < $BACKUP_DIR/$TMP.noarch` -gt 0 ]; then
backup2l-1.6/backup2l-998-        echo "Cannot access archive file(s) of the following backup(s):"
##############################################
backup2l-1.6/backup2l-1003-        # check availability of all required drivers in advance...
backup2l-1.6/backup2l:1004:        require_drivers `sed 's#^.*:##' < $BACKUP_DIR/$TMP.archlist`
backup2l-1.6/backup2l-1005-
backup2l-1.6/backup2l-1006-        # create directories...
backup2l-1.6/backup2l:1007:        DIRS=`wc -l < $BACKUP_DIR/$TMP.dirs`
backup2l-1.6/backup2l-1008-        if [ $DIRS -gt 0 ]; then
##############################################
backup2l-1.6/backup2l-1016-        echo "Restoring files..."
backup2l-1.6/backup2l:1017:        for ARCH_AND_DRIVER in `cat $BACKUP_DIR/$TMP.archlist`; do
backup2l-1.6/backup2l-1018-            ARCH=${ARCH_AND_DRIVER%%:*}
##############################################
backup2l-1.6/backup2l-1020-            DRIVER=${ARCH_AND_DRIVER##*:}
backup2l-1.6/backup2l:1021:            SUFFIX=`$DRIVER -suffix`
backup2l-1.6/backup2l-1022-            grep -a "^$ARCH:" $BACKUP_DIR/$TMP.located \
##############################################
backup2l-1.6/backup2l-1024-                > $BACKUP_DIR/$TMP.curlist
backup2l-1.6/backup2l:1025:            FILES=`wc -l < $BACKUP_DIR/$TMP.curlist`
backup2l-1.6/backup2l-1026-            echo "  $ARCH.$SUFFIX:" $FILES "file(s) using '"$DRIVER"'"
##############################################
backup2l-1.6/backup2l-1053-    # determine BID_LIST...
backup2l-1.6/backup2l:1054:    BID_LIST=`expand_bid_list list.gz "$@"`
backup2l-1.6/backup2l-1055-
##############################################
backup2l-1.6/backup2l-1067-        fi
backup2l-1.6/backup2l:1068:        LAST_DISK_DIR=`printf "data-%02d" $LAST_DISK`
backup2l-1.6/backup2l-1069-        ls -1s $BACKUP_DIR/$VOLNAME.$BID.* | grep -E "$CTRL_EXPR" \
##############################################
backup2l-1.6/backup2l-1071-        : $[ REMAINING -= $CTRL_SIZE ]
backup2l-1.6/backup2l:1072:        for ARCHIVE_PATH in `ls -1d $BACKUP_DIR/$VOLNAME.$BID.* | grep -vE "$CTRL_EXPR"`; do
backup2l-1.6/backup2l-1073-            ARCHIVE=${ARCHIVE_PATH##*/}
backup2l-1.6/backup2l-1074-            if [ -f $BACKUP_DIR/$ARCHIVE ]; then
backup2l-1.6/backup2l:1075:                DATA_SIZE=`ls -1s $BACKUP_DIR/$ARCHIVE | sed 's/ [^ ]*$//'`
backup2l-1.6/backup2l-1076-                if [ $DATA_SIZE -gt $REMAINING -a $REMAINING -lt $MAXFREE ]; then
##############################################
backup2l-1.6/backup2l-1080-                if [ $DATA_SIZE -le $REMAINING ]; then
backup2l-1.6/backup2l:1081:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/backup2l-1082-                    ls -1s $BACKUP_DIR/$ARCHIVE | sed "s#$BACKUP_DIR#$LAST_DISK_DIR#" >> TMP.xdist
##############################################
backup2l-1.6/backup2l-1086-                    while [ $DATA_SIZE -gt $REMAINING ]; do
backup2l-1.6/backup2l:1087:                        LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/backup2l-1088-                        printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $REMAINING $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/backup2l-1093-                    done
backup2l-1.6/backup2l:1094:                    LAST_DISK_DIR=`printf "data-%02i" $LAST_DISK`
backup2l-1.6/backup2l-1095-                    printf "%4i $LAST_DISK_DIR/$ARCHIVE.%02i\n" $DATA_SIZE $SPLIT_NO >> TMP.xdist
##############################################
backup2l-1.6/backup2l-1104-
backup2l-1.6/backup2l:1105:    SPACE=$(( (`grep -a "\.[0-9]*$" TMP.xdist | awk '{ sum += $1 } END { print sum }'` + 1023) / 1024 ))
backup2l-1.6/backup2l-1106-    cat << EOT
##############################################
backup2l-1.6/backup2l-1146-    # create links...
backup2l-1.6/backup2l:1147:    for FILE in `grep -av '\.[0-9]*$' TMP.xdist | sed 's#^[ 0-9]*##'`; do
backup2l-1.6/backup2l-1148-        do_symlink $BACKUP_DIR/${FILE#data-??/} $FILE
##############################################
backup2l-1.6/backup2l-1151-    echo "Splitting large files..."
backup2l-1.6/backup2l:1152:    for FILE in `grep -a '\.01$' TMP.xdist | sed -e 's#^[ 0-9]*##' -e 's#.01$##'`; do
backup2l-1.6/backup2l-1153-        ORG_FILE=${FILE#data-??/}
backup2l-1.6/backup2l-1154-        echo "  $ORG_FILE"
backup2l-1.6/backup2l:1155:        HEAD_SIZE=$(( `grep -a $FILE TMP.xdist | sed 's/ [^ ]*$//'` * 1024 ))
backup2l-1.6/backup2l-1156-        head $BACKUP_DIR/$ORG_FILE -c $HEAD_SIZE > $FILE.01
##############################################
backup2l-1.6/backup2l-1159-        for SPLIT in `ls -1 TMP.split.*`; do
backup2l-1.6/backup2l:1160:            DST_FILE=`printf "$ORG_FILE.%02i" $SPLIT_NO`
backup2l-1.6/backup2l:1161:            DST=`grep -a $DST_FILE TMP.xdist | sed 's#^[ 0-9]*##'`
backup2l-1.6/backup2l-1162-            mv $SPLIT $DST