From 4cc2382b8adbf4659ead37769dc0210b8f628109 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 17 Jan 2010 20:31:23 -0500 Subject: Send reporting loading msg to STDERR --- squashfu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squashfu b/squashfu index ed419d8..7cd93b8 100755 --- a/squashfu +++ b/squashfu @@ -320,9 +320,9 @@ action_report () { OLDIFS=$IFS;IFS=${IFS}: # Collect all data into an array to 'preload' it. Index 0 is the entire # folder. The following indicies correspond to the bin number of that index - printf "%30s\r" " .: Loading :." + printf "%30s\r" " .: Loading :." >&2 DATA=($(du -sh ${BINS_DIR} ${BINS_DIR}/* 2>/dev/null | awk '{print $1}')) - printf "%30s\r" " " + printf "%30s\r" " " >&2 printf "%10s\t%25s\t%7s\n" "Bin ID" "Date Created" "Size" grep -vE "^[\t ]*$" "$BINVENTORY" | sort -r -t: -k2 -n | while read bin stamp; do -- cgit v1.2.3