about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-05-08 10:30:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-05-08 10:30:45 +0000
commit78b02d9c036f6b0e0ec7896729a090ec7ccc7a5f (patch)
treebbba018cb7d52a3f7ea8dd3bcb6832f06be59132 /README
parent9d071829ecbcb34128c34d4b2855342f81f1dd48 (diff)
downloadzsh-78b02d9c036f6b0e0ec7896729a090ec7ccc7a5f.tar.gz
zsh-78b02d9c036f6b0e0ec7896729a090ec7ccc7a5f.tar.xz
zsh-78b02d9c036f6b0e0ec7896729a090ec7ccc7a5f.zip
18512: fix 18508 properly this time.
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 0c4929127..53e50c4f3 100644
--- a/README
+++ b/README
@@ -39,6 +39,15 @@ The `=prog' facility for expanding command paths (provided the EQUALS
 option is enabled, as it is by default) no longer expands aliases.  It was
 felt this feature was underused and confusing.
 
+In 4.0, a literal `/' was quoted in the `src' text of a substitution of the
+form `${foo/src/rep}' or ${foo//src/rep} with two backslashes.  This was
+documented, but inconsistent with normal quoting conventions and poorly
+implemented.  The `/' now requires only one backslash to quote it whether
+or not the expression occurs in double quotes.  For example:
+  % foo=word/bird
+  % print ${foo/\//-} "${foo/\//+}"
+  word-bird word+bird
+
 Documentation
 -------------