31966: skip introductory paragraphs when processing "man zshbuiltins".

This commit is contained in:
Bart Schaefer 2013-11-12 22:38:16 -08:00
parent 590dd6c954
commit 48539541f6
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2013-11-12 Bart Schaefer <schaefer@zsh.org>
* 31966: Util/helpfiles: skip introductory paragraphs processing
"man zshbuiltins" by assuming that all real command names start
with a lower case letter. Check "ztcp" file as a guess that all
builtins were processed.
2013-11-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Martin Vaeth: 31959: .gitignore,

View file

@ -123,7 +123,7 @@ $print = 0;
sub namesub {
local($cmd) = shift;
if ($cmd =~ /^\w+$/) {
if ($cmd =~ /^\w*$/ && lc($cmd) eq $cmd) {
$cmd;
} elsif ($cmd eq '.') {
'dot';
@ -261,6 +261,6 @@ foreach $file (<*>) {
close(LINKFILE) unless($linkfile eq '');
# Make one sanity check
&Die('not all files were properly generated') unless(-r 'zmodload');
&Die('not all files were properly generated') unless(-r 'ztcp');
__END__