From cb4e66e06fcd49abed49157e824f5afd8d3f398f Mon Sep 17 00:00:00 2001
From: Massimiliano Adamo <massimiliano.adamo@geant.org>
Date: Sun, 11 Apr 2021 21:33:16 +0200
Subject: [PATCH] use column instead oa awk

---
 build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index f6fb71e..b94f369 100755
--- a/build.sh
+++ b/build.sh
@@ -24,7 +24,7 @@ usage() {
     echo "    --arch=ARCH (Compile binary for this architecture)"
     echo ""
     echo "    Below is a list of supported combinations (1st column: OS / 2nd column: Arch):"
-    go tool dist list|awk -F'/' '{printf "OS: "$1"\011=> Arch: "$2"\n"}'
+    echo "OS         ARCH"; go tool dist list | column -t -s '/' --table-columns =======,=======
     exit
 }
 
-- 
GitLab