From ed2b9499a2d84f0d74d8b73812107c851f39385b Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Sat, 22 Jun 2024 12:52:35 -0700 Subject: [PATCH] Fix unaligned text. --- server/bin/dz | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/bin/dz b/server/bin/dz index d5b556a..98f8349 100755 --- a/server/bin/dz +++ b/server/bin/dz @@ -529,13 +529,13 @@ activelist(){ if [[ ${have} = "no" ]] then have="yes" - echo -e "\n ID Name URL Size" - echo "------------------------------------------------------------------------------------------------------------------------" + echo -e "\n ID Name URL Size" + echo "-------------------------------------------------------------------------------------------------------------------------" 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 if [[ ${have} = "no" ]]