[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Procurar valor em uma lista
From: |
Gentil de Bortoli Júnior |
Subject: |
Re: [shell-script] Procurar valor em uma lista |
Date: |
Thu, 17 Feb 2005 09:56:38 -0200 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
Miranda, é o -w.
-w, --word-regexp
Select only those lines containing matches that form whole
words. The test is that the matching substring must either be at the
beginning of the line, or preceded by a non-word constituent
character. Similarly, it must be either at the end of the line or
followed by a non-word constituent character.
Wordconstituent characters are letters, digits, and the underscore.
[]s
Gentil.
Miranda wrote:
É que para a soluçao apresentada
serão frutas conhecidas , por exemplo
caxi
rango
mao
Qual opçao deve ser usada ?