Quote:
typeset -i b
typeset -Z7 bOut
b=123
bOut=$b
echo "b = "$b" bOut = "$bOut
this gives the following error
./a: line 2: typeset: -Z: invalid option
typeset: usage: typeset [-afFirtx] [-p] name[=value] ...
b = 123 bOut = 123
I am using AIX... Is that an issue..
And if we come to the oraginal post
i think
a=F07812
b=0001662
c=20070627
d=012300
e=
f=X
he has show as a b and c but if u just want to do like this...
F07812
000166320070627012300 X to
F07812
000166220070627012300 X
add one the number in BOLD feild?? how can we do that...
that is ... to the digits form 7 to 13 fields??