% PRINT-HEADER(1) Version 3.2.0 | Scripts Documentation % Georg Voell - georg.voell@standby.cloud % (c)2024 Standby.cloud NAME ==== **print-header** - (BASH Script) Reads a file and pretty prints a frame around the content. SYNOPSIS ======== | **print-header** \[_options_] DESCRIPTION =========== Reads a file and pretty prints a frame around the content. Options ------- -h, \--help          : Displays helptext. -v, \--version          : Displays the version of the script. -i, \--import _string_          : Read from a file (_string_ = filename) - if not specified, read from stdin. -c, \--color _colorcode_         : Green colorcode e.g.: "\033[0;32m". EXAMPLES ======== echo "Hello world" | **print-header** : Displays: : /-------------\n : Hello world : \-------------/ EXIT CODES ========== 01: Unknown or wrong parameter. 02: No file 99: User interrupt. SEE ALSO ======== **print-table**(1), **install-scripts**(1)