2000-05-27 19:03:47 +00:00
|
|
|
--- Doc/zsh.texi.orig Mon May 8 18:18:06 2000
|
|
|
|
+++ Doc/zsh.texi Mon May 15 18:50:31 2000
|
1999-08-06 11:59:41 +00:00
|
|
|
@@ -7,6 +7,10 @@
|
|
|
|
@end iftex
|
1998-12-24 08:01:26 +00:00
|
|
|
@setfilename zsh.info
|
|
|
|
@settitle zsh
|
|
|
|
+@dircategory Shells
|
|
|
|
+@direntry
|
|
|
|
+* Zsh: (zsh). The Z shell.
|
|
|
|
+@end direntry
|
|
|
|
@c %**end of header
|
1997-06-16 11:49:17 +00:00
|
|
|
|
1998-12-24 08:01:26 +00:00
|
|
|
@ifinfo
|
2000-04-29 15:00:44 +00:00
|
|
|
@@ -1025,14 +1029,14 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
string by using the `@t{\'}' escape.
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
-All characters enclosed between a pair of single quotes (@t{@value{dsq}}) that
|
|
|
|
+All characters enclosed between a pair of single quotes (@t{'}@t{'}) that
|
|
|
|
is not preceded by a `@t{$}' are quoted. A single quote cannot appear
|
|
|
|
within single quotes unless the option @t{RC_QUOTES} is set, in which case
|
|
|
|
a pair of single quotes are turned into a single quote. For example,
|
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-print @value{dsq}@value{dsq}
|
|
|
|
+print @t{''''}
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -2571,7 +2575,7 @@
|
|
|
|
A history expansion begins with the first character of the @t{histchars}
|
|
|
|
parameter, which is `@t{!}' by default, and may occur anywhere on the
|
|
|
|
command line; history expansions do not nest. The `@t{!}' can be escaped
|
|
|
|
-with `@t{\}' or can be enclosed between a pair of single quotes (@t{@value{dsq}})
|
|
|
|
+with `@t{\}' or can be enclosed between a pair of single quotes (@t{'}@t{'})
|
|
|
|
to suppress its special meaning. Double quotes will @emph{not} work for
|
|
|
|
this. Following this history character is an optional event designator
|
|
|
|
(@ref{Event Designators}) and then an optional word
|
|
|
|
@@ -6137,7 +6141,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
@example
|
|
|
|
unsetopt localtraps
|
|
|
|
trap - INT
|
|
|
|
-fn() @{ setopt localtraps; trap @value{dsq} INT; sleep 3; @}
|
|
|
|
+fn() @{ setopt localtraps; trap '' INT; sleep 3; @}
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -6358,7 +6362,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
@cindex rc, quoting style
|
|
|
|
@cindex quoting style, rc
|
|
|
|
@item @t{RC_QUOTES}
|
|
|
|
-Allow the character sequence `@t{@value{dsq}}' to signify a single quote
|
|
|
|
+Allow the character sequence `@t{'}@t{'}' to signify a single quote
|
|
|
|
within singly quoted strings.
|
|
|
|
|
|
|
|
@pindex RCS
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -9373,7 +9377,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
@item @t{quote-line} (ESC-') (unbound) (unbound)
|
|
|
|
Quote the current line; that is, put a `@t{'}' character at the
|
|
|
|
beginning and the end, and convert all `@t{'}' characters
|
|
|
|
-to `@t{'\@value{dsq}}'.
|
|
|
|
+to `@t{'\}@t{'}@t{'}'.
|
|
|
|
|
|
|
|
@tindex quote-region
|
|
|
|
@item @t{quote-region} (ESC-") (unbound) (unbound)
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -15230,7 +15234,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-compctl -D -f + -H 0 @value{dsq}
|
|
|
|
+compctl -D -f + -H 0 ''
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -15318,7 +15322,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
|
|
|
|
@noindent
|
|
|
|
@example
|
|
|
|
-compctl -x 'r[-exec,;]' -l @value{dsq} -- find
|
|
|
|
+compctl -x 'r[-exec,;]' -l '' -- find
|
|
|
|
@end example
|
|
|
|
|
|
|
|
@noindent
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -16469,7 +16473,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
paranoid behaviour, intended to avoid common security problems involving
|
|
|
|
a root-run @t{rm} being tricked into removing files other than the ones
|
|
|
|
intended. It will refuse to follow symbolic links, so that (for example)
|
|
|
|
-``@t{rm /tmp/foo/passwd}@value{dsq} can't accidentally remove @t{/etc/passwd}
|
|
|
|
+``@t{rm /tmp/foo/passwd}'' can't accidentally remove @t{/etc/passwd}
|
|
|
|
if @t{/tmp/foo} happens to be a link to @t{/etc}. It will also check
|
|
|
|
where it is after leaving directories, so that a recursive removal of
|
|
|
|
a deep directory tree can't end up recursively removing @t{/usr} as
|
2000-05-27 19:03:47 +00:00
|
|
|
@@ -16868,7 +16872,7 @@
|
2000-02-04 16:46:47 +00:00
|
|
|
@item @t{link}
|
|
|
|
If the file is a link and the @t{-L} option is in
|
|
|
|
effect, this contains the name of the file linked to, otherwise
|
|
|
|
-it is empty. Note that if this element is selected (``@t{stat +link}@value{dsq})
|
|
|
|
+it is empty. Note that if this element is selected (``@t{stat +link}'')
|
|
|
|
then the @t{-L} option is automatically used.
|
|
|
|
|
|
|
|
@end table
|