Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Command != command ???
- X-seq: zsh-users 9153
- From: Philippe Troin <phil@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Command != command ???
- Date: 24 Jul 2005 21:15:39 -0700
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <1050725035446.ZM27009@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050724.074251.74755659.Meino.Cramer@xxxxxx> <87r7dnsvjn.fsf@xxxxxxxxxxxxxxxx> <20050725.050633.74748820.Meino.Cramer@xxxxxx> <87sly3mug9.fsf@xxxxxxxxxxxxxxxx> <1050725035446.ZM27009@xxxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> On Jul 24, 8:32pm, Philippe Troin wrote:
> }
> } Extended_glob is not necessary for **.
>
> Note that ** is the same as *. Only **/ is special -- the slash is
> a necessary part of the token.
>
> } Yet, the manual states (FILENAME GENERATION > Recursive Globbing):
> }
> } As a shorthand, `**/' is equivalent to `(*/)#'; note that
> } this therefore matches files in the current directory as
> } well as subdirectories.
> }
> } And earlier on (FILENAME GENERATION > Glob Operators):
> }
> } x# (Requires EXTENDED_GLOB to be set.) Matches zero
> } or more occurrences of the pattern x.
> }
> } Should we fix the manual?
>
> The first bit that you quoted is talking about semantics. The second
> excerpt is talking about syntax. There is nothing to fix; "equivalent
> to" does not mean "may always be typographically replaced by".
Fair enough.
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author