% PRINT-TABLE(1) Version 3.1.0 | Scripts Documentation % Georg Voell - georg.voell@standby.cloud % (c)2023 Standby.cloud NAME ==== **print-table** - (BASH Script) Reads a tab separated file and pretty prints it. SYNOPSIS ======== | **print-table** \[_options_] _filename_ DESCRIPTION =========== Reads a tab separated file and pretty prints it. Options ------- -h, \--help          : Displays helptext. -v, \--version          : Displays the version of the script. -l, \--list          : Print a vertical oriented list. -g, \--green _string_          : If _string_ is the same as column, display it green. -y, \--yellow _string_          : If _string_ is the same as column, display it yellow. -r, \--red _string_          : If _string_ is the same as column, display it red. -d, \--darkgray _string_         : If _string_ is the same as column, display it gray. -b, \--bold _string_          : If _string_ is the same as column, display it bold. Filename ------- A file with tab separated content. EXAMPLES ======== printf "cmd vers os jq 1.6 linux rclone 1.51.0 linux " > file.tmp : Creates a tab separated value file. **print-table** file.tmp : cmd vers os : ------ ------ ----- : jq 1.6 linux : rclone 1.51.0 linux EXIT CODES ========== 01: Unknown or wrong parameter. 02: File is empty. 99: User interrupt. SEE ALSO ======== **print-header**(1), **install-scripts**(1)