gdbtek/linux-cookbooks

ubuntu 22.04 printTable

Opened this issue · 1 comments

Hello, used some of your useful functions like printTable. Under Ubuntu 22.04 table output is weird.
I think, somehow, output="$(echo -e "${table}" | column -s '#' -t | awk '/^\+/{gsub(" ", "-", $0)}1')" does not replace empty spaces, but why....

Output looks like this:
image

j4rosz commented

#45 (comment)
have you tried this?