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

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

Re: [shell-script] Procurar uma string no nome do arquivo


From: Felipe Kellermann
Subject: Re: [shell-script] Procurar uma string no nome do arquivo
Date: Fri, 22 Apr 2005 22:30:10 -0300 (BRST)
User-agent: Pine <http://www.washington.edu/pine/>

On Fri, 22 Apr 2005 6:18pm  -0000, Henrique Silva wrote:

> Gostaria de pegar o nome do arquivo que possuisse a string teste e 
> jogar numa variável. No caso o arquivo eeee.teste

$ v=$(printf *teste*)

-- 
Felipe Kellermann


reply via email to

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