How to lead space instead of ZERO in the output:
Here I am using below code:
Quote:
#!/bin/ksh
a=$1
typeset -Z5 a
echo $a
exit
Here,
Input a =123
Output shows a =00123 instead of I want to display a =[SPACE][SPACE]123. here [SPACE] = just one space
I tried
and
and those are not working. Help please!