From e3ff4b6496c961719de813fbe24dd39e62b15cc5 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 17 Jan 2010 20:03:56 -0500 Subject: Append to IFS, don't replace it --- squashfu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'squashfu') diff --git a/squashfu b/squashfu index 7aac148..9e25cc8 100755 --- a/squashfu +++ b/squashfu @@ -316,7 +316,7 @@ action_report () { info "SquashFu Usage Report" echo # Enumerate bins, sort date order, print human readable create date and size - OLDIFS=$IFS;IFS='$:' + OLDIFS=$IFS;IFS=${IFS}: 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 printf "%10d\t%25s\t%7s\n" $bin \ -- cgit v1.2.3