From 78b02d9c036f6b0e0ec7896729a090ec7ccc7a5f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 8 May 2003 10:30:45 +0000 Subject: 18512: fix 18508 properly this time. --- README | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README') 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 ------------- -- cgit 1.4.1