Re: shell script

José Eloi de Carvalho Júnior <[email protected]>
Newsgroups gmane.org.user-groups.linux.parana
Message-ID <[email protected]>
  Exato:
 echo -n  "Digite o Caminho:"  

 Vai te ajudar, acredito que vc ainda vai entrar com alguma variável,
então pode também fazer:
 echo -n "Digite nome":
 read  NOME

 E quando precisar somente chamar através de $NOME o valor da variável
lida e armazenada..


 Bom trabalho

 Eloi

Em 07/05/05, Fernando M. Roxo da Motta<[email protected]> escreveu:
>  On Sat, May 07, 2005 at 08:46:32PM -0300, Tiago Z.C wrote:
>  > pessoal, como executar a seguinte linha de num shell
>  > script
>  > 
>  > echo "digite o caminho:"
>  > 
>  > para q após escrito na tela, ele não quebre a linha, e
>  > permita a escrita logo após os : (2 pontos)
>  > 
>  
>  $ man bash
>  BASH(1)                                               
> BASH(1)
>  
>  NAME
>      bash - GNU Bourne-Again SHell
>  
>  SYNOPSIS
>      bash [options] [file]
>  
>  ==========================8<----------------------------
>  
>      echo [-neE] [arg ...]
>          Output the args, separated by spaces,  followed  by  a newline.
>          The return status is always 0.  If -n is specified, the trailing
>          newline is suppressed.  If the -e option is  given, interpreta-
>          tion  of  the following backslash-escaped characters is enabled.
>  .....  Segue no manual .....  ;))
>  
>  
>  
>    Roxo
>  
>  --
>  ---------------- Non luctari, ludare -------------------+ WYSIWYG Editor ?
>  Fernando M. Roxo da Motta <[email protected]>               |  VI !!
>  Except where explicitly stated I speak on my own behalf.| I see text,
>        ( Usuário Linux registrado #39505 )               | I get text !
>  
>  
>  
>  
>  Yahoo! Grupos, um serviço oferecido por: 
>  
>  
>  
>  
>  ________________________________
>  Links do Yahoo! Grupos
>  
>  
> Para visitar o site do seu grupo na web, acesse:
> http://br.groups.yahoo.com/group/linux-pr/
>   
> Para sair deste grupo, envie um e-mail para:
> linux-pr-unsubscribe-EYaqaC9dFX8MqA7zqLjoiV/I71DsQ//[email protected]
>   
> O uso que você faz do Yahoo! Grupos está sujeito aos Termos do Serviço do
> Yahoo!.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.