On Mon, 2006-08-14 at 07:56 +0100, ANTON CHANG wrote:
> --- riza x <[EMAIL PROTECTED]> wrote:
> 

terima kasih, 
hasil akhir dapat di lihat di:
http://rizahnst.afraid.org/2006/08/14/more-on-variables-array/

> 
> #!/bin/bash
> #
> # display_it.sh
> # This script will display... err..well, im not finish
> # it yet :)
> 
> declare -a ARGM
> declare -i i
> declare -i n
> echo "This script you are using is: $0" | sed
> 's/.\///'
> echo "You passed $# argument(s)."
> i=0
> n=$#
> while [ $i -lt $n ]; do
>          echo $1
>          ARGM[$i]=$1
>          shift
>          i=$i+1
> done
> 
> echo "Your argument are : ${ARGM[*]}"
> 
> Sorry nih, gw juga masih newbie jadi sintaks bash nya
> masih gak bingung tapi code yang diatas bisa dipake kok.
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com 
> 

salam
-----

Do not use if printed inner seal is broken or missing. 

http://rizahnst.afraid.org/


-- 
Berhenti langganan: [EMAIL PROTECTED]
Arsip dan info: http://linux.or.id/milis

Kirim email ke