Disable padding for the last column

Padding the last column on the right often produces messed up
output because lines are too long.
This commit is contained in:
Alexis Ben Miloud--Josselin 2021-12-06 10:29:55 +01:00
parent f8db747970
commit 9bfec89f18
1 changed files with 1 additions and 1 deletions

View File

@ -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); }'