diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-18 22:50:58 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-18 22:50:58 -0500 |
commit | 89bf65130e217d9a727b0513c57dbff45656bb80 (patch) | |
tree | e02f56ce70bf1d8fea4441ec3b5e6a8508575cff | |
parent | 43893d43552912957818b60a13e3de7d765af2b9 (diff) | |
download | squashfu-89bf65130e217d9a727b0513c57dbff45656bb80.tar.gz |
Actually fix alignment...I need sleep
-rwxr-xr-x | squashfu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,10 +281,10 @@ action_remove_bin () { if [[ -z $2 && $(grep -E "^$1:" ${BINVENTORY}) && -d "${BINS_DIR}/$1" ]]; then echo "Are you SURE you want to remove this bin?" local timestamp=$(sed -n "/$1/s/^[0-9]*://" "${BINVENTORY}") - printf "\t%10s %s\n\t%10s: %s\n\t%10s: %s\n" \ + printf "\t%15s %s\n\t%15s %s\n\t%15s %s\n" \ "Bin:" "$1" \ "Date Created:" "$(date --rfc-3339=seconds --date="1970-01-01 $timestamp sec GMT")" \ - "Size:" "$(du -sh "${BINS_DIR}/$1" 2>/dev/null)" + "Size:" "$(du -sh "${BINS_DIR}/$1" 2>/dev/null | awk '{print $1}')" read -p "Confirm deletion (y/N)" confirm if [[ $confirm != "y" ]]; then |