I'm trying to loop through all the parameters given to a script.  My script is 
executed like so:  ./app Matthew Timmy Daniel

        for i in $#
                do echo Loop iteration - $i
        done

This loop just loops once and prints:   Loop iteration - 3
Any ideas what I'm doing wrong?

Thanks in Advance

-- 
  Matthew Metnetsky
  [EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to