I am currently looking for an alternative to the following code that works a little less 'wonky'.
printf "Please enter the ticket number:\t"; read vTICKET; vTICKET=$(printf %04d "$vTICKET"); printf "$vTICKET\n";
If I input
072 as the input, this is what I see
Please enter the ticket number: 072 0058
I am wondering if there is another way I can be a little more forgiving on the input or with the
printf seemed like the cool way to add leading zeroes without actually testing string length.