Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _man completion update for Solaris
- X-seq: zsh-workers 39197
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Danek Duvall <duvall@xxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: _man completion update for Solaris
- Date: Tue, 6 Sep 2016 22:45:08 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Y2tSPE9T+SM5RZD3 Cbo53jPmdAg=; b=0izTtVa2DqOdnOpDiaAwjvXkCAvdaNqDTv5xc+tbNmE6p3SV pP7BM3XytQny+b3lzoRJ4b/jZehvFf2vKT3AH5H0ceWJOodY1745CedTcgLGk50j kqEVUxqL5IOO+fFV+uTFX88Q1C6XxDEl2S+ko9fnERvkdFk4226SvnRBmcQ=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=Y2tSPE9T+SM5RZD 3Cbo53jPmdAg=; b=qhq/pXFvtvtHF75Yxsz1v4u6vVc7IaesSKfyh/SyBhYx+Qu kS+K51KIMm3hYzVO1vnMJQq6wbYELjy9PmgYdg++8VwfKUH4rD4UMyxwZxIcuN0K ROAZLiDpACVWHERyXxEDuD6rhkXIfOAUdKAQlKTc8Nv7gHfgEx+0qut5vxK4=
- In-reply-to: <20160906180614.GB23101@lorien.comfychair.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160906180614.GB23101@lorien.comfychair.org>
Danek Duvall wrote on Tue, Sep 06, 2016 at 11:06:14 -0700:
> After finally looking at Daniel's _man changes, I saw that there were a
> couple of small (pre-existing) issues on Solaris.
Thanks for the review.
> Namely: the -s option can take a comma-separated list of sections; and
> the man-index directory gets thrown into the mix when it shouldn't.
> This patch takes care of those two things.
Thanks. The patch looks good to me. I'll push it tomorrow (not right
now to give others a chance to respond).
> I don't know if the comma/colon section separation should just be generic
> -- it's safe to do on Solaris, since although we don't recognize the
> separator, we don't have any sections that have colons in them -- but I
> don't know if it's compatible with the third if clause there.
"Third if clause" refers to what? If you mean the 'else' branch just
below the context of the first hunk, then on my system «man 7,8 foo»
looks for a section literally called "man7,8" whereas the same with -S
looks in the "man7" and "man8" sections, so at least on my system the
'else" branch shouldn't s/,/|/. (My system runs Debian stable.)
> I also didn't protect the /man-index/ removal with an OSTYPE check because
> that seems safe enough on any OS, but there may be no reason not to do
> that, either.
Sure.
Thanks for the patch,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author