Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
printf %$#d $@
Input list given at the command line.
Not much to explain here. Simply uses built-in printf facilities to do the necessary padding, based off the number of passed args.