Re: GREP in Akua's "the entries in"
Re: GREP in Akua's "the entries in"
- Subject: Re: GREP in Akua's "the entries in"
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 06 Jul 2001 01:27:35 -0700
On 7/5/01 9:54 PM, "Marc K. Myers" <email@hidden> wrote:
>
Godot wrote:
>
>
>
>> I'm trying to figure out how to format the search string in Akua Sweets'
>
>> "the entries in" command to select all files with an asterisk in their
>
>> names. From the dictionary/documentation, it looked like it should be
>
>> "*/**", wildcard-real asterisk-wild card. That doesn't do it. Does
>
>> anyone know what would? TIA.
>
>
>
> The quick answer: "***"
>
>
>
> The long answer: Although that would seem somewhat logical, the '*'
command
>
> already takes the next character as a "literal", making the "/"
superfluous.
>
>
>
> You are saying any characters until an asterisk and then any characters
>
> until end-of-line.
>
>
>
> Thus things like "*[abc]*" don't work. It is a low-power-high-speed-68K
>
> assembly match from 1989 :)
>
>
>
> Cheers,
>
> Greg
>
>
Using "***" picks up entries with names containing an asterisk unless
>
the asterisk happens to be in the leading position. I can pick those us
>
with "/**", but I thought that I should have gotten everything with the
>
first search string, as the leading asterisk in the search string
>
represents "zero or more characters" in front of the specific search
>
characters.
>
Greg,
"***" certainly works to pick up strings starting with * in 'collect
lines'. I've just confirmed that here. But Mark is saying that it's not
working properly in 'the entries in'. It may be a bug?
--
Paul Berkowitz