a=$# echo "number of arguments are: "$a x=$* c=$a res='' while [ 1 -le $c ] do c=`expr $c - 1` shift $c res=$res' '$1 set $x done echo arguments in reverse order $res
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter