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

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

Re: [shell-script] Programa em C


From: Thobias Salazar Trevisan
Subject: Re: [shell-script] Programa em C
Date: Fri, 22 Feb 2002 13:29:58 -0300 (BRT)

        var=`Programa_em_C`; echo $var

        []´s
Thobias.

On Fri, 22 Feb 2002 address@hidden wrote:

> E dae moçada...
> É o seguinte: fiz um programa em C que retorna uma string...
> Rodei ele no shell, e como faco para uma variavel receber o retorno desse
> programa em C??
> Tentei algo do tipo:
> [$root]: ./Programa_em_C && var="$?" echo $var
> so=ó que nao funcionou corretamente... o variavel $var recebeu 0 e nao a
> string de retorno do programa...
> Alguem tem alguma ideia??
> 
> Grato
> 
> João
> 
> 
> 
> ------------------------------------------
> Use o melhor sistema de busca da Internet
> Radar UOL - http://www.radaruol.com.br
> 
> 
> 
> 
> Sair da lista: address@hidden
> Banco Dados:   http://www.egroups.com/group/shell-script 
> 
> Seu uso do Yahoo! Grupos é sujeito às regras descritas em: 
> http://br.yahoo.com/info/utos.html 
> 
> 

-- 
Terrorists can only take my life. Only my government can take my freedom.
#Lhl

----
Thobias Salazar Trevisan <address@hidden>
Home Page - http://www.cos.ufrj.br/~thobias
Parallel Computing Laboratory / COPPE
Federal University of Rio de Janeiro
Brazil
__________________________
|                        |
| Against - HTML Mail    |
|                        |
--------------------------

-------------------------------------------
                   http://thefreeworld.net
Take back the Net! http://www.anti-dmca.org
-------------------------------------------




reply via email to

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