#!/bin/bash N=0 for i in $@ do CADENA[N]=$i let N++ done for ((N; N>=0; N--)){ printf "%s " ${CADENA[N]}; } echo