From 9d26bcbe44ebac321407dacd572296e88c0cb5b8 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Sat, 22 Jun 2024 13:14:13 -0700 Subject: [PATCH] More alignment. --- files/bin/dz-common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/bin/dz-common b/files/bin/dz-common index ba08f99..1fd973b 100755 --- a/files/bin/dz-common +++ b/files/bin/dz-common @@ -74,14 +74,14 @@ list(){ if [[ ${FIRST} = 1 ]] then echo - echo -e " ID Name URL Size" - echo "------------------------------------------------------------------------------------------------------------------------" + echo -e " ID Name URL Size" + echo "-------------------------------------------------------------------------------------------------------------------------" FIRST=0 fi ID=$(readlink ${link} | awk -F/ '{print $NF}') MODNAME=$(get_mod_name ${ID}) SIZE=$(du -sh "${WORKSHOP_DIR}/${ID}" | awk '{print $1}') - printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${MODNAME}" "${spaces:${#MODNAME}+1}" ${ID} ${SIZE} + printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${MODNAME}" "${spaces:${#MODNAME}}" ${ID} ${SIZE} X=$((X+1)) done echo