From 9bfec89f180bcc985def3930a01894b419cbd913 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Mon, 6 Dec 2021 10:29:55 +0100 Subject: [PATCH] Disable padding for the last column Padding the last column on the right often produces messed up output because lines are too long. --- lib/bkctld-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bkctld-status b/lib/bkctld-status index 72b23ad..6b53e85 100755 --- a/lib/bkctld-status +++ b/lib/bkctld-status @@ -27,4 +27,4 @@ status="OFF" port=$("${LIBDIR}/bkctld-port" "${jail_name}") ip=$("${LIBDIR}/bkctld-ip" "${jail_name}" | xargs | tr -s ' ' ',') -echo "${jail_name} ${status} ${port} ${incs_policy} ${ip}" | awk '{ printf("%- 30s %- 10s %- 10s %- 25s %- 40s\n", $1, $2, $3, $4, $5); }' +echo "${jail_name} ${status} ${port} ${incs_policy} ${ip}" | awk '{ printf("%- 30s %- 10s %- 10s %- 25s %s\n", $1, $2, $3, $4, $5); }'