Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Command != command ???
- X-seq: zsh-users 9151
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Command != command ???
- Date: Mon, 25 Jul 2005 03:54:46 +0000
- In-reply-to: <87sly3mug9.fsf@xxxxxxxxxxxxxxxx>
- 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>
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".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author