shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RES: [shell-script] Duvida sobre o seq


From: Felipe Kellermann
Subject: Re: RES: [shell-script] Duvida sobre o seq
Date: Tue, 26 Apr 2005 20:55:40 -0300 (BRT)
User-agent: Pine <http://www.washington.edu/pine/>

On Tue, 26 Apr 2005 10:31am  -0300, Julio Cezar Neves - DATAPREVRJ wrote:

> de todos os arquivos do seu diretório corrente. Para qua isso não aconteça,
> coloque uma contrabarra (\) antes de cada asterisco.
> 

Qual asterisco?
Todos estao entre "", nao podem ser expandidos:


> | for OP in 'seq 1 10' ; do
> |         echo -e "$1 + $OP = $[ $1 + $OP ] \t $1 - $OP = $[ $1 - $OP ]"
> | done
> | 
> | echo
> | 
> | for OP in 1 2 3 4 5 6 7 8 9 10 ; do
> |         echo -e "$1 * $OP = $[ $1 * $OP ] \t  $1 / $OP = $[ 
> | $1 / $OP ]"
> | done

-- 
Felipe Kellermann


reply via email to

[Prev in Thread] Current Thread [Next in Thread]