From 8b69d90b63656968d322837f195af7956afe33cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sat, 3 Feb 2024 23:10:11 +0100 Subject: [PATCH] qsgen2: Better formatting output --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 273c03b..b6ae170 100755 --- a/qsgen2 +++ b/qsgen2 @@ -76,7 +76,7 @@ _list_sites() { if [[ -f "$sites_file" ]]; then echo "Registered qsgen2 Sites:" while IFS='|' read -r site_name site_dir; do - echo "Site: $site_name\t- Directory: $site_dir" + printf "%-30s - Directory: %-50s\n" "Site: $site_name" "$site_dir" done < "$sites_file" else echo "No sites registered."