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

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

Re: [shell-script] Testar primeiro caracter de uma string


From: Sergio de Oliveira
Subject: Re: [shell-script] Testar primeiro caracter de uma string
Date: Wed, 24 Mar 2010 03:33:05 -0700 (PDT)

find -type d -name "g*"

--- Em qua, 24/3/10, Reinaldo de Carvalho <address@hidden> escreveu:


De: Reinaldo de Carvalho <address@hidden>
Assunto: Re: [shell-script] Testar primeiro caracter de uma string
Para: address@hidden
Data: Quarta-feira, 24 de Março de 2010, 1:12


  



2010/3/23 gleissonmb <gleissonmb@gmail. com>:
>
> Objetivo: Listar todos arquivos que iniciem com a letra "g".
>
> Ex:
> Estou listando os arquivos assim:
> # for i in `cat< <(ls)` /home/
>

ls g*

-- 
Reinaldo de Carvalho
http://korreio. sf.net
http://python- cyrus.sf. net

"Don't try to adapt the software to the way you work, but rather
yourself to the way the software works" (myself)








      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

[As partes desta mensagem que não continham texto foram removidas]



reply via email to

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