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

PATCH: 3.1.5-pws-16: Minor doc fixes



These are things I stumbled across while comparing the 3.0.x doc to -pws-15
and testing a few behaviors.

Index: Doc/Zsh/expn.yo
===================================================================
--- expn.yo	1999/03/29 21:37:07	1.1.1.12
+++ expn.yo	1999/04/25 05:02:11
@@ -361,6 +361,7 @@
 item(tt(${)var(name)tt(:?)var(word)tt(}))(
 If var(name) is set and is non-null, then substitute
 its value; otherwise, print var(word) and exit from the shell.
+Interactive shells do not exit.
 If var(word) is omitted, then a standard message is printed.
 )
 item(tt(${)var(name)tt(:PLUS())var(word)tt(}))(
@@ -596,11 +597,12 @@
 required and placed in a field var(expr) characters wide.  The space
 to the left will be filled with var(string1) (concatenated as often
 as needed) or spaces if var(string1) is not given.  If both
-var(string1) and var(string2) are given, this string will be placed
-exactly once directly to the left of the resulting word.
+var(string1) and var(string2) are given, this string is inserted
+once directly to the left of each word, before padding.
 )
 item(tt(r:)var(expr)tt(::)var(string1)tt(::)var(string2)tt(:))(
-As tt(l), but pad the words on the right.
+As tt(l), but pad the words on the right and insert var(string2)
+on the right.
 )
 item(tt(j:)var(string)tt(:))(
 Join the words of arrays together using var(string) as a separator.

Index: Doc/Zsh/options.yo
===================================================================
--- options.yo	1999/03/29 21:37:11	1.1.1.7
+++ options.yo	1999/04/25 05:30:39
@@ -670,7 +670,7 @@
 tt(unset).
 )
 pindex(PRINT_EIGHT_BIT)
-cindex(exit status, printing)
+cindex(eight bit characters, printing)
 item(tt(PRINT_EIGHT_BIT))(
 Print eight bit characters literally in completion lists, etc.
 This option is not necessary if your system correctly returns the

Index: Doc/Zsh/redirect.yo
===================================================================
--- redirect.yo	1998/12/18 16:38:59	1.1.1.3
+++ redirect.yo	1999/04/25 02:16:07
@@ -180,4 +180,4 @@
 
 nofill(tt(< file))
 
-prints the contents of tt(file).
+copies the contents of tt(file) to the standard output.

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



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