From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: PATCH: _man for Pyramid broken - and question about backslash in ${.../...}
Date: Tue, 30 May 2000 16:59:19 +0400 [thread overview]
Message-ID: <000601bfca36$de648e80$21c9ca95@mow.siemens.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
The change in `%' treatment broke _man completion for Pyramid. The fix
is triovial (attached because of line length), but I have different
question:
what is the "canonical" treatment of backslashes in pattern? I would
expected, that the original form should work:
$manpath/\\%L/...} - this gets passed as `\%L' pattern that is finally
the same as just '%L'? Obviously, not.
A line in manual, describing what happens with backslashes, is welcome
:-)
-andrej
Have a nice DOS!
B >>
[-- Attachment #2: _man.patch --]
[-- Type: application/octet-stream, Size: 495 bytes --]
--- Completion/User/_man Wed Apr 12 21:12:55 2000
+++ /tools/share/zsh/3.1.7/functions/User/_man Tue May 30 16:50:19 2000
@@ -27,7 +27,7 @@
# `sman' is the SGML manual directory for Solaris 7.
# 1M is system administrator commands on SVR4
-mrd=(${^manpath/\\%L/${LANG:-En_US.ASCII}}/mandb(N))
+mrd=(${^manpath/\%L/${LANG:-En_US.ASCII}}/mandb(N))
if [[ $words[2] = (<->*|1M|l|n) ]]; then
rep=(
$manpath/(sman|man|cat)${words[2]}/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t) )
reply other threads:[~2000-05-30 12:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601bfca36$de648e80$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).