How to use printf to convert hex to dec, to align to the left and ask fix. width at one time?
Is it possible in bash one time to make several actions on a number?
1. hex to dec
2. align left
3. ask fix. width
Separately all the rules. But how together?
printf '%#d %#d\n' 0xff 0xff
As we add %-5s?
asked September 26th 19 at 11:35
printf '%-5d %-5d\n' 0xff 0xff
Find more questions by tags bashLinuxCommand lineSystem administration