Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Doc errors (Re: Enable/disable (was Re: Enhanced shell))



On Jul 24, 10:23am, Peter Stephenson wrote:
} Subject: Re: Enable/disable (was Re: Enhanced shell)
}
} "Nadav Har'El" wrote:
} > On Mon, Jul 23, 2001, Bart Schaefer wrote about "Enable/disable (was Re: Enha
} > nced shell)":
} > > } These are useful for restricted-shell mode, when you sometimes want to
} > > } disable builtins (e.g., the "read" builtin allows the restricted user to
} > > } read files that they shouldn't).
} > > 
} > > As of 4.0.1, `builtin read' will run `read' even after `disable read'.
} > > Maybe we need to rethink that.
} 
} I missed seeing the original of this.  Are you sure?  It doesn't in 4.1.0

Urk.  I was sure I saw that patch committed.

The appended fixes one other typo introduced by my last doc commit.

diff -x CVS -ru zsh-forge/current/Doc/Zsh/builtins.yo zsh-4.0/Doc/Zsh/builtins.yo
--- zsh-forge/current/Doc/Zsh/builtins.yo	Tue Jul 10 01:52:02 2001
+++ zsh-4.0/Doc/Zsh/builtins.yo	Tue Jul 24 05:05:33 2001
@@ -130,8 +130,7 @@
 )
 findex(builtin)
 item(tt(builtin) var(name) [ var(args) ... ])(
-Executes the builtin var(name), with the given var(args), even if that
-builtin has been disabled (see tt(disable)).
+Executes the builtin var(name), with the given var(args).
 )
 alias(bye)(exit)
 module(cap)(zsh/cap)
diff -x CVS -ru zsh-forge/current/Doc/Zsh/grammar.yo zsh-4.0/Doc/Zsh/grammar.yo
--- zsh-forge/current/Doc/Zsh/grammar.yo	Tue Jul 10 01:52:02 2001
+++ zsh-4.0/Doc/Zsh/grammar.yo	Sat Jul 14 22:19:50 2001
@@ -398,7 +398,7 @@
 entirely quoted.  A literal `tt(')' character can be included in the
 string by using the `tt(\')' escape.
 
-@pindex(RC_QUOTES, use of)
+pindex(RC_QUOTES, use of)
 All characters enclosed between a pair of single quotes (tt('')) that
 is not preceded by a `tt($)' are quoted.  A single quote cannot appear
 within single quotes unless the option tt(RC_QUOTES) is set, in which case

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author