summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-12-18 09:49:04 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-12-18 09:49:04 +0000
commit976cb71d6f0717d35c75d9082deea255de35d0f1 (patch)
tree59671b2123acc7d2d98c10df2498ab8ffa646c3e
parent0414a4fd70dc85d5df91b20a60f16c106e15b5f6 (diff)
downloadzsh-976cb71d6f0717d35c75d9082deea255de35d0f1.tar.gz
zsh-976cb71d6f0717d35c75d9082deea255de35d0f1.zip
Richard Hartmann: 26155: quote use of . for a command in text
-rw-r--r--ChangeLog6
-rw-r--r--Doc/Zsh/builtins.yo4
-rw-r--r--Doc/Zsh/mod_parameter.yo4
-rw-r--r--Doc/Zsh/options.yo2
4 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bb201572..5b65bf7e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-18 Peter Stephenson <pws@csr.com>
+
+ * Richard Hartmann: 26155: Doc/Zsh/builtins.yo,
+ Doc/Zsh/mod_parameter.yo, Doc/Zsh/options.yo: quote use of `.'
+ as a command in text.
+
2008-12-16 Clint Adams <clint@zsh.org>
* 26141: Functions/Zle/edit-command-line: word-split
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 8317c9547..d4d2a4c9c 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1130,7 +1130,7 @@ alias(rehash)(hash -r)
findex(return)
cindex(functions, returning from)
item(tt(return) [ var(n) ])(
-Causes a shell function or tt(.) script to return to
+Causes a shell function or `tt(.)' script to return to
the invoking script with the return status specified by var(n). If var(n)
is omitted, the return status is that of the last command
executed.
@@ -1237,7 +1237,7 @@ shifted instead of the positional parameters.
)
findex(source)
item(tt(source) var(file) [ var(arg) ... ])(
-Same as tt(.), except that the current directory is always searched and
+Same as `tt(.)', except that the current directory is always searched and
is always searched first, before directories in tt($path).
)
module(stat)(zsh/stat)
diff --git a/Doc/Zsh/mod_parameter.yo b/Doc/Zsh/mod_parameter.yo
index 0f2c21252..d553070a8 100644
--- a/Doc/Zsh/mod_parameter.yo
+++ b/Doc/Zsh/mod_parameter.yo
@@ -186,7 +186,7 @@ function the line number is reported as zero.
The format of each element is var(filename)tt(:)var(lineno).
For functions autoloaded from a file in native zsh format, where only the
body of the function occurs in the file, or for files that have been
-executed by the tt(source) or tt(.) builtins, the trace information is
+executed by the tt(source) or `tt(.)' builtins, the trace information is
shown as var(filename)tt(:)var(0), since the entire file is the definition.
Most users will be interested in the information in the
@@ -205,6 +205,6 @@ This array contains the names and line numbers of the callers
corresponding to the functions currently being executed.
The format of each element is var(name)tt(:)var(lineno).
Callers are also shown for sourced files; the caller is the point
-where the tt(source) or tt(.) command was executed.
+where the tt(source) or `tt(.)' command was executed.
)
enditem()
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 053697022..4bd82f324 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -844,7 +844,7 @@ Thus if `tt(/usr/local/bin)' is in the user's path, and he or she types
(assuming it exists).
Commands explicitly beginning with `tt(/)', `tt(./)' or `tt(../)'
are not subject to the path search.
-This also applies to the tt(.) builtin.
+This also applies to the `tt(.)' builtin.
Note that subdirectories of the current directory are always searched for
executables specified in this form. This takes place before any search