[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Testar primeiro caracter de uma string
From: |
Reinaldo de Carvalho |
Subject: |
Re: [shell-script] Testar primeiro caracter de uma string |
Date: |
Wed, 24 Mar 2010 01:12:32 -0300 |
2010/3/23 gleissonmb <address@hidden>:
>
> 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)