|
From: | moysespr |
Subject: | Re: [shell-script] Substituição de variaveis |
Date: | Tue, 30 Aug 2005 13:55:55 -0700 (PDT) |
Seria isso? --- soma(){ echo exec fun $FUNCNAME;eval ${1}_total=$[2+3];} show(){ echo "grep set$1: `set|grep ^credito_total`";} unset credito_total show 1 soma credito show 2 --- ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
[Prev in Thread] | Current Thread | [Next in Thread] |