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:
$#is the number of args passed
%<n>dis a printf format specifier that prints an integer with up to n leading spaces
$@is the list of all args passed
- The format specifier is reused for each member of