% CONVERT-NUMBER(1) Version 3.2.0 | Scripts Documentation % Georg Voell - georg.voell@standby.cloud % (c)2024 Standby.cloud NAME ==== **convert-number** - (TCSH Script) Convert Number String e.g. 2,3,5-7,9 into a sequential number string e.g. 002 003 005 006 007 009 SYNOPSIS ======== | **convert-number** _numberstr_ DESCRIPTION =========== Convert Number String e.g. 2,3,5-7,9 into a sequential number string e.g. 002 003 005 006 007 009 Options ------- -h, \--help          : Displays helptext. -v, \--version          : Displays the version of the script. -p, \--padding _number_         : Numbers are sorted and left padded with 0 (default padding is 3). -x, \--max _number_          : Maximal _number_ - useful if one calls script with e.g. "5-". NumberStr ------- Can be a numer or a string e.g. "2,3,5-7,9" EXAMPLES ======== **convert-number** \--max 8 2,5- : Displays "002 005 006 007 008" EXIT CODES ========== 01: Unknown or wrong parameter. 02: Invalid number 03: Minimum is 1. 04: Number is greater than max number. 99: User interrupt. SEE ALSO ======== **install-scripts**(1)